/* ============================================================
   style.css - Jantung Sehat Keluarga
   ============================================================ */

/* ==================== RESET & DASAR ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #e8f5e9;
    color: #1a2e1f;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.app-container {
    max-width: 480px;
    margin: 0 auto;
    background: #f5f7fa;
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* ==================== LOGIN / REGISTER ==================== */
.login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #2E7D32, #43A047);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.splash-screen {
    background: white;
    border-radius: 40px;
    padding: 30px 25px;
    text-align: center;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.logo-univ, .logo-bima {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 15px;
}

.logo-placeholder {
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    text-align: center;
    border-radius: 15px;
}

.hero-icon {
    font-size: 48px;
    margin: 15px 0 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.splash-screen h1 {
    font-size: 24px;
    font-weight: 800;
    color: #2E7D32;
    margin-bottom: 8px;
    line-height: 1.2;
}

.subtitle {
    font-size: 11px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
}

.program-badge {
    background: #e8f5e9;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 9px;
    color: #2E7D32;
    margin-bottom: 20px;
    display: inline-block;
}

/* Form Elements */
.input-group {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 30px;
    margin-bottom: 12px;
    padding: 5px 18px;
    border: 1px solid #e0e0e0;
    transition: border-color 0.3s;
}

.input-group:focus-within {
    border-color: #2E7D32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.input-icon {
    font-size: 16px;
    margin-right: 10px;
    color: #888;
}

.input-group input,
.input-group select {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 0;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}

.input-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 10px center;
    padding-right: 30px;
}

.login-btn, .register-btn {
    background: #2E7D32;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s;
}

.login-btn:hover, .register-btn:hover {
    background: #1B5E20;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.login-btn:active, .register-btn:active {
    transform: scale(0.98);
}

.error-message {
    background: #ffebee;
    color: #f44336;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 12px;
    margin-bottom: 15px;
    border-left: 3px solid #f44336;
}

.success-message {
    background: #e8f5e9;
    color: #2E7D32;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 12px;
    margin-bottom: 15px;
    border-left: 3px solid #4CAF50;
}

.info-message {
    background: #e3f2fd;
    color: #1976D2;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 12px;
    margin-bottom: 15px;
    border-left: 3px solid #2196F3;
}

.register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #666;
}

.register-link a {
    color: #2E7D32;
    text-decoration: none;
    font-weight: 600;
}

.register-link a:hover {
    text-decoration: underline;
}

.back-link {
    text-align: center;
    margin-top: 15px;
}

.back-link a {
    color: #2E7D32;
    text-decoration: none;
    font-size: 13px;
}

.footer-login {
    margin-top: 25px;
    font-size: 10px;
    color: #aaa;
}

/* ==================== HEADER ==================== */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.menu-toggle {
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: #e8f5e9;
    transition: all 0.3s;
}

.menu-toggle:hover {
    background: #c8e6c9;
}

.header-title h1 {
    font-size: 18px;
    font-weight: 800;
    color: #2E7D32;
    letter-spacing: -0.5px;
}

.header-title h1 span {
    color: #FFC107;
}

.header-title p {
    font-size: 8px;
    color: #888;
    margin-top: 2px;
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #e8f5e9;
    padding: 6px 12px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.user-badge:hover {
    background: #c8e6c9;
}

.user-role {
    font-size: 10px;
    background: #e8f5e9;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}

/* ==================== SIDEBAR ==================== */
.sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 1000;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.sidebar.open {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
    animation: fadeIn 0.3s;
}

.sidebar-overlay.show {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.sidebar-header {
    background: linear-gradient(135deg, #2E7D32, #43A047);
    padding: 30px 20px;
    text-align: center;
    color: white;
}

.sidebar-logo {
    font-size: 48px;
    margin-bottom: 10px;
}

.sidebar-header h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.role-badge {
    background: #FFC107;
    color: #1B5E20;
    padding: 2px 12px;
    border-radius: 15px;
    font-size: 10px;
    display: inline-block;
    margin-top: 5px;
    font-weight: 600;
}

.sidebar-nav {
    padding: 10px 0;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 20px;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.sidebar-nav .nav-link:hover {
    background: #e8f5e9;
}

.sidebar-nav .nav-link.active {
    background: #e8f5e9;
    color: #2E7D32;
    font-weight: 600;
    border-left-color: #2E7D32;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

.logout-btn {
    display: block;
    text-align: center;
    background: #ffebee;
    color: #f44336;
    padding: 12px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.logout-btn:hover {
    background: #ffcdd2;
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
    padding: 16px 16px 80px;
    overflow-y: auto;
    max-height: calc(100vh - 70px);
}

.page {
    display: none;
    animation: fadeInPage 0.3s ease;
}

.page.active {
    display: block;
}

@keyframes fadeInPage {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-header {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.page-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a2e1f;
}

.page-header p {
    font-size: 12px;
    color: #888;
    width: 100%;
    margin-top: 4px;
}

.section-title {
    margin: 20px 0 12px;
}

.section-title h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a2e1f;
    position: relative;
    padding-bottom: 8px;
}

.section-title h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #2E7D32, #4CAF50);
    border-radius: 3px;
}

/* ==================== CARDS ==================== */
.welcome-card {
    background: linear-gradient(135deg, #2E7D32, #43A047);
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
}

.welcome-text h2 {
    font-size: 18px;
    margin-bottom: 4px;
}

.welcome-text p {
    font-size: 11px;
    opacity: 0.9;
    line-height: 1.4;
}

.welcome-icon {
    font-size: 48px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 15px 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.stat-value {
    font-size: 28px;
    font-weight: 800;
    color: #2E7D32;
}

.stat-label {
    font-size: 11px;
    color: #888;
    margin-top: 4px;
}

/* ==================== BMI CARD ==================== */
.bmi-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.bmi-value {
    font-size: 48px;
    font-weight: 800;
}

.bmi-category {
    display: inline-block;
    padding: 4px 20px;
    border-radius: 20px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    margin: 8px 0;
}

.bmi-scale {
    position: relative;
    height: 8px;
    background: linear-gradient(to right, #FF9800, #4CAF50, #FF9800, #f44336);
    border-radius: 10px;
    margin: 15px 0 5px;
}

.bmi-marker {
    position: absolute;
    top: -6px;
    width: 20px;
    height: 20px;
    background: #333;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: left 0.5s ease;
}

.bmi-labels {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: #888;
    margin-top: 5px;
}

.bmi-labels span {
    text-align: center;
    line-height: 1.2;
}

/* ==================== MENU GRID ==================== */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.menu-card {
    background: white;
    border-radius: 16px;
    padding: 14px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.menu-card:active {
    transform: scale(0.96);
}

.menu-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.menu-icon {
    font-size: 28px;
    margin-bottom: 6px;
}

.menu-name {
    font-size: 11px;
    font-weight: 600;
    color: #2E7D32;
}

.quote-card {
    background: #e8f5e9;
    border-radius: 16px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.quote-text {
    flex: 1;
    font-size: 13px;
    font-style: italic;
    color: #2E7D32;
}

.progress-card {
    background: white;
    border-radius: 16px;
    padding: 15px;
}

.progress-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.progress-bar-small {
    flex: 1;
    height: 10px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill-small {
    height: 100%;
    background: linear-gradient(90deg, #2E7D32, #4CAF50);
    border-radius: 10px;
    transition: width 0.5s ease;
}

/* ==================== USER CARDS ==================== */
.user-card {
    background: white;
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 12px;
    border-left: 4px solid #4CAF50;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.user-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.user-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.user-name {
    font-weight: 700;
    font-size: 16px;
    color: #1a2e1f;
}

.user-role-badge {
    font-size: 11px;
    padding: 2px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.role-super_admin {
    background: #f44336;
    color: white;
}

.role-kader {
    background: #4CAF50;
    color: white;
}

.role-warga {
    background: #9E9E9E;
    color: white;
}

.user-detail {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.user-stats {
    display: flex;
    gap: 16px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-weight: 800;
    font-size: 18px;
    color: #2E7D32;
}

/* ==================== REKAPAN CARD ==================== */
.rekapan-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.rekapan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 2px solid #e8f5e9;
    padding-bottom: 10px;
}

.rekapan-title {
    font-weight: 700;
    color: #2E7D32;
}

.rekapan-badge {
    background: #e8f5e9;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.rekapan-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

/* ==================== QUIZ ==================== */
.quiz-timer-card {
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
    border-radius: 30px;
    padding: 20px;
    text-align: center;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.timer-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    position: relative;
}

.timer-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    font-weight: 800;
    font-family: monospace;
}

.timer-bar {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    height: 6px;
    margin-top: 10px;
    overflow: hidden;
}

.timer-bar-fill {
    height: 100%;
    background: #FFC107;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.quiz-question-card {
    background: white;
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.question-number {
    display: inline-block;
    background: #e8f5e9;
    color: #2E7D32;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.quiz-question-text {
    font-size: 18px;
    font-weight: 700;
    color: #1a2e1f;
    margin-bottom: 20px;
    line-height: 1.4;
}

.quiz-option {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 14px 16px;
    margin: 10px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.quiz-option:hover {
    transform: translateX(8px);
    border-color: #4CAF50;
    background: #e8f5e9;
}

.quiz-option.selected {
    background: linear-gradient(135deg, #2E7D32, #4CAF50);
    color: white;
    border-color: #1B5E20;
}

.quiz-nav {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-next, .btn-prev {
    flex: 1;
    padding: 14px;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-next {
    background: linear-gradient(135deg, #2E7D32, #4CAF50);
    color: white;
}

.btn-next:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-prev {
    background: transparent;
    border: 2px solid #2E7D32;
    color: #2E7D32;
}

.btn-prev:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quiz-result-card {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: 30px;
    padding: 30px;
    text-align: center;
}

.result-score {
    font-size: 56px;
    font-weight: 800;
    color: #2E7D32;
    margin: 20px 0;
}

.quiz-restart {
    background: #2E7D32;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.quiz-restart:hover {
    background: #1B5E20;
    transform: translateY(-2px);
}

.quiz-intro-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.quiz-intro-card h3 {
    color: #2E7D32;
    font-size: 20px;
    margin: 15px 0 10px;
}

.quiz-intro-card p {
    color: #666;
    margin-bottom: 15px;
}

.quiz-info {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 15px 0;
}

.quiz-info span {
    background: #e8f5e9;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    color: #2E7D32;
}

/* ==================== BUTTONS ==================== */
.btn-primary {
    background: #2E7D32;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 30px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #1B5E20;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid #2E7D32;
    color: #2E7D32;
    padding: 10px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: #2E7D32;
    color: white;
}

.save-btn {
    background: #2E7D32;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 30px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s;
}

.save-btn:hover {
    background: #1B5E20;
}

.calculate-btn {
    background: #2E7D32;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 30px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s;
}

.calculate-btn:hover {
    background: #1B5E20;
}

/* ==================== CHECKLIST ==================== */
.today-card {
    background: white;
    border-radius: 20px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.today-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.today-date {
    font-size: 14px;
    font-weight: 600;
}

.today-badge {
    background: #e8f5e9;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    color: #2E7D32;
    font-weight: 600;
}

.checklist-group {
    margin-bottom: 15px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.3s;
}

.checklist-item:hover {
    background: #f9f9f9;
}

.check-icon {
    width: 24px;
    font-size: 20px;
    color: #999;
    transition: color 0.3s;
}

/* ==================== CALENDAR ==================== */
.calendar-card {
    background: white;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.calendar-card h3 {
    font-size: 16px;
    margin-bottom: 16px;
}

.calendar-header {
    text-align: center;
    font-weight: 600;
    margin-bottom: 10px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #888;
    margin-bottom: 8px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    text-align: center;
    padding: 8px 0;
    font-size: 12px;
    border-radius: 20px;
    background: #f5f5f5;
    cursor: pointer;
    transition: all 0.3s;
}

.calendar-day:hover {
    transform: scale(1.05);
}

.calendar-day.completed {
    background: #4CAF50;
    color: white;
}

.calendar-day.today {
    border: 2px solid #FFC107;
    font-weight: bold;
    background: #FFF8E1;
}

.calendar-day.empty {
    background: transparent;
    cursor: default;
}

.calendar-day.empty:hover {
    transform: none;
}

/* ==================== RISK ==================== */
.risk-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.risk-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.3s;
}

.risk-item:hover {
    background: #f9f9f9;
}

.risk-check {
    width: 24px;
    font-size: 20px;
    color: #999;
}

.risk-result {
    margin-top: 15px;
}

.risk-level {
    padding: 15px;
    border-radius: 12px;
    background: #f5f5f5;
    border-left: 4px solid;
}

/* ==================== DIET / MENU SEHAT ==================== */
.diet-card {
    background: white;
    border-radius: 16px;
    padding: 15px;
    cursor: pointer;
    border-left: 4px solid #4CAF50;
    margin-bottom: 10px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.diet-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.diet-day {
    font-size: 12px;
    color: #FF9800;
    font-weight: 600;
    margin-bottom: 6px;
}

.diet-menu {
    font-size: 12px;
    color: #555;
    margin: 3px 0;
}

.diet-price {
    font-size: 11px;
    color: #2E7D32;
    font-weight: 600;
    margin-top: 8px;
}

/* ==================== VIDEO ==================== */
.video-card {
    background: white;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    gap: 12px;
    cursor: pointer;
    margin-bottom: 10px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.video-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.video-thumb {
    width: 60px;
    height: 60px;
    background: #e8f5e9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.video-info h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.video-info p {
    font-size: 11px;
    color: #888;
}

/* ==================== MODAL ==================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s;
}

.modal-content {
    background: white;
    border-radius: 28px;
    width: 340px;
    max-width: 90%;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.modal-header h3 {
    color: #2E7D32;
}

.close {
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

/* ==================== BOTTOM NAV ==================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 480px;
    margin: 0 auto;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 10px 12px 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    border-radius: 25px 25px 0 0;
}

.nav-item {
    text-align: center;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 30px;
    transition: all 0.3s;
}

.nav-item.active {
    background: #e8f5e9;
}

.nav-icon {
    font-size: 22px;
}

.nav-label {
    font-size: 10px;
    margin-top: 4px;
    color: #888;
}

.nav-item.active .nav-label {
    color: #2E7D32;
    font-weight: 600;
}

/* ==================== TOAST ==================== */
.toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 12px;
    z-index: 1500;
    transition: transform 0.3s;
    white-space: nowrap;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ==================== OTHER COMPONENTS ==================== */
.contact-card-large {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.wa-btn {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.wa-btn:hover {
    background: #128C7E;
}

.about-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.about-card h3 {
    color: #2E7D32;
    margin-bottom: 12px;
    border-left: 4px solid #4CAF50;
    padding-left: 12px;
    font-size: 16px;
}

.edukasi-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.edukasi-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.audio-btn {
    background: #e8f5e9;
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    color: #2E7D32;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s;
}

.audio-btn:hover {
    background: #c8e6c9;
}

.profile-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.profile-avatar {
    font-size: 64px;
    margin-bottom: 10px;
}

.profile-details {
    text-align: left;
    margin-top: 15px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

.detail-item span {
    color: #888;
}

.detail-item strong {
    color: #333;
}

/* ==================== ADMIN TABLES ==================== */
.table-container {
    overflow-x: auto;
    margin-top: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

th, td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background: #e8f5e9;
    font-weight: 600;
    color: #2E7D32;
    position: sticky;
    top: 0;
}

tr:hover {
    background: #f9f9f9;
}

.role-badge-small {
    background: #e8f5e9;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    display: inline-block;
    font-weight: 600;
}

.role-badge-small.role-super_admin {
    background: #f44336;
    color: white;
}

.role-badge-small.role-kader {
    background: #4CAF50;
    color: white;
}

.role-badge-small.role-warga {
    background: #9E9E9E;
    color: white;
}

.role-select {
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 12px;
    font-family: inherit;
}

.update-btn {
    background: #2E7D32;
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.update-btn:hover {
    background: #1B5E20;
}

.delete-btn {
    background: #f44336;
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.delete-btn:hover {
    background: #d32f2f;
}

.inline-form {
    display: flex;
    gap: 5px;
    align-items: center;
    flex-wrap: wrap;
}

/* ==================== MODUL DIGITAL ==================== */
.modul-info-card {
    background: white;
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.modul-cover {
    text-align: center;
    padding: 20px;
}

.cover-icon {
    font-size: 64px;
    margin-bottom: 15px;
}

.modul-cover h3 {
    font-size: 20px;
    color: #2E7D32;
    margin-bottom: 8px;
}

.modul-cover p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.modul-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    font-size: 12px;
    color: #888;
}

.modul-meta span {
    background: #e8f5e9;
    padding: 4px 12px;
    border-radius: 20px;
}

.modul-warning {
    background: #fff3e0;
    border-radius: 16px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.modul-warning span {
    font-size: 28px;
}

.modul-warning p {
    font-size: 12px;
    color: #E65100;
    margin: 0;
}

.modul-view-options {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.modul-view-options .btn-pdf,
.modul-view-options .btn-text {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid #2E7D32;
    background: transparent;
    color: #2E7D32;
}

.modul-view-options .btn-pdf.active,
.modul-view-options .btn-text.active {
    background: #2E7D32;
    color: white;
    border-color: #2E7D32;
}

.pdf-viewer-container {
    background: white;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.pdf-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background: #f5f5f5;
    border-radius: 12px 12px 0 0;
    font-size: 13px;
    color: #333;
}

.pdf-info {
    font-weight: 600;
    color: #2E7D32;
}

.pdf-page-info {
    color: #888;
    font-size: 12px;
}

.pdf-iframe-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    background: #f0f0f0;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.pdf-iframe-wrapper object,
.pdf-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: white;
}

.pdf-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f9f9f9;
    border-radius: 0 0 12px 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.pdf-control-btn {
    background: #e8f5e9;
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    color: #2E7D32;
}

.pdf-control-btn:hover {
    background: #c8e6c9;
}

.pdf-warning {
    font-size: 11px;
    color: #f44336;
    margin-left: 10px;
}

/* ==================== TEXT VIEWER ==================== */
.text-viewer-container {
    background: white;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.text-viewer-container .modul-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.text-viewer-container .modul-tab {
    background: #f0f0f0;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
}

.text-viewer-container .modul-tab:hover {
    background: #e8f5e9;
}

.text-viewer-container .modul-tab.active {
    background: #2E7D32;
    color: white;
}

.text-viewer-container .modul-content-container {
    max-height: 500px;
    overflow-y: auto;
    padding: 10px;
}

.text-viewer-container .modul-content-container::-webkit-scrollbar {
    width: 6px;
}

.text-viewer-container .modul-content-container::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.text-viewer-container .modul-content-container::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 10px;
}

.modul-chapter-content {
    animation: fadeIn 0.3s ease;
}

.modul-chapter-content h2 {
    color: #2E7D32;
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid #e8f5e9;
    padding-bottom: 10px;
}

.modul-chapter-content h3 {
    color: #1B5E20;
    font-size: 16px;
    margin: 15px 0 8px;
}

.modul-chapter-content p {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 10px;
}

.modul-chapter-content ul {
    margin: 10px 0 15px 20px;
}

.modul-chapter-content li {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 4px;
}

.chapter-quote {
    background: #e8f5e9;
    padding: 15px 20px;
    border-radius: 16px;
    border-left: 4px solid #2E7D32;
    font-style: italic;
    margin: 15px 0;
    color: #2E7D32;
    font-size: 14px;
}

.modul-copyright {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    text-align: center;
}

.daftar-isi {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
    margin: 15px 0;
}

.toc-item {
    padding: 6px 0;
    border-bottom: 1px dashed #f0f0f0;
    display: flex;
    gap: 10px;
    font-size: 13px;
}

.toc-chapter {
    font-weight: 700;
    color: #2E7D32;
    min-width: 45px;
}

/* ==================== KETO CALCULATOR ==================== */
.keto-result-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.keto-result-card h3 {
    color: #2E7D32;
    margin-bottom: 15px;
    font-size: 16px;
}

.keto-macros {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.macro-item {
    text-align: center;
    padding: 15px 10px;
    background: #e8f5e9;
    border-radius: 16px;
}

.macro-icon {
    font-size: 28px;
    margin-bottom: 5px;
}

.macro-value {
    font-size: 20px;
    font-weight: 800;
    color: #2E7D32;
}

.macro-label {
    font-size: 10px;
    color: #666;
}

.keto-foods-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.keto-foods-card h3 {
    color: #2E7D32;
    margin-bottom: 15px;
    font-size: 16px;
}

.foods-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.food-item {
    background: #f5f5f5;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    font-size: 13px;
}

.keto-update-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.keto-update-card h3 {
    color: #2E7D32;
    margin-bottom: 15px;
    font-size: 16px;
}

.update-health-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.update-health-form .form-field label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.update-health-form .form-field input,
.update-health-form .form-field select {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
}

/* ==================== LOG ACTIVITY ==================== */
.log-filter {
    display: grid;
    grid-template-columns: 1fr 1fr auto auto;
    gap: 12px;
    margin-bottom: 20px;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.log-filter .form-field label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
    font-weight: 600;
}

.log-filter .form-field select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
}

.log-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    border-left: 4px solid #4CAF50;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.log-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.log-card .log-icon {
    font-size: 32px;
    margin-right: 14px;
    min-width: 40px;
    text-align: center;
}

.log-card .log-content {
    flex: 1;
}

.log-card .log-user {
    font-weight: 700;
    color: #2E7D32;
    font-size: 14px;
}

.log-card .log-activity {
    font-size: 14px;
    color: #333;
    margin-top: 2px;
}

.log-card .log-detail {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-block;
}

.log-card .log-time {
    font-size: 11px;
    color: #999;
    min-width: 80px;
    text-align: right;
}

.log-card.log-type-login {
    border-left-color: #2196F3;
}
.log-card.log-type-logout {
    border-left-color: #9E9E9E;
}
.log-card.log-type-checklist {
    border-left-color: #4CAF50;
}
.log-card.log-type-quiz {
    border-left-color: #FF9800;
}
.log-card.log-type-register {
    border-left-color: #9C27B0;
}
.log-card.log-type-add_user {
    border-left-color: #00BCD4;
}
.log-card.log-type-update_role {
    border-left-color: #FF5722;
}
.log-card.log-type-delete_user {
    border-left-color: #f44336;
}
.log-card.log-type-risk_check {
    border-left-color: #E91E63;
}

.log-empty {
    text-align: center;
    padding: 40px;
    color: #888;
    background: white;
    border-radius: 20px;
}

.log-empty .big-icon {
    font-size: 64px;
    margin-bottom: 15px;
}

.loading-text {
    text-align: center;
    padding: 30px;
    color: #888;
}

/* ==================== ADD USER FORM ==================== */
.add-user-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 10px;
}

.add-user-form .form-field label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
    font-weight: 600;
}

.add-user-form .form-field input,
.add-user-form .form-field select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
}

/* ==================== INSTALL BANNER & SPLASH ==================== */
.install-banner {
    display: none;
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #2E7D32;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    border: none;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.install-banner .close-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 14px;
}

#splashScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2E7D32, #43A047);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
    color: white;
}

#splashScreen .splash-logo {
    font-size: 80px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

#splashScreen .splash-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 5px;
}

#splashScreen .splash-sub {
    font-size: 12px;
    opacity: 0.8;
}

#splashScreen .splash-loader {
    margin-top: 30px;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 480px) {
    .main-content {
        padding: 12px 12px 80px;
    }
    
    .menu-grid {
        gap: 8px;
    }
    
    .menu-card {
        padding: 10px 6px;
    }
    
    .menu-name {
        font-size: 10px;
    }
    
    .stats-row {
        gap: 8px;
    }
    
    .stat-value {
        font-size: 22px;
    }
    
    .bottom-nav {
        padding: 8px 8px 15px;
    }
    
    .nav-item {
        padding: 4px 8px;
    }
    
    .nav-icon {
        font-size: 20px;
    }
    
    .nav-label {
        font-size: 9px;
    }
    
    .quiz-question-text {
        font-size: 16px;
    }
    
    .quiz-option {
        padding: 10px 12px;
    }
    
    .user-detail {
        gap: 8px;
    }
    
    .user-stats {
        gap: 8px;
    }
    
    .stat-number {
        font-size: 14px;
    }
    
    .result-score {
        font-size: 40px;
    }
    
    .pdf-iframe-wrapper {
        height: 350px;
    }
    
    .pdf-toolbar {
        font-size: 11px;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .pdf-controls {
        gap: 8px;
    }
    
    .pdf-control-btn {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .modul-view-options {
        flex-direction: column;
    }
    
    .keto-macros {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .foods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .daftar-isi {
        grid-template-columns: 1fr;
    }
    
    .update-health-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .modul-meta {
        flex-direction: column;
        gap: 6px;
        align-items: center;
    }
    
    .detail-item {
        flex-direction: column;
        gap: 4px;
    }
    
    .log-filter {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .log-filter .btn-primary,
    .log-filter .btn-outline {
        width: 100%;
        margin-top: 0;
    }
    
    .log-card {
        flex-wrap: wrap;
    }
    
    .log-card .log-time {
        width: 100%;
        text-align: left;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid #eee;
    }
    
    .add-user-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .table-container {
        font-size: 11px;
    }
    
    th, td {
        padding: 6px 8px;
    }
    
    .inline-form {
        flex-direction: column;
        gap: 3px;
    }
    
    .role-select {
        width: 100%;
        font-size: 11px;
    }
    
    .update-btn, .delete-btn {
        width: 100%;
        padding: 4px 8px;
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    .keto-macros {
        grid-template-columns: 1fr 1fr;
    }
    
    .foods-grid {
        grid-template-columns: 1fr 1fr;
    }
}