/* ==========================================================================
   Thambapanni Unified Design System 2027
   Luxury Gold & Royal Navy Palette | Responsive Desktop & Native Mobile PWA
   ========================================================================== */

:root {
    --gold-primary: #D4AF37;
    --gold-light: #F7E7A9;
    --gold-dark: #AA820A;
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #AA820A 100%);
    
    /* Light Theme (Default) */
    --bg-page: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-surface: #F1F5F9;
    --bg-hover: #E2E8F0;
    --border-color: #E2E8F0;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    
    --navy-brand: #0B1329;
    --navy-surface: #152238;
    --white: #FFFFFF;
    
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-gold: 0 4px 14px 0 rgba(212, 175, 55, 0.35);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;
    
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --bottom-nav-height: 64px;
}

[data-theme="dark"] {
    --bg-page: #0B1120;
    --bg-card: #131E35;
    --bg-surface: #1E2D4A;
    --bg-hover: #26385C;
    --border-color: #243553;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

/* Reset & Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    font-family: var(--font-family);
    background-color: var(--bg-page);
    color: var(--text-primary);
    transition: background-color 0.25s ease, color 0.25s ease;
    overflow-x: hidden !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}

p {
    line-height: 1.5;
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
}

/* Container - 90% full width on desktop per specifications */
.container {
    width: 90%;
    max-width: 90%;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header & Desktop Navbar */
.app-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--gold-primary);
    text-decoration: none;
}

.brand-web-img {
    height: 48px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}

.brand-logo:hover .brand-web-img {
    transform: scale(1.02);
}

.brand-mob-img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: var(--shadow-gold);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    cursor: pointer;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-primary);
    background: var(--bg-surface);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language Switcher */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 3px;
    gap: 2px;
}

.lang-btn {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    color: var(--gold-primary);
}

.lang-btn.active {
    background: var(--gold-gradient);
    color: #FFFFFF;
    box-shadow: var(--shadow-sm);
}

.lang-select-dropdown {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 4px 8px;
    outline: none;
    cursor: pointer;
}

/* Theme Toggle Button */
.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: var(--bg-hover);
    color: var(--gold-primary);
}

/* Primary Button */
.btn-primary {
    background: var(--gold-gradient);
    color: #FFFFFF;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    transition: transform 0.15s, box-shadow 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:active {
    transform: scale(0.97);
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    font-weight: 600;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: var(--bg-hover);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-primary);
    border: 1.5px solid var(--gold-primary);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

.btn-outline-gold:hover {
    background: var(--gold-primary);
    color: #FFFFFF;
}

.user-profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-surface);
    border: 1.5px solid var(--gold-primary);
    padding: 4px 12px 4px 6px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.2s;
}

.user-profile-badge:hover {
    background: var(--bg-hover);
    box-shadow: var(--shadow-sm);
}

.user-avatar-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

.auth-demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
    margin: 12px 0 16px 0;
}

.demo-chip {
    padding: 8px 10px;
    background: var(--bg-surface);
    border: 1px dashed var(--gold-primary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: left;
    transition: all 0.15s;
    font-size: 0.75rem;
}

.demo-chip:hover {
    background: var(--gold-light);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
}

.demo-chip strong {
    display: block;
    color: var(--gold-primary);
    font-size: 0.82rem;
}

.demo-chip span {
    color: var(--text-secondary);
    font-size: 0.72rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 40px 0 24px 0;
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-page) 100%);
    border-bottom: 1px solid var(--border-color);
}

/* Hide hero section when inside any dashboard */
body.in-dashboard .hero-section,
body[data-tab="dashboard"] .hero-section {
    display: none !important;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-surface);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 2.3rem;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Priority Tabs Filter - Multi-row wrap if screen is compact, zero horizontal scroll */
.priority-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
}

.priority-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: var(--bg-surface);
    padding: 6px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    gap: 6px;
    max-width: 100%;
}

.priority-tab-btn {
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.92rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.priority-tab-btn.active {
    background: var(--gold-gradient);
    color: #FFFFFF;
    box-shadow: var(--shadow-sm);
}

/* Category Multi-Row Bar - Zero horizontal scroll, wraps into rows */
.category-scroller {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 0;
    overflow: visible;
}

.cat-chip {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.cat-chip:hover, .cat-chip.active {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: var(--bg-surface);
}

/* Search Bar Component */
.search-box-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-md);
    margin: 20px auto 30px auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 12px;
    align-items: center;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.input-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.input-field, .select-field {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.input-field:focus, .select-field:focus {
    border-color: var(--gold-primary);
}

/* Card Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Vendor Card */
.vendor-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.vendor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-primary);
}

.vendor-cover-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    background: var(--bg-surface);
    overflow: hidden;
}

.vendor-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-featured {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gold-gradient);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.badge-category {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(11, 19, 41, 0.85);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
}

.vendor-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vendor-title {
    font-size: 1.15rem;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vendor-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.vendor-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

/* Proposal Card */
.proposal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    padding: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, border-color 0.2s;
}

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

.proposal-header {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}

.proposal-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid var(--gold-primary);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.proposal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.proposal-tag-bride {
    background: #FCE7F3;
    color: #BE185D;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

.proposal-tag-groom {
    background: #E0E7FF;
    color: #4338CA;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

.proposal-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.spec-item {
    background: var(--bg-surface);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
}

.spec-title {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.spec-val {
    font-weight: 600;
}

/* Porondam Wizard Styles */
.wizard-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    margin: 20px auto;
    max-width: 900px;
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px;
    position: relative;
}

.wizard-step {
    flex: 1;
    text-align: center;
    position: relative;
    cursor: pointer;
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    margin: 0 auto 6px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-secondary);
}

.wizard-step.active .step-num {
    background: var(--gold-gradient);
    border-color: var(--gold-primary);
    color: #fff;
}

.step-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.report-score-box {
    text-align: center;
    padding: 24px;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    border: 2px dashed var(--gold-primary);
}

.score-circle {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--gold-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.verdict-text {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Porondam Table */
.porondam-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 0.9rem;
}

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

.porondam-table th {
    background: var(--bg-surface);
    font-weight: 700;
    color: var(--text-secondary);
}

.badge-subha {
    background: #DCFCE7;
    color: #15803D;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

.badge-asubha {
    background: #FEE2E2;
    color: #B91C1C;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

/* PWA Add to Home Screen Banner */
.pwa-install-banner {
    display: none;
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + 12px);
    left: 12px;
    right: 12px;
    z-index: 999;
    background: var(--navy-surface);
    color: #FFFFFF;
    border: 1px solid var(--gold-primary);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    animation: slideUp 0.3s ease;
}

.pwa-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pwa-banner-text {
    font-size: 0.85rem;
    line-height: 1.3;
}

.pwa-banner-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

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

/* Mobile Bottom Navigation Bar (Hidden on Desktop) */
.mobile-bottom-nav {
    display: none;
}

/* Mobile App Bar Header (Hidden on Desktop) */
.mobile-top-bar {
    display: none;
}

/* ==========================================================================
   Mobile-Specific Layout (Native App Feeling)
   ========================================================================== */
@media (max-width: 768px) {
    /* Hide desktop navbar */
    .app-header {
        display: none;
    }

    body {
        padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom) + 16px);
    }

    /* Mobile Top App Bar */
    .mobile-top-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: sticky;
        top: 0;
        z-index: 1000;
        height: 56px;
        padding: 0 16px;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-sm);
    }

    .mobile-brand {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 1.15rem;
        font-weight: 800;
        color: var(--gold-primary);
    }

    .mobile-top-actions {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    /* Mobile Fixed Bottom Navigation Bar */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: var(--bottom-nav-height);
        background: var(--bg-card);
        border-top: 1px solid var(--border-color);
        z-index: 1001;
        justify-content: space-around;
        align-items: center;
        padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    }

    .bottom-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        color: var(--text-muted);
        font-size: 0.72rem;
        font-weight: 600;
        gap: 4px;
        cursor: pointer;
        transition: color 0.15s;
    }

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

    .bottom-nav-icon {
        width: 22px;
        height: 22px;
    }

    /* Container - 97% full width on mobile view per specifications */
    .container {
        width: 97%;
        max-width: 97%;
        padding: 0 4px;
    }

    /* Hero section for mobile */
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.92rem;
    }

    .search-box-card {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Priority Tabs on Mobile: Wrap into 2 rows, zero horizontal scroll */
    .priority-tabs {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        overflow: visible;
        border-radius: var(--radius-md);
        padding: 6px;
    }

    .priority-tab-btn {
        padding: 8px 10px;
        font-size: 0.8rem;
        flex: 1 1 calc(50% - 10px);
        min-width: 130px;
        justify-content: center;
        text-align: center;
        white-space: normal;
    }
}

/* Modal Windows */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
}

/* Toast Messages */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--navy-surface);
    color: #fff;
    border-left: 4px solid var(--gold-primary);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    font-size: 0.9rem;
    animation: fadeIn 0.2s ease;
}

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

/* ==============================================================
   Role-Based Dashboards (Admin, Vendor, Matrimony, Marketeer)
   Modern Executive UI & 100% Mobile Responsive Architecture
   ============================================================== */
.dashboard-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    padding-bottom: calc(var(--bottom-nav-height) + 40px);
}

.dashboard-header-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.dashboard-header-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #D4AF37 0%, #F59E0B 50%, #B45309 100%);
}

.dashboard-user-info {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 260px;
}

.dashboard-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F59E0B 0%, #D4AF37 50%, #92400E 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.dashboard-title-box h2 {
    margin: 0 0 4px 0;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.dashboard-title-box p {
    margin: 0 0 6px 0;
    color: var(--text-secondary);
    font-size: 0.88rem;
    word-break: break-word;
}

.dash-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.status-dot-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.dash-role-admin { background: rgba(217, 119, 6, 0.15); color: #D97706; border: 1px solid rgba(217, 119, 6, 0.3); }
.dash-role-vendor { background: rgba(59, 130, 246, 0.15); color: #2563EB; border: 1px solid rgba(59, 130, 246, 0.3); }
.dash-role-bride { background: rgba(236, 72, 153, 0.15); color: #DB2777; border: 1px solid rgba(236, 72, 153, 0.3); }
.dash-role-groom { background: rgba(99, 102, 241, 0.15); color: #4F46E5; border: 1px solid rgba(99, 102, 241, 0.3); }
.dash-role-marketeer { background: rgba(16, 185, 129, 0.15); color: #059669; border: 1px solid rgba(16, 185, 129, 0.3); }

/* Admin Role Switcher Ribbon */
.admin-preview-bar {
    background: var(--navy-surface);
    color: #fff;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.86rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.admin-preview-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-preview-btn {
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-preview-btn.active, .admin-preview-btn:hover {
    background: var(--gold-primary);
    color: #000;
    border-color: var(--gold-primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Dashboard Nav Tabs - Modern Mobile Pill Bar */
.dash-nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    padding: 4px;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: visible;
}

.dash-tab-btn {
    padding: 10px 18px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-tab-btn:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.dash-tab-btn.active {
    color: #000;
    background: var(--gold-primary);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.35);
}

/* KPI Statistics Cards Grid */
.dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.dash-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

.dash-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
}

.stat-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.stat-icon-gold { background: rgba(212, 163, 89, 0.16); color: var(--gold-primary); }
.stat-icon-blue { background: rgba(59, 130, 246, 0.16); color: #3B82F6; }
.stat-icon-green { background: rgba(16, 185, 129, 0.16); color: #10B981; }
.stat-icon-purple { background: rgba(168, 85, 247, 0.16); color: #A855F7; }

.stat-details {
    flex: 1;
    min-width: 0;
}

.stat-val {
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 3px;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.3;
}

/* Dashboard Content Cards */
.dash-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease;
}

.dash-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 14px;
}

.dash-card-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.01em;
}

/* Styled Tables & Responsive Touch Wrapper */
.dash-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    box-shadow: inset -6px 0 8px -4px rgba(0, 0, 0, 0.08);
}

.dash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
    min-width: 620px;
}

.dash-table th {
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-weight: 600;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
}

.dash-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

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

.dash-table tr:hover td {
    background: var(--bg-hover);
}

/* Badges */
.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.badge-status.active { background: rgba(16, 185, 129, 0.15); color: #059669; border: 1px solid rgba(16, 185, 129, 0.25); }
.badge-status.pending { background: rgba(245, 158, 11, 0.15); color: #D97706; border: 1px solid rgba(245, 158, 11, 0.25); }
.badge-status.suspended, .badge-status.rejected { background: rgba(239, 68, 68, 0.15); color: #DC2626; border: 1px solid rgba(239, 68, 68, 0.25); }
.badge-status.new { background: rgba(59, 130, 246, 0.15); color: #2563EB; border: 1px solid rgba(59, 130, 246, 0.25); }
.badge-status.contacted { background: rgba(139, 92, 246, 0.15); color: #7C3AED; border: 1px solid rgba(139, 92, 246, 0.25); }
.badge-status.booked, .badge-status.paid { background: rgba(16, 185, 129, 0.2); color: #047857; border: 1px solid rgba(16, 185, 129, 0.35); }

/* Plan Badges */
.badge-plan {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.badge-plan-platinum { background: #FEF3C7; color: #92400E; border: 1px solid #F59E0B; }
.badge-plan-gold { background: #FEF9C3; color: #854D0E; border: 1px solid #EAB308; }
.badge-plan-silver { background: #F1F5F9; color: #475569; border: 1px solid #94A3B8; }
.badge-plan-basic { background: var(--bg-surface); color: var(--text-secondary); border: 1px solid var(--border-color); }

/* Progress Bars */
.progress-container {
    width: 100%;
    height: 10px;
    background: var(--bg-surface);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
    margin: 8px 0;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #F59E0B 0%, #D4AF37 50%, #10B981 100%);
    border-radius: var(--radius-full);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ad Duration Banner Card */
.ad-campaign-card {
    background: linear-gradient(135deg, rgba(212, 163, 89, 0.1) 0%, rgba(30, 58, 138, 0.06) 100%);
    border: 1px solid rgba(212, 163, 89, 0.35);
    border-radius: var(--radius-lg);
    padding: 22px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(212, 163, 89, 0.08);
}

/* ==============================================================
   Comprehensive Mobile & Tablet Responsive Rules (< 768px)
   ============================================================== */
@media (max-width: 768px) {
    .dashboard-container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        padding-bottom: calc(var(--bottom-nav-height) + 36px);
    }

    .dashboard-header-card {
        padding: 18px 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .dashboard-user-info {
        gap: 14px;
        min-width: 100%;
    }

    .dashboard-avatar {
        width: 52px;
        height: 52px;
        font-size: 1.35rem;
    }

    .dashboard-title-box h2 {
        font-size: 1.25rem;
    }

    .dashboard-header-card > div:last-child {
        display: flex;
        width: 100%;
        gap: 8px;
    }

    .dashboard-header-card > div:last-child button {
        flex: 1;
        justify-content: center;
        min-height: 44px;
        font-size: 0.88rem;
    }

    /* Admin Preview Bar Responsive - 2 Rows */
    .admin-preview-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 14px;
    }

    .admin-preview-chips {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        overflow: visible;
        padding-bottom: 4px;
    }

    .admin-preview-btn {
        flex: 1 1 calc(50% - 6px);
        text-align: center;
        justify-content: center;
        min-height: 36px;
        font-size: 0.76rem;
    }

    /* Tab Pills on Mobile - Wrap into 2 rows, zero horizontal scroll */
    .dash-nav-tabs {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 18px;
        padding: 4px;
        gap: 6px;
        overflow: visible;
    }

    .dash-tab-btn {
        padding: 8px 10px;
        font-size: 0.82rem;
        min-height: 40px;
        flex: 1 1 calc(50% - 6px);
        justify-content: center;
        text-align: center;
    }

    /* Stat Cards 2x2 Grid on Mobile */
    .dash-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 20px;
    }

    .dash-stat-card {
        padding: 14px 12px;
        gap: 10px;
    }

    .stat-icon-wrapper {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .stat-val {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.74rem;
    }

    /* Content Cards & Headers */
    .dash-card {
        padding: 16px 14px;
        margin-bottom: 18px;
        border-radius: var(--radius-md);
    }

    .dash-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 16px;
    }

    .dash-card-header button {
        width: 100%;
        justify-content: center;
        min-height: 44px;
    }

    /* Automatic Responsive Form Stacking: Any multi-column form grids stack cleanly */
    .dash-card form div[style*="grid-template-columns"],
    .modal-content form div[style*="grid-template-columns"],
    .dash-card div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .dash-card form .input-field,
    .dash-card form .select-field,
    .dash-card form button[type="submit"] {
        min-height: 44px;
    }

    /* Action button bars inside cards */
    .dash-card > div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .dash-card > div[style*="display: flex"] button {
        width: 100% !important;
        justify-content: center !important;
        min-height: 44px !important;
    }
}

/* Extra Small Phones (< 440px) */
@media (max-width: 440px) {
    .dash-stats-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .dash-stat-card {
        padding: 12px 14px;
    }

    .stat-val {
        font-size: 1.35rem;
    }
}

/* ==============================================================
   Native App Launch / Loading Splash Screen
   ============================================================== */
.app-splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #0F172A;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.45s ease;
}

.app-splash-screen.splash-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
    max-width: 320px;
    animation: splashPop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes splashPop {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.splash-logo-container {
    position: relative;
    margin-bottom: 20px;
}

.splash-app-logo {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.35), 0 4px 12px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(212, 175, 55, 0.4);
    animation: logoPulse 2s infinite ease-in-out;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.splash-brand-text {
    color: #F8FAFC;
    font-size: 1.55rem;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.splash-brand-tagline {
    color: #94A3B8;
    font-size: 0.82rem;
    line-height: 1.4;
    margin-bottom: 24px;
}

.splash-loader-bar {
    width: 140px;
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.splash-loader-indicator {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 50%;
    background: linear-gradient(90deg, #F59E0B, #D4AF37, #10B981);
    border-radius: 999px;
    animation: splashProgress 1.4s infinite ease-in-out;
}

@keyframes splashProgress {
    0% { left: -50%; width: 50%; }
    50% { left: 25%; width: 60%; }
    100% { left: 100%; width: 50%; }
}

/* ==============================================================
   Vendor Multi-Step Onboarding & Subscription Flow Styles
   ============================================================== */
.onboarding-steps-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    position: relative;
    gap: 8px;
}

.onboarding-step-item {
    flex: 1;
    text-align: center;
    padding: 8px 4px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.onboarding-step-item.active {
    background: var(--gold-primary);
    color: #000;
    border-color: var(--gold-primary);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.35);
}

.onboarding-step-item.completed {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    border-color: rgba(16, 185, 129, 0.3);
}

.onboarding-plan-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.onboarding-plan-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.onboarding-plan-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.onboarding-plan-card.selected {
    border-color: var(--gold-primary);
    background: linear-gradient(135deg, rgba(212, 163, 89, 0.08) 0%, rgba(245, 158, 11, 0.04) 100%);
    box-shadow: 0 0 0 1px var(--gold-primary), 0 8px 24px rgba(212, 175, 55, 0.15);
}

.onboarding-plan-tag {
    position: absolute;
    top: -10px;
    right: 14px;
    background: linear-gradient(90deg, #F59E0B, #D4AF37);
    color: #000;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.plan-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.plan-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.plan-card-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--gold-primary);
    margin-bottom: 10px;
}

.plan-card-features {
    font-size: 0.8rem;
    padding-left: 18px;
    margin: 0 0 14px 0;
    line-height: 1.6;
    color: var(--text-secondary);
    flex: 1;
}

.onboarding-presets-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 6px;
    margin-bottom: 14px;
}

.preset-chip {
    padding: 4px 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.74rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
}

.preset-chip:hover {
    border-color: var(--gold-primary);
    color: var(--text-primary);
    background: var(--bg-hover);
}

.onboarding-summary-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
    margin-bottom: 20px;
}

.payment-method-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.payment-option-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.88rem;
    transition: all 0.2s ease;
}

.payment-option-label:hover {
    border-color: var(--gold-primary);
}

.payment-option-label input[type="radio"]:checked + .payment-option-text {
    font-weight: 700;
    color: var(--gold-primary);
}

@media (max-width: 768px) {
    .onboarding-steps-bar {
        font-size: 0.72rem;
    }
    .onboarding-step-item {
        padding: 6px 2px;
        font-size: 0.72rem;
    }
    .onboarding-plan-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ==============================================================
   VIP Vendors Hero Slider Carousel
   ============================================================== */
.vip-slider-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
    background: #0B0F19;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    min-height: 380px;
}

.vip-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

.vip-slide.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

.vip-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45);
}

.vip-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 15, 25, 0.95) 0%, rgba(11, 15, 25, 0.7) 50%, rgba(11, 15, 25, 0.88) 100%);
}

.vip-slide-content {
    position: relative;
    z-index: 2;
    padding: 32px 36px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 28px;
    align-items: center;
}

.vip-crown-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(170, 130, 10, 0.15) 100%);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.vip-slide-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 8px;
    line-height: 1.25;
}

.vip-slide-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #E2E8F0;
    font-size: 0.88rem;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.vip-slide-desc {
    color: #CBD5E1;
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vip-slide-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.vip-quick-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 20px;
    backdrop-filter: blur(12px);
    color: #FFFFFF;
}

.vip-slider-dots {
    position: absolute;
    bottom: 16px;
    left: 36px;
    z-index: 5;
    display: flex;
    gap: 8px;
}

.vip-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.25s ease;
}

.vip-dot.active {
    width: 28px;
    border-radius: var(--radius-full);
    background: var(--gold-primary);
}

.vip-slider-arrows {
    position: absolute;
    bottom: 14px;
    right: 28px;
    z-index: 5;
    display: flex;
    gap: 8px;
}

.vip-arrow-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.vip-arrow-btn:hover {
    background: var(--gold-primary);
    color: #000;
}

@media (max-width: 768px) {
    .vip-slider-card {
        min-height: auto;
    }
    .vip-slide-content {
        grid-template-columns: 1fr;
        padding: 20px 16px 54px 16px;
        gap: 14px;
    }
    .vip-slide-title {
        font-size: 1.35rem;
    }
    .vip-quick-box {
        display: none;
    }
}

/* ==============================================================
   Vendor Detail Page Styles
   ============================================================== */
.vendor-detail-cover {
    position: relative;
    height: 340px;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: -60px;
    background: #0B1120;
}

.vendor-detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.vendor-detail-back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.vendor-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 5;
    margin-bottom: 30px;
}

.vendor-detail-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.vendor-detail-brand-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 280px;
}

.vendor-detail-logo {
    width: 88px;
    height: 88px;
    border-radius: 18px;
    object-fit: cover;
    border: 3px solid var(--gold-primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    background: #fff;
    flex-shrink: 0;
}

.vendor-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.vendor-package-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.vendor-package-card:hover {
    transform: translateY(-2px);
    border-color: var(--gold-primary);
}

.vendor-package-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gold-primary);
    margin: 6px 0;
}

.vendor-detail-grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
}

@media (max-width: 900px) {
    .vendor-detail-grid-layout {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .vendor-detail-cover {
        height: 220px !important;
        margin-bottom: -30px !important;
    }
    .vendor-detail-card {
        padding: 18px 14px !important;
    }
    .vendor-detail-header-flex {
        flex-direction: column !important;
    }
}

/* ==============================================================
   Amanda AI Wedding Assistant Chatbot
   ============================================================== */
.ai-assistant-badge-btn {
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 1500;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 10px;
    background: var(--navy-surface);
    color: #FFFFFF;
    border: 2px solid var(--gold-primary);
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 16px rgba(212, 175, 55, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-assistant-badge-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 24px rgba(212, 175, 55, 0.55);
}

.ai-avatar-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-primary);
    animation: amandaPulse 2.5s infinite;
}

@keyframes amandaPulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.ai-assistant-drawer {
    position: fixed;
    bottom: 88px;
    right: 24px;
    width: 380px;
    max-width: calc(100vw - 32px);
    height: 540px;
    max-height: calc(100vh - 120px);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    z-index: 1600;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-drawer-header {
    background: var(--navy-surface);
    color: #fff;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--gold-primary);
}

.ai-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-bubble-bot {
    align-self: flex-start;
    max-width: 88%;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 14px 14px 14px 2px;
    padding: 12px 14px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-primary);
}

.ai-bubble-user {
    align-self: flex-end;
    max-width: 85%;
    background: var(--gold-gradient);
    color: #000;
    font-weight: 600;
    border-radius: 14px 14px 2px 14px;
    padding: 10px 14px;
    font-size: 0.88rem;
    line-height: 1.4;
}

.ai-prompt-chip {
    padding: 6px 12px;
    background: var(--bg-surface);
    border: 1px solid var(--gold-primary);
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s;
    text-align: left;
}

.ai-prompt-chip:hover {
    background: var(--gold-light);
    color: #000;
}

.ai-matched-vendor-mini {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 6px;
    box-shadow: var(--shadow-sm);
}

.ai-drawer-footer {
    padding: 12px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-surface);
    display: flex;
    gap: 8px;
}

@media (max-width: 768px) {
    .ai-assistant-badge-btn {
        bottom: calc(var(--bottom-nav-height) + 16px);
        right: 14px;
        padding: 6px 12px 6px 8px;
    }
    .ai-assistant-drawer {
        bottom: calc(var(--bottom-nav-height) + 16px);
        right: 12px;
        left: 12px;
        width: auto;
        height: 480px;
    }
}



