:root {
    /* Roumine Municipality Official Colors */
    --primary-color: #005C29; /* Cedar Green */
    --primary-dark: #003d1b;
    --primary-rgb: 0, 92, 41;
    
    --secondary-color: #D4AF37; /* Gold/Accent */
    --secondary-rgb: 212, 175, 55;
    
    /* Layout Colors */
    --bg-color: #f8f9fa;
    --surface-color: #ffffff;
    
    /* Text Colors */
    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #ffffff;
    
    /* Status Colors */
    --success: #4caf50;
    --danger: #f44336;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background: var(--bg-color);
    min-height: 100vh;
    direction: rtl;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
}
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo i { font-size: 2rem; color: var(--primary-color); }
.logo h1 { font-size: 1.8rem; font-weight: 700; color: var(--primary-color); }
.nav { display: flex; gap: 2rem; }
.nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}
.nav a:hover { color: var(--primary-color); background: rgba(var(--primary-rgb), 0.08); }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    margin: 2rem 0;
    padding: 4rem 0;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    color: var(--text-light);
}
.hero-content h2 { font-size: 3rem; font-weight: 700; margin-bottom: 1rem; }
.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--secondary-rgb), 0.4);
    text-transform: uppercase;
}
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(var(--secondary-rgb), 0.6); }

/* Section Styles */
.booking-section, .contact-section {
    background: var(--surface-color);
    border-radius: 20px;
    padding: 3rem 0;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Date Selection */
.date-selection { text-align: center; margin-bottom: 3rem; }
.date-selection label { font-size: 1.2rem; font-weight: 600; color: var(--text-main); margin-bottom: 1rem; display: block; }
.date-input {
    padding: 1rem;
    border: 2px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 15px;
    font-size: 1.1rem;
    background: var(--bg-color);
    transition: all 0.3s ease;
    min-width: 200px;
}
.date-input:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1); }

/* Time Slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.time-slot {
    background: var(--surface-color);
    border: 2px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.time-slot:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.15); border-color: var(--primary-color); }
.time-slot.selected {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-dark);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.3);
}
.time-slot h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.5rem; }
.time-slot p { color: var(--text-muted); font-weight: 500; }
.time-slot.selected p { color: rgba(255, 255, 255, 0.9); }
.time-slot.booked {
    background: rgba(244, 67, 54, 0.05);
    border: 2px solid rgba(244, 67, 54, 0.3);
    cursor: not-allowed;
    opacity: 0.8;
}
.time-slot.booked:hover { transform: none; box-shadow: none; border-color: rgba(244, 67, 54, 0.3); }
.time-slot.booked h3, .time-slot.booked p { color: var(--danger); }

/* Booking Form */
.booking-form {
    background: var(--surface-color);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}
.booking-form h3 { text-align: center; font-size: 1.8rem; color: var(--primary-color); margin-bottom: 2rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; color: var(--text-main); margin-bottom: 0.5rem; }
.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 15px;
    font-size: 1rem;
    background: var(--bg-color);
    transition: all 0.3s ease;
}
.form-group input:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1); }
.form-group input:invalid { border-color: var(--danger); box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.1); }

.selected-slot {
    background: rgba(var(--primary-rgb), 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}
.selected-slot h4 { color: var(--primary-color); margin-bottom: 1rem; font-size: 1.2rem; }
.selected-slot p { color: var(--text-muted); font-weight: 500; }

.submit-btn, .cancel-btn, .btn-primary, .btn-danger {
    padding: 1rem 2rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}
.submit-btn, .btn-primary { background: var(--primary-color); color: var(--text-light); box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3); }
.submit-btn:hover, .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.5); }
.cancel-btn, .btn-danger { background: var(--danger); color: var(--text-light); box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3); }
.cancel-btn:hover, .btn-danger:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(244, 67, 54, 0.5); }

/* Success Message & Contact */
.success-message {
    text-align: center;
    background: rgba(76, 175, 80, 0.05);
    border: 2px solid rgba(76, 175, 80, 0.3);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem auto;
    max-width: 500px;
}
.success-message i { font-size: 4rem; color: var(--success); margin-bottom: 1rem; }
.success-message h3 { font-size: 1.8rem; color: var(--success); margin-bottom: 1rem; }

.contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 2rem; }
.contact-item {
    background: var(--bg-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}
.contact-item:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.15); }
.contact-item i { font-size: 3rem; color: var(--primary-color); margin-bottom: 1rem; }
.contact-item p { color: var(--text-muted); font-weight: 500; font-size: 1.1rem; }
.contact-item span { color: var(--primary-color); font-weight: 700; }

.footer { text-align: center; padding: 2rem 0; margin-top: 2rem; border-top: 1px solid rgba(0,0,0,0.1); }

/* Floating Buttons */
.login-btn {
    position: fixed; bottom: 30px; left: 30px;
    background: var(--primary-color); color: var(--text-light);
    padding: 1rem 2rem; border: none; border-radius: 50px;
    font-weight: 600; cursor: pointer; transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4); z-index: 1000;
    display: flex; align-items: center; gap: 0.5rem;
}
.login-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.6); }

.whatsapp-button {
    position: fixed; bottom: 30px; right: 30px;
    background: #25d366; color: white;
    padding: 1rem 2rem; border-radius: 50px;
    cursor: pointer; transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 1000;
    display: flex; align-items: center; gap: 0.5rem; font-weight: 600;
}
.whatsapp-button:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6); }

/* Modals */
.modal-overlay, .login-modal {
    display: none; position: fixed; z-index: 2000; left: 0; top: 0;
    width: 100%; height: 100%; overflow: auto;
    background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px);
    align-items: center; justify-content: center;
}
.modal-content, .login-modal-content {
    background: var(--surface-color);
    padding: 2.5rem; border-radius: 20px;
    max-width: 450px; width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative; text-align: center;
    animation: fadeInScale 0.3s ease-out;
}
.modal-content h2, .login-modal-content h2 { color: var(--primary-color); margin-bottom: 1.5rem; }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 2rem; cursor: pointer; color: var(--text-muted); }
.close-modal:hover { color: var(--danger); }

/* Animations & Mobile Nav */
@keyframes fadeInScale { from { opacity: 0; transform: scale(0.95) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.6s ease-out; }
.loading { text-align: center; padding: 2rem; color: var(--primary-color); font-weight: 500; }

.mobile-nav { display: none; }
@media (max-width: 768px) {
    .nav { display: none; }
    .hero-content h2 { font-size: 2rem; }
    .time-slots, .contact-info { grid-template-columns: 1fr; }
    .login-btn, .whatsapp-button { bottom: 100px; padding: 0.8rem 1.5rem; }
    .mobile-nav {
        display: flex; 
        position: fixed; 
        bottom: 0; 
        left: 0; 
        right: 0;
        
        /* Frosted Glass Effect */
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px); /* Safari support */
        
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
        z-index: 1000; 
        border-radius: 20px 20px 0 0; 
        justify-content: space-around; 
        padding: 15px 20px;
        border-top: 1px solid rgba(var(--primary-rgb), 0.1);
    }
    .mobile-nav-item { display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--text-muted); cursor: pointer; }
    .mobile-nav-item.active { color: var(--primary-color); }
    .mobile-nav-item.active i { transform: scale(1.1); color: var(--primary-color); }
    body { padding-bottom: 80px; }
}

/* =======================================================================
   MOBILE & TABLET RESPONSIVENESS (Screens smaller than 768px)
   ======================================================================= */
   @media screen and (max-width: 768px) {
    
    /* 1. Add breathing room to the main edges of the screen */
    body {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* 2. Form Inputs: Prevent iOS Safari from zooming in automatically */
    input[type="text"], 
    input[type="tel"], 
    input[type="number"], 
    input[type="date"],
    select {
        font-size: 16px !important; 
        padding: 12px;
        width: 100%;
        box-sizing: border-box;
    }

    /* 3. Time Slots Grid: Ensure slots don't get squished */
    /* Adjust '.time-slots' to whatever class wraps your time grid */
    .time-slots {
        display: grid;
        /* Drops down to 2 columns on mobile instead of 3 or 4 */
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px;
    }

    /* 4. Login Modal: Make sure it fits small screens */
    .modal-content, 
    .login-modal {
        width: 95% !important;
        padding: 20px;
        margin: 10% auto;
    }

    /* 5. Typography: Scale down massive headers slightly */
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }

    /* 6. Buttons: Make them easy to tap with a thumb */
    .btn-primary, 
    .submit-btn {
        width: 100% !important;
        padding: 15px;
        font-size: 1.1rem;
    }

    /* 1. Prevent logo text from breaking into two lines */
    .logo h1 {
        font-size: 1.4rem; /* Slightly smaller for mobile */
        white-space: nowrap;
    }

    /* 2. Hide the word "تثبيت" to save space, keep only the icon */
    .install-text {
        display: none;
    }

    /* 3. Make the install button a compact circle/square to match the moon icon */
    .install-btn {
        padding: 0.5rem;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 4. Ensure the buttons don't get squished */
    .header-actions {
        flex-shrink: 0;
        gap: 5px !important;
    }
}

/* For very small phones (like older iPhones - 400px and below) */
@media screen and (max-width: 400px) {
    /* Drop time slots to 1 single column if the screen is super narrow */
    .time-slots {
        grid-template-columns: 1fr;
    }
}

/* My Bookings Styles */
.user-booking-card {
    background: var(--surface-color);
    border: 2px solid rgba(var(--primary-rgb), 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.user-booking-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.booking-card-info h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.booking-card-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.booking-card-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.badge-pending { background-color: #ffa726; }
.badge-confirmed { background-color: #4caf50; }
.badge-cancelled { background-color: #f44336; }
.badge-paid { background-color: #2196f3; }
.badge-unpaid { background-color: #78909c; }

.btn-cancel-booking {
    background: #fff0f0;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-cancel-booking:hover {
    background: #d32f2f;
    color: white;
}

@media (max-width: 600px) {
    .user-booking-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .booking-card-status {
        width: 100%;
        justify-content: space-between;
    }
}

/* =========================================================
   Categorized Time Slots Upgrade
   ========================================================= */

/* Remove the grid from the main wrapper */
.time-slots {
    display: block !important; 
}

/* New Category Wrapper */
.slot-category {
    margin-bottom: 2.5rem;
    background: rgba(255, 255, 255, 0.6);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px dashed rgba(var(--primary-rgb), 0.2);
}

/* New Category Title */
.category-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    border-bottom: 2px solid rgba(var(--primary-rgb), 0.1);
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* The actual grid for the slots inside each category */
.category-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

/* Mobile Tweaks */
@media screen and (max-width: 768px) {
    .category-slots {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 400px) {
    .category-slots {
        grid-template-columns: 1fr;
    }
}

/* Add to the bottom of public/css/styles.css */
/* Dark Mode Variables & Overrides */
body.dark-mode {
    --bg-color: #121212;
    --surface-color: #1e1e1e;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --text-light: #ffffff;
    --primary-color: #00873d;
    --primary-dark: #004d22;
}

body.dark-mode .header, 
body.dark-mode .mobile-nav {
    background: rgba(30, 30, 30, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--primary-dark);
    border-top-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .time-slot, 
body.dark-mode .booking-form, 
body.dark-mode .contact-item, 
body.dark-mode .user-booking-card, 
body.dark-mode .modal-content, 
body.dark-mode .login-modal-content {
    background: var(--surface-color);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

body.dark-mode input, 
body.dark-mode select, 
body.dark-mode textarea {
    background: var(--bg-color) !important;
    color: var(--text-main) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Theme Toggle Button Styling */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.theme-toggle:hover {
    color: var(--primary-color);
}

/* Skeleton Loader Styles */
.skeleton-loader {
    background: linear-gradient(90deg, var(--surface-color) 25%, rgba(var(--primary-rgb), 0.1) 50%, var(--surface-color) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 15px;
    height: 85px; /* Matches the approximate height of a time slot */
    border: 1px solid rgba(var(--primary-rgb), 0.05);
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Add inside your existing @media screen and (max-width: 768px) block */
@media screen and (max-width: 768px) {
    /* Ensure all inputs and buttons meet the 48px minimum touch target height */
    input[type="text"], 
    input[type="tel"], 
    input[type="number"], 
    input[type="date"],
    select, 
    .btn-primary, 
    .submit-btn,
    .cancel-btn {
        min-height: 48px !important;
    }

    /* Expand the time-slot tap area */
    .time-slot {
        min-height: 64px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 1rem;
    }

    /* Expand the modal close button touch target */
    .close-modal, .close {
        min-width: 48px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        top: 5px;
        right: 10px;
    }

    /* Ensure mobile nav items are easily tappable */
    .mobile-nav-item {
        min-height: 48px;
        min-width: 48px;
        justify-content: center;
    }
}

/* Custom Modal Styles */
.custom-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: rgba(0,0,0,0.7); z-index: 9999999;
    display: flex; align-items: center; justify-content: center;
    direction: rtl; animation: fadeIn 0.3s ease-out;
}
.custom-modal-box {
    background-color: var(--surface-color); padding: 30px;
    border-radius: 20px; min-width: 300px; max-width: 450px;
    text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.custom-modal-box h2 { color: var(--primary-color); margin-bottom: 15px; }
.custom-modal-box p { color: var(--text-main); margin-bottom: 25px; font-size: 1.1rem; font-weight: 500; }
.custom-modal-actions { display: flex; gap: 15px; justify-content: center; }

/* Toast Notifications */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--surface-color);
    color: var(--text-main);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-right: 5px solid var(--success); /* RTL: Border on the right */
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999999;
    direction: rtl;
    animation: slideInToast 0.3s ease-out forwards;
}

.toast-notification.toast-error {
    border-right-color: var(--danger);
}

.toast-notification.fade-out {
    animation: fadeOutToast 0.3s ease-in forwards;
}

.toast-notification i {
    font-size: 1.2rem;
}

@keyframes slideInToast {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOutToast {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(120%); opacity: 0; }
}

@media screen and (max-width: 768px) {
    .toast-notification {
        bottom: 20px; right: 20px; left: 20px;
        justify-content: center;
    }
}

/* Real-time Form Validation Feedback */
.form-group input:not(:placeholder-shown):valid {
    border-color: var(--success);
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

.form-group input:not(:placeholder-shown):invalid {
    border-color: var(--danger);
    box-shadow: 0 0 0 4px rgba(244, 67, 54, 0.1);
}

/* Interactive Empty States */
.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-state i {
    font-size: 3.5rem;
    color: rgba(var(--primary-rgb), 0.2); /* Softened primary color */
    margin-bottom: 1rem;
}

.empty-state p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Global Loading Screen */
.global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-color);
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.global-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    animation: pulse 1.5s infinite alternate;
}

.loader-content i {
    font-size: 4rem;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; }
}

/* Custom Install Button */
.install-btn {
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.2);
    font-family: inherit;
}

.install-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(var(--primary-rgb), 0.4);
}

body.dark-mode .install-btn {
    background: var(--surface-color);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}