/* Symptom Page Styles */

/* Image Placeholder Styles */
.image-placeholder-section {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

.placeholder-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.placeholder-container:hover {
    border-color: rgba(236, 72, 153, 0.5);
    background: rgba(236, 72, 153, 0.05);
}

.placeholder-content {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.placeholder-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
    display: block;
}

.placeholder-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.placeholder-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Hero Content Layout */
.hero-content-layout {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    max-width: 1800px;
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
}

/* Radar Chart Styles */
.radar-chart-section {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    min-width: 0;
}

/* Curve Chart Styles */
.curve-chart-section {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
}

.curve-header {
    text-align: center;
    margin-bottom: 1rem;
}

.curve-header h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.curve-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.vibe-selector {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.vibe-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.vibe-btn.active {
    background: linear-gradient(135deg, #ff6b9d, #c471f5);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
    transform: translateY(-2px);
}

.vibe-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.curve-chart-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.chart-wrapper {
    position: relative;
    height: 400px;
    margin-bottom: 20px;
}

.curve-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.curve-stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.curve-stat-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

.curve-stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.curve-stat-value {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
}

.chart-container {
    position: relative;
    height: 400px;
    width: 100%;
    max-width: 700px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: visible;
}

.controls {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    flex: 1;
    max-width: 400px;
}

.control-group {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.control-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.control-group:hover::before {
    left: 100%;
}

.control-group:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.control-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: white;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.slider::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
    transition: all 0.3s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.6);
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
}

.value-display {
    margin-top: 10px;
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary:hover {
    box-shadow: 0 12px 35px rgba(236, 72, 153, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

.status-bar {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.status-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
    text-align: center;
}

.status-emoji {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    text-align: center;
}

.quick-symptom-input {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.symptom-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.symptom-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.symptom-input:focus {
    outline: none;
    border-color: #ec4899;
    background: rgba(255, 255, 255, 0.15);
}

.add-symptom-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-symptom-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
}

/* Symptom Dashboard */
.symptom-dashboard {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.dashboard-header h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.date-display {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.symptom-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    color: white;
    font-size: 1rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Symptom Categories */
.symptom-categories {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.category-card h3 {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.symptom-count {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Active Symptoms */
.active-symptoms {
    padding: 4rem 0;
}

.symptoms-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.symptom-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.symptom-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.symptom-info h3 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.symptom-category {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.symptom-severity {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 150px;
}

.severity-bar {
    flex: 1;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.severity-fill {
    height: 100%;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.severity-number {
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 40px;
}

.symptom-actions {
    display: flex;
    gap: 0.5rem;
}

.severity-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.severity-btn:hover {
    transform: scale(1.1);
}

.remove-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ef4444;
    border: none;
    color: white;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-btn:hover {
    transform: scale(1.1);
    background: #dc2626;
}

/* Symptom Analysis */
.symptom-analysis {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.analysis-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.analysis-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.analysis-card h3 {
    color: #1a1a1a;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Trend Chart */
.trend-chart {
    display: flex;
    align-items: end;
    justify-content: space-between;
    height: 220px;
    gap: 0.8rem;
    padding: 1rem 0;
}

.chart-bar {
    flex: 1;
    border-radius: 6px 6px 0 0;
    position: relative;
    min-width: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    transition: all 0.3s ease;
}

.chart-bar:hover {
    transform: scale(1.05);
}

.bar-label {
    color: #444;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Trigger List */
.trigger-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.trigger-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    background: rgba(236, 72, 153, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(236, 72, 153, 0.15);
    transition: all 0.3s ease;
}

.trigger-item:hover {
    background: rgba(236, 72, 153, 0.12);
    transform: translateX(5px);
}

.trigger-name {
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.trigger-frequency {
    color: #ec4899;
    font-size: 1rem;
    font-weight: 700;
    background: rgba(236, 72, 153, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* Correlation List */
.correlation-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.correlation-item {
    padding: 1rem 1.2rem;
    background: rgba(139, 92, 246, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.15);
    transition: all 0.3s ease;
}

.correlation-item:hover {
    background: rgba(139, 92, 246, 0.12);
    transform: translateX(5px);
}

.correlation-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.symptom-pair {
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.correlation-strength {
    color: #8b5cf6;
    font-size: 0.9rem;
    font-weight: 700;
    background: rgba(139, 92, 246, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.correlation-bar {
    height: 8px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.correlation-fill {
    height: 100%;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* AI Insights */
.ai-insights {
    padding: 4rem 0;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.insight-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.insight-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.insight-header i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.insight-header h3 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.insight-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.insight-actions {
    display: flex;
    gap: 1rem;
}

.insight-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.insight-btn:first-child {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
}

.insight-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #666;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.insight-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.3);
}

/* Mobile Responsive for Symptom Page */
@media (max-width: 768px) {
    .hero-content-layout {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .radar-chart-section {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .chart-container {
        min-width: auto;
        height: 300px;
    }
    
    .curve-chart-container {
        height: 250px;
    }
    
    .curve-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .vibe-selector {
        gap: 8px;
    }
    
    .vibe-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .controls {
        max-width: none;
    }
    
    .input-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .symptom-input {
        width: 100%;
    }
    
    .add-symptom-btn {
        align-self: center;
    }
    
    .symptom-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .symptom-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .symptom-severity {
        width: 100%;
        justify-content: center;
    }
    
    .symptom-actions {
        justify-content: center;
    }
    
    .analysis-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .trend-chart {
        height: 150px;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .insight-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .symptom-dashboard {
        padding: 1.5rem;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .analysis-card {
        padding: 1.5rem;
    }
    
    .insight-card {
        padding: 1.5rem;
    }
    
    .trend-chart {
        height: 120px;
    }
    
    .chart-bar {
        min-width: 25px;
    }
    
    .bar-label {
        font-size: 0.7rem;
    }
} 