/* Dashboard Layout Overhaul — Premium Design */
:root {
    --sidebar-width: 280px;

    /* Core palette (from main site) */
    --bg-dark: 240 10% 4%;
    --bg-card: 240 10% 7%;
    --bg-glass: 240 10% 10% / 0.7;

    --primary: 48 100% 50%;
    --primary-glow: 48 100% 50% / 0.3;

    --accent-500: #FFD700;
    --accent-400: #FDB931;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FDB931 50%, #FFD700 100%);
    --gradient-dark: radial-gradient(circle at top, hsl(240 10% 10%) 0%, hsl(240 10% 4%) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    --gradient-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);

    /* Shadows & Glows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.7);
    --shadow-gold: 0 0 20px hsla(var(--primary), 0.2);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.4);

    --gray-400: #888;
    --gray-600: #444;
}

/* ===== Ambient Background ===== */
.dashboard-ambient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.dashboard-ambient::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    animation: ambientDrift 20s ease-in-out infinite;
}

.dashboard-ambient::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    animation: ambientDrift 25s ease-in-out infinite reverse;
}

@keyframes ambientDrift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, 30px); }
}

/* ===== Body & Base ===== */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: hsl(var(--bg-dark));
    color: #fff;
    overflow-x: hidden;
}

.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    animation: wrapperFadeIn 0.6s ease-out;
}

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

/* ===== Sidebar Navigation ===== */
.sidebar-nav {
    width: var(--sidebar-width);
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 215, 0, 0.06);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
    transition: transform 0.3s ease;
}

.sidebar-brand {
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
}

.sidebar-brand i {
    color: var(--accent-500);
    animation: brandShimmer 3s ease-in-out infinite;
}

@keyframes brandShimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.4) drop-shadow(0 0 6px rgba(255, 215, 0, 0.4)); }
}

.sidebar-brand::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.3), transparent);
}

.sidebar-menu {
    flex: 1;
    padding: 0 1rem;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    position: relative;
    border-left: 3px solid transparent;
}

.menu-item i {
    font-size: 1.1rem;
    width: 20px;
    transition: color 0.3s ease;
}

.menu-item:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 215, 0, 0.05);
}

.menu-item.active {
    color: var(--accent-500);
    background: rgba(255, 215, 0, 0.08);
    border-left-color: var(--accent-500);
}

.menu-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), transparent);
    margin: 1.5rem 1.5rem;
}

.sidebar-footer {
    padding: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.06);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Space Grotesk';
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.user-info {
    overflow: hidden;
}

.user-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.user-email {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ===== Main Content Area ===== */
.dashboard-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 2.5rem 3rem;
    position: relative;
    z-index: 1;
}

.mobile-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 90;
    border-bottom: 1px solid rgba(255, 215, 0, 0.06);
}

.mobile-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== Tabs and Sections ===== */
.dashboard-tab {
    display: none;
    animation: fadeInTab 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-tab.active {
    display: block;
}

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

/* Staggered children animation */
.dashboard-tab.active > * {
    animation: staggerFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.dashboard-tab.active > *:nth-child(1) { animation-delay: 0s; }
.dashboard-tab.active > *:nth-child(2) { animation-delay: 0.08s; }
.dashboard-tab.active > *:nth-child(3) { animation-delay: 0.16s; }
.dashboard-tab.active > *:nth-child(4) { animation-delay: 0.24s; }

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

.tab-header {
    margin-bottom: 2.5rem;
}

.tab-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tab-header p {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Grid Layouts ===== */
.tab-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2.5rem;
}

/* ===== Balance Display ===== */
.balance-display {
    text-align: center;
    margin-bottom: 2.5rem;
}

.balance-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.5rem;
    display: block;
}

.balance-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
}

/* ===== Quick Actions ===== */
.card-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.quick-action {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.quick-action i {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.quick-action:hover {
    background: rgba(255, 215, 0, 0.08);
    border-color: rgba(255, 215, 0, 0.2);
    color: #fff;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.1);
}

.quick-action:hover i {
    color: var(--accent-500);
}

.quick-action.danger:hover {
    background: rgba(255, 7, 58, 0.08);
    border-color: rgba(255, 7, 58, 0.2);
    box-shadow: 0 8px 25px rgba(255, 7, 58, 0.1);
}

.quick-action.danger:hover i {
    color: #ff073a;
}

.quick-action.whatsapp {
    background: rgba(37, 211, 102, 0.05);
}

.quick-action.whatsapp i {
    color: #25D366;
}

.quick-action.whatsapp:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.25);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.1);
}

/* ===== Transactions Card (Glass) ===== */
.transactions-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 215, 0, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-glass);
}

.transactions-card .card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.transactions-card .card-header h3 {
    font-size: 1rem;
    margin: 0;
}

.transactions-card .card-header a {
    font-size: 0.8rem;
    color: var(--accent-500);
    text-decoration: none;
    transition: color 0.3s ease;
}

.transactions-card .card-header a:hover {
    color: #fff;
}

.transaction-list-compact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Transaction items */
.transaction-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.transaction-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.t-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* ===== PIN Reveal Section (Glass) ===== */
.pin-reveal-section {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.06);
    margin-top: 2rem;
}

.pin-reveal-section h3 {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.pin-display-unified {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.pin-display-unified input {
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'Space Grotesk';
    font-size: 1.8rem;
    letter-spacing: 6px;
    width: 120px;
    text-align: center;
    pointer-events: none;
}

.pin-display-unified i {
    cursor: pointer;
    color: var(--accent-500);
    padding: 0.5rem;
    transition: transform 0.2s ease;
}

.pin-display-unified i:hover {
    transform: scale(1.15);
}

/* ===== Mobility Tab ===== */
.mobility-container {
    max-width: 900px;
}

.booking-options-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.booking-option-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.booking-option-card:hover {
    border-color: rgba(255, 215, 0, 0.15);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.05);
}

.booking-option-card.active {
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.05);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.08);
}

.option-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.active .option-icon {
    background: var(--gradient-gold);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.25);
}

.option-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.option-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Glass card (booking form) */
.glass-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 215, 0, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: var(--shadow-glass);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.full-width {
    grid-column: span 2;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 1rem;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.3s ease;
}

.input-with-icon input {
    padding-left: 2.8rem;
    width: 100%;
}

.input-with-icon:focus-within i {
    color: var(--accent-500);
}

.booking-estimate {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.price-tag {
    font-family: 'Space Grotesk';
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-500);
}

/* ===== Bookings Tab ===== */

/* Booking cards (injected by JS) */
.booking-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.booking-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 215, 0, 0.2);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.08);
}

/* Bookings empty state */
#no-bookings {
    position: relative;
}

#no-bookings::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ===== Experience Cards ===== */
.experiences-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.experience-card-db {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.experience-card-db:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.15);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.08);
}

.exp-img-db {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: hsl(var(--bg-card));
}

.exp-badge-db {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 0.75rem;
    color: var(--accent-500);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.exp-content-db {
    padding: 1.5rem;
}

.exp-content-db h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.exp-meta-db {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.5rem;
}

.btn-book-db {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-book-db:hover {
    background: var(--gradient-gold);
    color: #000;
    border-color: var(--accent-500);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

/* ===== Buttons ===== */
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--accent-500);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.25);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
}

.btn-outline:hover {
    border-color: rgba(255, 215, 0, 0.3);
    color: var(--accent-500);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ===== Form Inputs (Glass) ===== */
.dashboard-form input,
.dashboard-form select,
.form-input,
.form-select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.dashboard-form input:focus,
.form-input:focus,
.form-select:focus,
#cab-booking-form input:focus,
#cab-booking-form select:focus {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.08);
    background: rgba(255, 255, 255, 0.05);
}

#cab-booking-form input,
#cab-booking-form select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Currency Toggle ===== */
.currency-toggle-btn {
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.15);
    color: #FFD700;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.currency-toggle-btn:hover {
    background: rgba(255, 215, 0, 0.15);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.1);
}

/* ===== Modals (Glass) ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(15, 15, 20, 0.95);
    border: 1px solid rgba(255, 215, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 25px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

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

/* ===== Loading States ===== */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 215, 0, 0.1);
    border-top-color: var(--accent-500);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.loading-state {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    padding: 1.5rem;
    font-size: 0.85rem;
}

/* ===== Card stack gold glow ===== */
.credit-card.card-active {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 215, 0, 0.08);
}

/* ===== Auth & Login Styles ===== */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
}

.auth-box {
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.1);
    padding: 3rem;
    border-radius: 30px;
    width: 100%;
    max-width: 440px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: authBoxIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes authBoxIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-subtitle {
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.auth-method-form {
    text-align: left;
}

.auth-btn {
    width: 100%;
    padding: 1rem;
    background: var(--accent-500);
    color: #000;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
    filter: brightness(1.1);
}

.auth-btn:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.auth-link {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

.auth-link a {
    color: var(--accent-500);
    text-decoration: none;
    transition: color 0.3s;
}

.auth-link a:hover {
    color: white;
    text-decoration: underline;
}

#message {
    animation: fadeIn 0.4s ease;
}

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

/* Form refinement (auth pages) */
.form-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 1.25rem;
    color: #fff;
    border-radius: 12px;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.06);
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-left: 4px;
}

/* ===== Mobile Sidebar Overlay ===== */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99;
}

.sidebar-overlay.active {
    display: block;
}

/* ===== Responsive Dashboard ===== */
@media (max-width: 1000px) {
    .tab-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-nav {
        transform: translateX(-100%);
    }

    .sidebar-nav.active {
        transform: translateX(0);
    }

    .dashboard-main {
        margin-left: 0;
        padding: 2rem;
    }

    .mobile-header {
        display: flex;
    }

    /* Ambient - smaller on mobile */
    .dashboard-ambient::before {
        width: 400px;
        height: 400px;
    }

    .dashboard-ambient::after {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 600px) {
    .form-grid,
    .booking-options-row {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: span 1;
    }

    .balance-amount {
        font-size: 2.25rem;
    }

    .dashboard-main {
        padding: 1.5rem;
    }

    .tab-header h2 {
        font-size: 1.6rem;
    }

    .glass-card {
        padding: 1.5rem;
        border-radius: 20px;
    }
}

/* ===== Scrollbar ===== */
.sidebar-menu::-webkit-scrollbar {
    width: 4px;
}

.sidebar-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.15);
    border-radius: 4px;
}

/* ===== Float animation (used by card upsell) ===== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
