:root {
    /* Premium Color Palette - Aura Signature */
    --bg-main: #FCFBF9;
    --bg-surface: #ffffff;
    --bg-surface-hover: #F6F4F0;

    --text-primary: #1F1635;
    --text-secondary: #4A3B6A;
    --text-muted: #8E84A3;

    --accent-primary: #483182;
    --accent-secondary: #5B449A;
    --accent-light: rgba(72, 49, 130, 0.05);
    --accent-gold: #D4AF37;
    --accent-gradient: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --accent-gold-gradient: linear-gradient(135deg, #D4AF37, #F1D279);

    --border-light: rgba(72, 49, 130, 0.08);
    --border-hover: rgba(72, 49, 130, 0.15);

    --error: #FF4D4D;
    --success: #10B981;
    --warning: #F59E0B;

    /* Typography */
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Outfit', serif;
    /* Uniform font as requested */

    /* Spacing & Layout */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(31, 22, 53, 0.04);
    --shadow-md: 0 10px 30px rgba(31, 22, 53, 0.08);
    --shadow-lg: 0 20px 50px rgba(31, 22, 53, 0.12);
    --shadow-premium: 0 15px 35px rgba(72, 49, 130, 0.12);

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fluid-container {
    max-width: 100% !important;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--bg-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

#app-container {
    width: 100%;
    max-width: 500px;
    /* Tighter mobile feel */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: var(--bg-main);
    margin: 0 auto;
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.05);
}

/* Hero Header */
.hero-header {
    position: relative;
    padding: 4rem 2rem 3rem 2rem;
    text-align: center;
    background: radial-gradient(circle at top, #f0e6ff 0%, var(--bg-main) 70%);
    overflow: hidden;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--accent-light);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    line-height: 1.2;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 80%;
    margin: 0 auto 2.5rem auto;
    opacity: 0.8;
}

/* Feature Cards (Stacked) */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--bg-surface);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-align: left;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.feature-info .title {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.feature-info .desc {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* App Header (Sticky) */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.logo-img {
    height: 28px;
    width: auto;
}

.badge-notif {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--error);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-surface);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1;
    padding: 0;
    z-index: 10;
    pointer-events: none;
}

/* Cards */
.card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-premium);
    transform: translateY(-2px);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

/* Form Styles */
.section-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #fdfcfb;
    border: 1px solid #e8e3df;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    padding: 0 1rem;
    gap: 0.5rem;
    width: 100%;
    min-height: 3.5rem;
}

.input-wrapper:focus-within {
    border-color: var(--accent-primary);
    background: #fff;
    box-shadow: 0 0 0 4px var(--accent-light);
}

.input-wrapper i {
    color: var(--text-muted);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.input-field {
    width: 100%;
    background: transparent;
    border: 1px solid #e8e3df;
    border-radius: var(--radius-md);
    padding: 0.875rem 1.25rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    outline: none;
}

.input-field:focus {
    border-color: var(--accent-primary);
    background: #fff;
    box-shadow: 0 0 0 4px var(--accent-light);
}

select.input-field {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23483182' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    appearance: none;
}

.input-wrapper .input-field {
    background: transparent;
    border: none;
    padding-left: 0;
    padding-right: 0;
    box-shadow: none;
    flex: 1;
    width: auto;
}

.input-wrapper span {
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* PIN Input Component */
.pin-input-container {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.pin-box {
    width: 50px;
    height: 60px;
    border: 2px solid #e8e3df;
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    background: white;
    transition: all var(--transition-fast);
}

.pin-box:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 4px 15px var(--accent-light);
    transform: translateY(-2px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    width: 100%;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 8px 25px rgba(72, 49, 130, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(72, 49, 130, 0.3);
    opacity: 0.95;
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
}

.btn-outline:hover {
    background: var(--accent-light);
}

.btn-text {
    background: transparent;
    border: none !important;
    outline: none !important;
    padding: 0.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--accent-primary);
    font-weight: 600;
}

button:focus {
    outline: none !important;
}

.btn-logout {
    background: transparent;
    color: var(--error);
    font-weight: 500;
    padding: 0.75rem;
    margin-top: 1rem;
    border: 1px solid rgba(255, 77, 77, 0.1);
}

.btn-logout:hover {
    background: rgba(255, 77, 77, 0.05);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.view-container {
    padding: 2rem;
    animation: fadeInUp 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.hidden {
    display: none !important;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 22, 53, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 1rem;
    z-index: 2000;
    overflow-y: auto;
}

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

.modal-content {
    background: var(--bg-surface);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin-top: 5vh;
}

.btn-logout {
    background: transparent;
    color: var(--error);
    font-weight: 500;
    padding: 0.75rem;
    margin-top: 1rem;
    border: none;
}

/* Dividers */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    margin: 2.5rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-light);
}

.divider::before {
    margin-right: 1.5rem;
}

.divider::after {
    margin-left: 1.5rem;
}

/* Premium Stat Card */
.stat-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin: 0.5rem 0;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

/* Utility Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-md);
}

/* Badge Styles */
.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-gold {
    background: var(--accent-gold-gradient);
    color: white;
}

.badge-purple {
    background: var(--accent-light);
    color: var(--accent-primary);
}

/* Loader Refinement */
.loader {
    width: 32px;
    height: 32px;
    border: 3px solid var(--accent-light);
    border-top: 3px solid var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsiveness Utilities */
.desktop-only {
    display: block !important;
}

.mobile-only {
    display: none !important;
}

@media (max-width: 992px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    #app-container.fluid-container {
        flex-direction: column !important;
    }

    .sidebar {
        width: 100% !important;
        height: auto !important;
        position: fixed !important;
        bottom: 0 !important;
        top: auto !important;
        border-right: none !important;
        border-top: 1px solid var(--border-light) !important;
        flex-direction: row !important;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .sidebar-header {
        display: none !important;
    }

    .sidebar-nav {
        flex-direction: row !important;
        padding: 0.5rem !important;
        justify-content: space-around !important;
        overflow-x: auto;
        gap: 0 !important;
    }

    .nav-link {
        flex-direction: column !important;
        font-size: 0.65rem !important;
        padding: 0.5rem !important;
        gap: 0.25rem !important;
        border-radius: 0 !important;
    }

    .nav-link i {
        width: 20px !important;
        height: 20px !important;
    }

    .nav-link.active {
        background: transparent !important;
    }

    .main-content {
        padding: 1.5rem !important;
        margin-bottom: 70px !important;
    }
}

.notification-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ff4d4d;
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 99;
    padding: 0;
    margin: 0;
    line-height: 1;
    text-align: center;
}

/* System Utilities */
.hidden {
    display: none !important;
}


/* Themed Native Date/Time Inputs */
input[type="date"],
input[type="time"] {
    position: relative;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-weight: 500;
}

/* Custom Calendar Icon Color */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23483182" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>');
    cursor: pointer;
    width: 20px;
    height: 20px;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Calendar Modal/Popup Theme (Supported by some browsers) */
::-webkit-datetime-edit-fields-wrapper {
    padding: 2px;
}

::-webkit-datetime-edit-text {
    color: var(--text-muted);
    padding: 0 0.2rem;
}

::-webkit-datetime-edit-month-field:focus,
::-webkit-datetime-edit-day-field:focus,
::-webkit-datetime-edit-year-field:focus {
    background: var(--accent-primary);
    color: white;
    border-radius: 4px;
}

/* Analytics & Charts */
.analytics-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}

.analytics-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin: 0;
}

.analytics-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.trend-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--accent-light);
    color: var(--accent-primary);
}

/* Referral Card */
.referral-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.referral-code-box {
    background: #FDF7F2;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--accent-primary);
    letter-spacing: 0.1em;
}

/* Profile Sections */
.profile-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.info-row {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.info-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Legal/Action List */
.action-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: #FDF7F2;
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: background var(--transition-fast);
}

.action-list-item:hover {
    background: #F5EBE0;
}

/* Dashboard Layout */
#app-container.fluid-container {
    max-width: 100%;
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    box-shadow: none;
    background: transparent;
}

.sidebar {
    width: 280px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 100;
}

.sidebar-header {
    padding: 2.5rem 2rem;
    border-bottom: 1px solid var(--border-light);
    text-align: center;
}

.sidebar-nav {
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
    overflow-y: auto;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.nav-link i {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.nav-link:hover,
.nav-link.active {
    background: var(--accent-light);
    color: var(--accent-primary);
}

.nav-link.active {
    font-weight: 700;
    background: rgba(72, 49, 130, 0.08);
}

.nav-link.active i {
    opacity: 1;
    color: var(--accent-primary);
}

.sidebar-footer .nav-link {
    margin-top: 0;
    justify-content: center;
    font-weight: 700;
}

.main-content {
    flex: 1;
    padding: 2.5rem;
    overflow-y: auto;
    background: radial-gradient(circle at top right, rgba(72, 49, 130, 0.05), transparent 40%);
    width: 100%;
}

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.data-table th {
    background: rgba(72, 49, 130, 0.02);
    padding: 1.25rem 1rem;
    text-align: left;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-light);
}

.data-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
}

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

.data-table tr:hover td {
    background: rgba(72, 49, 130, 0.03);
}

/* Glass Card Variation */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-md);
}

/* Forced Mobile View for Employee/Client Dashboards */
.mobile-dashboard {
    background: radial-gradient(circle at top right, #fcfbf9, #f3f0ff) !important;
    min-height: 100vh;
}

.mobile-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    gap: 0;
}

.mobile-header .bell-icon {
    margin-right: 0px;
}

.mobile-header .logo {
    margin: 0 0px;
    /* 0px gap as requested */
}

.mobile-header .logout-icon {
    margin-left: 8px;
    /* 8px gap as requested */
}

.mobile-container {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    background: var(--bg-main);
    margin: 0 auto;
    position: relative;
    box-shadow: 0 0 100px rgba(72, 49, 130, 0.1);
    display: flex;
    flex-direction: column;
}

#toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 90%;
    max-width: 400px;
    pointer-events: none;
}

.toast {
    background: #ffffff;
    color: var(--text-primary);
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(31, 22, 53, 0.15);
    margin-bottom: 12px;
    animation: toastSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    pointer-events: auto;
    overflow: hidden;
    min-width: 280px;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-left: 5px solid var(--accent-primary);
}

.toast.success .toast-content {
    border-left-color: #10b981;
}

.toast.error .toast-content {
    border-left-color: #ef4444;
}

.toast.warning .toast-content {
    border-left-color: #f59e0b;
}

.toast-icon {
    width: 22px;
    height: 22px;
    color: inherit;
}

.toast-message {
    font-weight: 600;
    font-size: 0.95rem;
}

@keyframes toastSlideIn {
    from {
        transform: translateY(-30px) scale(0.9);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.75rem 0.5rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border-light);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
    flex: 1;
    position: relative;
    transition: var(--transition-fast);
}

.nav-item i {
    width: 22px;
    height: 22px;
    transition: var(--transition-fast);
}

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

.nav-item.active i {
    transform: translateY(-2px);
}

.nav-item.center-nav {
    flex: 1.2;
}

.nav-item.center-nav .nav-icon-wrapper {
    background: var(--accent-primary);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -2.5rem;
    box-shadow: 0 8px 20px rgba(72, 49, 130, 0.3);
    border: 4px solid var(--bg-main);
    transition: var(--transition-fast);
}

.nav-item.center-nav.active .nav-icon-wrapper {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 12px 25px rgba(72, 49, 130, 0.4);
}

.nav-dot {
    position: absolute;
    top: 0;
    right: 25%;
    width: 8px;
    height: 8px;
    background: var(--error);
    border-radius: 50%;
    border: 2px solid var(--bg-main);
    display: none;
}

/* Modal Enhancements */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 22, 53, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1rem;
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
}

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

.modal-content {
    background: white;
    width: 100%;
    max-width: 440px;
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--accent-light);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--accent-primary);
}

.status-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(31, 22, 53, 0.3);
    animation: fadeIn 0.3s ease;
}

.status-message {
    padding: 2rem 3rem;
    border-radius: 24px;
    background: white;
    box-shadow: 0 20px 50px rgba(31, 22, 53, 0.12);
    text-align: center;
    max-width: 90%;
    animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.status-message.success {
    border-top: 5px solid #10B981;
}

.status-message.error {
    border-top: 5px solid #FF4D4D;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Premium Aura Card */
.premium-card-aura {
    background: linear-gradient(135deg, #d4af37 0%, #f1d592 50%, #d4af37 100%);
    border-radius: 20px;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    color: #3e2b0a;
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.25), inset 0 0 20px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.premium-card-aura::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: auraShimmer 6s infinite;
}

@keyframes auraShimmer {
    0% {
        transform: translate(-30%, -30%) rotate(45deg);
    }

    100% {
        transform: translate(30%, 30%) rotate(45deg);
    }
}

/* Pricing Styles */
.price-old {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

.price-new {
    color: #8b5cf6;
    font-weight: 800;
    font-size: 1.15rem;
}

/* Custom Dropdown Component */
.aura-dropdown {
    position: relative;
    width: 100%;
    user-select: none;
}

.aura-dropdown-trigger {
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    padding: 0.75rem 1.25rem;
    padding-right: 2.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s;
    min-width: 160px;
}

.aura-dropdown-trigger:hover {
    border-color: var(--accent-primary);
    background: white;
}

.aura-dropdown-trigger::after {
    display: none;
}

.aura-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: none;
    overflow: hidden;
    animation: fadeInUp 0.2s ease;
}

.aura-dropdown.active .aura-dropdown-menu {
    display: block;
}

.aura-dropdown-item {
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.aura-dropdown-item:hover {
    background: var(--accent-light);
    color: var(--accent-primary);
}

.aura-dropdown-item.selected {
    background: var(--accent-primary);
    color: white;
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.grid-square {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.date-picker-group {
    display: none;
    gap: 0.5rem;
    align-items: center;
    background: var(--bg-surface);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    margin-top: 0.5rem;
    animation: fadeInUp 0.3s ease;
}

.date-picker-group.active {
    display: flex;
}

.stat-square {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.25rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

/* Notification Dot */
.notification-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid white;
}

.footer-aura {
    text-align: center;
    padding: 1.5rem 1rem 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-light);
    margin: 1.5rem 0 0.5rem;
}

.footer-aura a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
}

/* Center Booking FAB */
.nav-fab {
    background: var(--accent-gradient);
    color: white !important;
    border-radius: 50% !important;
    width: 62px !important;
    height: 62px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-26px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    border: 4px solid white;
    position: relative;
    cursor: pointer;
}

.nav-fab::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.6);
    animation: fabGlow 2.5s infinite;
    pointer-events: none;
}

@keyframes fabGlow {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.2;
    }

    100% {
        transform: scale(1);
        opacity: 0.6;
    }
}

/* Profile Actions Alignment */
.btn-logout,
.btn-text {
    font-family: 'Outfit', sans-serif !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.action-list-item.contact-highlight {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: white !important;
    font-weight: 700;
    border-radius: 16px;
    margin-top: 1.5rem;
    padding: 1.25rem !important;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    width: 100%;
}

.action-list-item.contact-highlight:active {
    transform: scale(0.98);
}

.action-list-item.contact-highlight i {
    width: 20px;
    height: 20px;
    color: white !important;
}

/* Admin Mobile Specifics */
.admin-tab {
    padding: 1.5rem;
}

.mobile-nav-admin {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 0.75rem 0.25rem;
    border-top: 1px solid var(--border-light);
    z-index: 5000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.mobile-nav-admin a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    width: 18%;
}

.mobile-nav-admin a i {
    width: 20px;
    height: 20px;
}

.mobile-nav-admin a.active {
    color: var(--accent-primary);
}

.other-menu-overlay {
    position: fixed;
    bottom: 70px;
    right: 10px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    z-index: 5001;
    min-width: 180px;
}

.other-menu-overlay.active {
    display: flex;
}

.other-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 12px;
}

.other-menu-item:active {
    background: var(--accent-light);
}

@media (max-width: 768px) {
    .sidebar {
        display: none !important;
    }

    .main-content {
        margin-left: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }

    .admin-tab {
        padding: 1rem;
        padding-top: 5.5rem !important;
        /* Extra space for fixed header */
    }

    .input-wrapper {
        min-height: 3rem !important;
        padding: 0 0.75rem !important;
    }

    .grid-2 {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -1rem;
        padding: 0 1rem;
    }

    .input-wrapper span {
        font-size: 0.75rem !important;
    }

    .stat-label {
        font-size: 0.7rem !important;
    }

    .stat-value {
        font-size: 2rem !important;
    }

    .card {
        padding: 1rem !important;
    }

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Force 2x2 for analytics */
    div.grid-3.analytics-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .modal-overlay .card {
        padding-bottom: 1rem !important;
        /* Space for fixed footer */
    }

    .modal-overlay h2 {
        font-size: 1.05rem !important;
        padding-right: 3.5rem !important;
        line-height: 1.2;
        word-wrap: break-word;
        max-width: 85%;
    }

    .mobile-hide {
        display: none !important;
    }

    .analytics-header {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .analytics-header div:last-child {
        width: 100% !important;
        align-items: stretch !important;
    }
}