/* NutriCoach AI - Modern Styling */
:root {
    --primary-color: #10b981;
    --primary-dark: #059669;
    --secondary-color: #3b82f6;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --success-color: #10b981;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-sidebar: #f0fdf4;
    --bg-card: #ffffff;
    
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: var(--bg-sidebar);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    border-right: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
}

.nav-item:hover {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
}

.nav-item.active {
    background: var(--primary-color);
    color: white;
}

.nav-item i {
    font-size: 20px;
    width: 24px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.user-info {
    flex: 1;
}

.user-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.user-status {
    font-size: 12px;
    color: var(--text-secondary);
}

.btn-logout {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-logout:hover {
    background: var(--danger-color);
    color: white;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

.page {
    display: none;
    animation: fadeIn 0.3s;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 15px;
}

.btn-primary {
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-card.calories .stat-icon {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.stat-card.protein .stat-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
}

.stat-card.bmi .stat-icon {
    background: rgba(59, 130, 246, 0.1);
    color: var(--secondary-color);
}

.stat-card.meals .stat-icon {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-target {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-light);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Charts Section */
.charts-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.chart-card,
.meals-card {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.card-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.meals-list {
    max-height: 400px;
    overflow-y: auto;
}

.meal-item {
    padding: 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}

.meal-item:hover {
    background: rgba(16, 185, 129, 0.05);
    transform: translateX(4px);
}

.meal-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.meal-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

.meal-calories {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* Analysis Page */
.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.analysis-card {
    background: var(--bg-card);
    padding: 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.analysis-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 48px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: rgba(16, 185, 129, 0.02);
}

.upload-area i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.upload-area p {
    color: var(--text-secondary);
    font-size: 14px;
}

.upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.image-preview {
    margin: 20px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.image-preview.hidden {
    display: none;
}

.image-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.btn-analyze {
    width: 100%;
    padding: 14px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    margin-top: 16px;
}

.btn-analyze:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-analyze:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    opacity: 0.5;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Chat Card */
.chat-card {
    grid-column: 1 / -1;
}

.chat-container {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
}

.chat-messages {
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-message {
    display: flex;
    gap: 12px;
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-message.user .message-avatar {
    background: var(--secondary-color);
}

.message-content {
    flex: 1;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: white;
    box-shadow: var(--shadow-sm);
}

.message-content p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
}

.chat-input {
    display: flex;
    gap: 12px;
}

.chat-input input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.chat-input button {
    width: 48px;
    height: 48px;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.chat-input button:hover:not(:disabled) {
    background: var(--primary-dark);
}

.chat-input button:disabled {
    background: var(--text-light);
    cursor: not-allowed;
}

.chat-limit {
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* Schedule Page */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.recommendations-card,
.health-risks-card,
.progress-card {
    background: var(--bg-card);
    padding: 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.recommendations-list,
.health-risks-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.recommendation-item,
.health-risk-item {
    padding: 16px;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary-color);
    background: var(--bg-secondary);
}

.health-risk-item {
    border-left-color: var(--warning-color);
}

.health-risk-item.danger {
    border-left-color: var(--danger-color);
}

.recommendation-item h4,
.health-risk-item h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.recommendation-item p,
.health-risk-item p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.time-filter {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.time-btn {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.time-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.time-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Exercise Page */
.exercise-recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.exercise-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}

.exercise-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.exercise-thumbnail {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
}

.exercise-content {
    padding: 20px;
}

.exercise-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.exercise-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.exercise-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-secondary);
}

.exercise-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-exercise {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-exercise:hover {
    background: var(--primary-dark);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.3s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-secondary);
    border-radius: 50%;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--danger-color);
    color: white;
}

.modal-body {
    padding: 28px;
}

.modal-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.modal-tab-content {
    display: none;
}

.modal-tab-content.active {
    display: block;
}

.btn-submit {
    width: 100%;
    padding: 14px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-submit:hover {
    background: var(--primary-dark);
}

.camera-upload {
    margin-bottom: 20px;
}

.camera-upload input[type="file"] {
    display: none;
}

.camera-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s;
}

.camera-label:hover {
    border-color: var(--primary-color);
    background: rgba(16, 185, 129, 0.02);
}

.camera-label i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.camera-label span {
    color: var(--text-secondary);
    font-size: 14px;
}

.quick-image-preview {
    margin-bottom: 20px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.quick-image-preview img {
    width: 100%;
    height: auto;
    display: block;
}

/* Loading Overlay */
.loading-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
}

.loading-overlay.active {
    display: flex;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay p {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

.loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Analysis Results */
.analysis-results {
    background: var(--bg-card);
    padding: 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.analysis-results h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.nutrition-table {
    width: 100%;
    border-collapse: collapse;
}

.nutrition-table th,
.nutrition-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.nutrition-table th {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 13px;
    text-transform: uppercase;
}

.nutrition-table td {
    font-size: 15px;
    color: var(--text-primary);
}

.nutrition-table tr:last-child td {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 1200px) {
    .charts-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .page-header {
        flex-direction: column;
        gap: 16px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .analysis-grid,
    .schedule-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* === ADDITIONAL STYLES FOR NEW FEATURES === */

/* Progress Bars */
.stat-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.5s ease, background-color 0.3s ease;
    border-radius: 2px;
}

.stat-description {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

/* Alerts Section */
.alerts-section {
    margin: 20px 0;
    display: none;
}

.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 12px;
    font-size: 14px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border-left: 4px solid #f59e0b;
}

.alert-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border-left: 4px solid #3b82f6;
}

.alert i {
    font-size: 20px;
}

.alert span {
    flex: 1;
}

.alert-action {
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

.alert-action:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Chart Controls */
.chart-controls {
    display: flex;
    gap: 8px;
}

.chart-type-btn {
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    color: #3b82f6;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.chart-type-btn:hover {
    background: rgba(59, 130, 246, 0.2);
}

.chart-type-btn.active {
    background: #3b82f6;
    color: white;
}

/* Meal Summary */
.meal-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #6b7280;
}

.meal-summary span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meal-summary i {
    color: #3b82f6;
}

/* Meal Item với delete button */
.meal-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.2s;
}

.meal-item:hover {
    background: #f3f4f6;
    transform: translateX(4px);
}

.meal-info {
    flex: 1;
}

.meal-stats {
    display: flex;
    gap: 12px;
}

.meal-stats .stat {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-delete {
    padding: 8px;
    background: rgba(239, 68, 68, 0.1);
    border: none;
    border-radius: 8px;
    color: #ef4444;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s;
}

.meal-item:hover .btn-delete {
    opacity: 1;
}

.btn-delete:hover {
    background: #ef4444;
    color: white;
}

/* Chatbot Styles */
.chatbot-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 200px);
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.chat-welcome {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

.chat-welcome i {
    font-size: 48px;
    color: #3b82f6;
    margin-bottom: 16px;
}

.chat-welcome h3 {
    margin: 16px 0 8px 0;
    color: #111827;
}

.chat-message {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-message {
    justify-content: flex-end;
}

.assistant-message {
    justify-content: flex-start;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}

.message-content {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 16px;
    line-height: 1.5;
}

.user-message .message-content {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
}

.assistant-message .message-content {
    background: #f3f4f6;
    color: #111827;
}

.typing-dots {
    display: flex;
    gap: 4px;
    padding: 8px 0;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9ca3af;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

.chat-input-container {
    padding: 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
}

.chat-input-container input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 14px;
}

.chat-input-container button {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.chat-input-container button:hover {
    transform: scale(1.05);
}

.chat-limit-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    font-size: 13px;
    color: #3b82f6;
}

/* Meal Plan Styles */
.meal-plan-week {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.day-plan {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.day-plan h3 {
    margin: 0 0 16px 0;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px;
}

.meals-timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meal-time {
    display: flex;
    gap: 12px;
}

.meal-type-label {
    min-width: 80px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    padding-top: 4px;
}

.meal-suggestion {
    flex: 1;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 3px solid #3b82f6;
}

.meal-suggestion.empty {
    border-left-color: #d1d5db;
    color: #9ca3af;
    font-style: italic;
}

.meal-name {
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.meal-details {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #6b7280;
}

.meal-note {
    margin-top: 8px;
    padding: 8px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 6px;
    font-size: 12px;
    color: #3b82f6;
}

.day-summary {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #6b7280;
}

.day-summary span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Exercise Card Styles */
.exercise-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.exercise-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.exercise-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.exercise-header h3 {
    margin: 0;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px;
}

.exercise-difficulty {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.exercise-difficulty.easy {
    background: #d1fae5;
    color: #065f46;
}

.exercise-difficulty.moderate {
    background: #fef3c7;
    color: #92400e;
}

.exercise-difficulty.hard {
    background: #fee2e2;
    color: #991b1b;
}

.exercise-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 16px;
}

.exercise-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.exercise-stats .stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
}

.exercise-stats .stat i {
    color: #3b82f6;
}

.exercise-benefits {
    padding: 12px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 8px;
    margin-bottom: 16px;
}

.exercise-benefits strong {
    color: #3b82f6;
    font-size: 13px;
}

.exercise-benefits p {
    margin: 8px 0 0 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
}

.exercise-actions {
    display: flex;
    gap: 12px;
}

.btn-watch, .btn-start {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-watch {
    background: #fee2e2;
    color: #dc2626;
    text-decoration: none;
}

.btn-watch:hover {
    background: #fecaca;
    transform: translateY(-2px);
}

.btn-start {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
}

.btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-success {
    border-left: 4px solid #10b981;
}

.notification-success i {
    color: #10b981;
}

.notification-error {
    border-left: 4px solid #ef4444;
}

.notification-error i {
    color: #ef4444;
}

.notification-info {
    border-left: 4px solid #3b82f6;
}

.notification-info i {
    color: #3b82f6;
}

.notification-warning {
    border-left: 4px solid #f59e0b;
}

.notification-warning i {
    color: #f59e0b;
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .meal-plan-week {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .charts-section {
        grid-template-columns: 1fr;
    }
    
    .chat-messages {
        height: calc(100vh - 300px);
    }
    
    .message-content {
        max-width: 85%;
    }
}
/* =============================================== */
/* PATCH FOR css/style.css - THÊM CSS */
/* =============================================== */

/* Thêm vào cuối file style.css */

/* ============================================
   EXERCISE RECOMMENDATION STYLES
   ============================================ */

.exercise-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border-radius: 10px;
}

.exercise-header h2 {
    margin: 0 0 15px 0;
    font-size: 28px;
}

.user-metrics {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.metric-badge {
    background: rgba(255,255,255,0.2);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

/* Weekly Program */
.weekly-program {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.weekly-program h3 {
    margin-top: 0;
    color: #333;
    font-size: 22px;
    margin-bottom: 10px;
}

.program-info {
    background: #fff3cd;
    padding: 10px 15px;
    border-radius: 5px;
    color: #856404;
    margin-bottom: 20px;
    border-left: 4px solid #ffc107;
}

.day-program {
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.day-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.day-header h4 {
    margin: 0;
    font-size: 18px;
}

.day-stats {
    background: rgba(255,255,255,0.2);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 14px;
}

/* Exercise Cards */
.exercises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    padding: 20px;
}

.exercise-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.exercise-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.exercise-card.compact {
    padding: 15px;
}

.exercise-main h5 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
}

.exercise-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
}

.exercise-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.exercise-meta i {
    color: #667eea;
}

/* Match Percentage */
.match-info {
    margin: 15px 0;
}

.match-percentage {
    position: relative;
    background: #e0e0e0;
    height: 30px;
    border-radius: 15px;
    overflow: hidden;
}

.match-percentage::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--percentage, 0%);
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    transition: width 0.5s ease;
}

.match-percentage span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-weight: 600;
    font-size: 13px;
    color: #333;
    z-index: 1;
}

/* Matched Conditions */
.matched-conditions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.condition-badge {
    background: #e7f3ff;
    color: #0066cc;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    border: 1px solid #b3d9ff;
}

/* Exercise Benefits */
.exercise-benefits {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    margin-top: 15px;
}

.exercise-benefits strong {
    color: #333;
    font-size: 13px;
}

.exercise-benefits ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.exercise-benefits li {
    font-size: 13px;
    color: #666;
    margin: 4px 0;
}

/* Exercise Actions */
.exercise-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.btn-watch-video {
    flex: 1;
    background: #FF0000;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-watch-video:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255,0,0,0.3);
}

.btn-watch-video.btn-sm {
    padding: 8px 15px;
    font-size: 13px;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.video-modal-content {
    background: white;
    border-radius: 10px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
}

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.video-modal-header h3 {
    margin: 0;
    color: #333;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #FF0000;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-modal-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

/* All Exercises Section */
.all-exercises {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.all-exercises h3 {
    margin-top: 0;
    color: #333;
    font-size: 20px;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .exercises-grid {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    
    .user-metrics {
        flex-direction: column;
        align-items: center;
    }
    
    .day-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .video-modal-content {
        width: 95%;
        max-height: 95vh;
    }
}

/* ============================================
   NUTRITION SCHEDULE STYLES
   ============================================ */

.schedule-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
}

.schedule-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
}

.schedule-subtitle {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
}

/* Nutrition Summary */
.nutrition-summary {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nutrition-summary h3 {
    margin-top: 0;
    color: #333;
    font-size: 20px;
    margin-bottom: 20px;
}

.deficiency-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.deficiency-card {
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid;
    background: #f8f9fa;
}

.deficiency-card.danger {
    border-left-color: #dc3545;
    background: #fff5f5;
}

.deficiency-card.warning {
    border-left-color: #ffc107;
    background: #fffbf0;
}

.deficiency-card.info {
    border-left-color: #17a2b8;
    background: #f0f9ff;
}

.def-label {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    font-size: 16px;
}

.def-values {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.def-values .current {
    color: #dc3545;
    font-weight: 600;
}

.def-values .target {
    color: #28a745;
    font-weight: 600;
}

.def-deficit {
    font-size: 14px;
    color: #666;
}

/* Weekly Schedule */
.weekly-schedule {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.day-schedule {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.day-header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.day-header h3 {
    margin: 0;
    font-size: 20px;
}

.focus-badge {
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.meals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    padding: 20px;
}

.meal-card {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.meal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #dee2e6;
}

.meal-header h4 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.meal-time {
    color: #666;
    font-size: 14px;
}

.meal-focus {
    background: #e7f3ff;
    color: #0066cc;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 13px;
    margin-bottom: 10px;
    display: inline-block;
}

.meal-foods {
    margin: 15px 0;
}

.food-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.food-item:last-child {
    border-bottom: none;
}

.food-name {
    color: #333;
    font-weight: 500;
}

.food-portion {
    color: #666;
    font-size: 14px;
}

.meal-nutrition {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #dee2e6;
    font-size: 13px;
    color: #666;
    text-align: center;
}

/* ============================================
   EXERCISE VIDEO STYLES
   ============================================ */

.btn-find-video {
    background: #FF0000;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.btn-find-video:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255,0,0,0.3);
}

.btn-find-video:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.video-result {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #FF0000;
}

.video-info h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 16px;
}

.video-info p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

.video-desc {
    font-style: italic;
}

.btn-watch {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: #FF0000;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-watch:hover {
    background: #cc0000;
    transform: translateY(-2px);
}

/* ============================================
   INCOMPLETE PROFILE WARNING
   ============================================ */

.incomplete-profile-warning {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.incomplete-profile-warning i {
    font-size: 60px;
    color: #ffc107;
    margin-bottom: 20px;
}

.incomplete-profile-warning h3 {
    margin: 20px 0 10px 0;
    color: #333;
    font-size: 24px;
}

.incomplete-profile-warning p {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.incomplete-profile-warning .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.incomplete-profile-warning .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* ============================================
   ERROR MESSAGE STYLES
   ============================================ */

.error-message {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-message i {
    color: #ff9800;
    font-size: 20px;
}

.error-message p {
    margin: 0;
    color: #333;
}

.success-message {
    background: #d4edda;
    border: 1px solid #28a745;
    border-left: 4px solid #28a745;
    padding: 15px;
    border-radius: 5px;
    color: #155724;
    text-align: center;
}

.info-message {
    background: #d1ecf1;
    border: 1px solid #17a2b8;
    border-left: 4px solid #17a2b8;
    padding: 15px;
    border-radius: 5px;
    color: #0c5460;
    text-align: center;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .deficiency-cards {
        grid-template-columns: 1fr;
    }
    
    .meals-grid {
        grid-template-columns: 1fr;
    }
    
    .day-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .schedule-header h2 {
        font-size: 22px;
    }
}