﻿:root {
    --gold: #D4AF37;
    --black: #000000;
    --sidebar-bg: #0a0a0a;
    --body-bg: #000000;
    --muted: #666;
    --luxe-ease: cubic-bezier(0.32, 0.72, 0, 1);
    --shimmer: linear-gradient(90deg, transparent 0%, rgba(212,175,55,0.04) 50%, transparent 100%);
}

* { box-sizing: border-box; }
::-webkit-scrollbar { width: 0px; height: 0; background: transparent; display: none; }
* { -ms-overflow-style: none; scrollbar-width: none; }

html, body { height: 100%; overflow: hidden; margin: 0; }

body {
    display: grid;
    grid-template-columns: 260px 1fr;
    background: var(--body-bg);
    color: white;
    font-family: 'Poppins', sans-serif;
}

#octo-admin-sidebar {
    width: 250px;
    background: #050505;
    border-right: 1px solid #1a1a1a;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
    z-index: 9999;
}

#main-view, .main-wrapper {
    overflow-y: auto;
    min-height: 100vh;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}

#admin-top-nav { flex-shrink: 0; position: sticky; }

.view-section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

#view-chat {
    width: 100%;
    max-width: 100%;
}

.chat-hub-split {
    width: 100%;
    grid-template-columns: 350px 1fr;
}

/* === CLIENT QUICK ACTIONS === */
.client-quick-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 0;
    background: transparent !important;
}
.client-quick-actions button, .client-quick-actions .btn-search {
    background: #111 !important;
    border: 1px solid #222 !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s ease;
}
.client-quick-actions button:hover, .client-quick-actions .btn-search:hover {
    border-color: var(--gold) !important;
    color: var(--gold) !important;
    background: rgba(212,175,55,0.05) !important;
    transform: translateY(-2px);
}

/* === PROGRESS FEED === */
.progress-feed {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    padding-bottom: 8px;
    user-select: none;
    -webkit-overflow-scrolling: touch;
}
.progress-feed-track {
    display: flex;
    gap: 16px;
    width: max-content;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
    flex: 1;
    padding: 4px 0;
}
.progress-feed-track::-webkit-scrollbar { display: none; }
.progress-feed-track:active { cursor: grabbing; }
.progress-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,0.3);
    background: rgba(10,10,10,0.8);
    color: var(--gold);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
    line-height: 1;
    padding: 0;
}
.progress-nav:hover { background: rgba(212,175,55,0.15); border-color: var(--gold); transform: scale(1.1); }
.progress-nav:active { transform: scale(0.95); }
.progress-card {
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    min-width: 280px;
    max-width: 320px;
    height: 200px;
    flex-shrink: 0;
    scroll-snap-align: start;
    cursor: pointer;
    transition: border-color 0.4s var(--luxe-ease), transform 0.4s var(--luxe-ease);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.progress-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.progress-card-overlay {
    position: absolute; bottom: 0; left: 0; right: 0; height: 65%;
    background: linear-gradient(transparent, rgba(0,0,0,0.92));
    pointer-events: none;
}
.progress-card-content {
    position: relative; z-index: 1;
    display: flex; flex-direction: column;
    justify-content: flex-end;
    height: 100%; padding: 18px 22px;
}
.progress-card-top-row {
    display: flex; justify-content: space-between; align-items: flex-start;
}
.progress-card-title { font-size: 13px; color: #fff; margin: 0 0 4px; }
.progress-card-sub { font-size: 10px; color: #ccc; margin: 0 0 8px; }
.progress-step-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 12px 0 0;
    font-size: 9px;
    letter-spacing: 0.5px;
}
.step-dot { width: 8px; height: 8px; border-radius: 50%; background: #333; flex-shrink: 0; }
.step-dot.active { background: var(--gold); box-shadow: 0 0 6px rgba(212,175,55,0.4); }
.step-dot.completed { background: #25D366; }
.step-line { flex: 1; height: 1px; background: #333; }
.step-line.active { background: var(--gold); }
.step-line.completed { background: #25D366; }
.progress-status-badge {
    font-size: 8px;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* == Ensure mobile components stay fully invisible on desktop === */
#mobile-bottom-nav, 
#mobile-more-menu-drawer,
.admin-drawer-link {
    display: none !important;
}

/* === RESPONSIVE: TABLETS + PHONES (≤1024px) === */
/* === ONBOARDING MODAL === */
.onboarding-modal {
    position: fixed; inset: 0; z-index: 99999;
    display: flex; align-items: center; justify-content: center;
}
.onboarding-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
}
.onboarding-card {
    position: relative; max-width: 480px; width: 90%;
    background: #0a0a0a; border: 1px solid var(--gold);
    border-radius: 16px; padding: 40px 36px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    text-align: center;
}
.onboarding-badge {
    display: inline-block;
    background: var(--gold); color: #000;
    font-size: 10px; font-weight: 700; letter-spacing: 3px;
    padding: 6px 16px; text-transform: uppercase;
    margin-bottom: 16px;
}
.onboarding-card h2 {
    font-weight: 300; font-size: 24px; margin: 0 0 28px; color: #fff;
}
.onboarding-item {
    display: flex; gap: 14px; align-items: flex-start;
    text-align: left; margin-bottom: 20px;
    padding: 14px; background: #111; border-radius: 8px;
    border: 1px solid #1a1a1a;
}
.onboarding-icon {
    color: var(--gold); font-size: 18px; margin-top: 2px; flex-shrink: 0;
}
.onboarding-item h4 {
    margin: 0 0 4px; font-size: 11px; color: var(--gold);
    text-transform: uppercase; letter-spacing: 1px;
}
.onboarding-item p {
    margin: 0; font-size: 11px; color: #888; line-height: 1.5;
}
.onboarding-dismiss-btn {
    width: 100%; margin-top: 8px;
    background: var(--gold); border: none; color: #000;
    padding: 14px; border-radius: 8px;
    font-family: 'Poppins'; font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; transition: 0.3s;
}
.onboarding-dismiss-btn:hover { opacity: 0.85; }

@media (max-width: 1024px) {
    body { padding-bottom: 0; }

    #sidebar {
        width: 72px !important;
        padding: 20px 8px !important;
        align-items: center !important;
    }
    #sidebar .nav-section-title,
    #sidebar .sidebar-footer,
    #sidebar .sidebar-header p { display: none !important; }
    #sidebar .sidebar-header a { font-size: 10px; letter-spacing: 1px; text-align: center; display: block; }
    #sidebar .sidebar-nav { margin-top: 20px; }
    #sidebar .nav-item { justify-content: center; padding: 12px 4px; font-size: 0 !important; }
    #sidebar .nav-item .nav-item-left { display: flex; align-items: center; justify-content: center; padding: 0; }
    #sidebar .nav-item .nav-icon { width: 20px; height: 20px; margin: 0; }
    #sidebar .nav-badge { position: absolute; top: 4px; right: 4px; font-size: 7px; min-width: 14px; height: 14px; line-height: 14px; }

    #mobile-bottom-nav { display: none !important; }

    .main-wrapper, #main-view {
        padding: 20px 16px 30px !important;
        box-sizing: border-box !important;
    }
    .view-panel { padding: 0 !important; width: 100% !important; }
    .kpi-row-3, .kpi-row-2 {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        margin-bottom: 12px !important;
        width: 100% !important;
    }
    .kpi-card {
        padding: 10px 6px !important;
        text-align: center !important;
        border-radius: 8px !important;
    }
    .kpi-title {
        font-size: 8px !important;
        letter-spacing: 0.2px !important;
        margin-bottom: 2px !important;
    }
    .kpi-value {
        font-size: 18px !important;
        font-weight: 600 !important;
    }
    .dash-split {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
    }
    .dash-box {
        width: 100% !important;
        height: 260px !important;
        max-height: 260px !important;
        overflow-y: auto !important;
        background: #0a0a0a !important;
        border: 1px solid #1a1a1a !important;
        border-radius: 12px !important;
        padding: 15px !important;
        box-sizing: border-box !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .inspiration-grid { grid-template-columns: 1fr !important; gap: 15px !important; }

    .admin-drawer-link {
        display: flex !important;
        align-items: center !important;
        text-align: left !important;
        background: #0d0d0d !important;
        border: 1px solid #1a1a1a !important;
        color: #ffffff !important;
        padding: 18px 22px !important;
        border-radius: 12px !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        letter-spacing: 0.5px !important;
        text-decoration: none !important;
        transition: 0.2s ease !important;
    }
    .admin-drawer-link:active, .admin-drawer-link:hover {
        border-color: var(--gold, #D4AF37) !important;
        color: var(--gold, #D4AF37) !important;
        background: rgba(212, 175, 55, 0.08) !important;
    }

    #admin-top-nav { padding: 10px 15px !important; }
    .nav-bell { width: 34px; height: 34px; }
    .chat-hub-split { grid-template-columns: 1fr; display: flex; flex-direction: column; }
    .chat-hub-sidebar { height: 200px; border-right: none !important; border-bottom: 1px solid #1a1a1a !important; }
    .chat-hub-main { flex: 1; height: auto; }
}

/* Side menu panel & list mobile overrides */
@media (max-width: 1024px) {
    #mobile-side-menu-panel {
        width: 85% !important;
        max-width: 340px !important;
        background: #050505 !important;
        padding: 30px 24px !important;
    }
    #mobile-menu-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
}
@media (max-width: 600px) {
    .rapid-modal-content { width: 95% !important; padding: 20px !important; }
    .form-grid { grid-template-columns: 1fr !important; }
    .filter-bar { flex-direction: column; align-items: stretch; }
    .filter-checkboxes { margin-left: 0; flex-wrap: wrap; }
    .search-bar-container { flex-direction: column; }
    .panel-header { flex-direction: column; align-items: flex-start !important; gap: 10px; }
}
/* Chat mobile single-panel */
@media (max-width: 1024px) {
    #view-chat { height: calc(100vh - 130px) !important; max-height: calc(100vh - 130px) !important; }
    #view-chat .chat-hub-split { display: flex; flex-direction: column; }
    #view-chat .chat-hub-sidebar { height: auto; max-height: 40vh; }
    #view-chat .chat-hub-main { flex: 1; height: auto; }
    .chat-hub-body { max-height: none; }
    .chat-hub-input-area { padding: 12px 15px !important; }
    #chat-messages-container, #admin-chat-messages-container { padding: 8px !important; }
    .chat-msg-bubble { max-width: 85% !important; font-size: 14px !important; padding: 10px 14px !important; }
    #view-chat .chat-hub-header { padding: 12px 15px !important; }
    #view-chat .chat-hub-header h3 { font-size: 14px !important; }
    #chat-mobile-back { display: inline-flex !important; }
}
/* Tablet adjustments */
@media (min-width: 1025px) and (max-width: 1200px) {
    #main-view, .main-wrapper { padding: 30px !important; }
    .kpi-row-3 { grid-template-columns: repeat(2, 1fr); }
    .dash-split { grid-template-columns: 1fr; }
    .inspiration-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === IMESSAGE CHAT BUBBLE STYLES === */
.chat-messages-container { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.chat-msg-wrapper { display: flex; flex-direction: column; margin-bottom: 12px; width: 100%; }
.chat-msg-wrapper.client { align-items: flex-start; }
.chat-msg-wrapper.admin { align-items: flex-end; }
.chat-msg-bubble { max-width: 75%; padding: 10px 16px; border-radius: 18px; word-wrap: break-word; line-height: 1.45; font-size: 13px; position: relative; }
.chat-msg-bubble.client { background: #2C2C2E; color: #fff; border-bottom-left-radius: 4px; }
.chat-msg-bubble.admin { background: #007AFF; color: #fff; border-bottom-right-radius: 4px; }
.chat-msg-sender { font-size: 10px; margin-bottom: 4px; font-weight: 500; }
.chat-msg-sender.client { color: #8E8E93; text-align: left; padding-left: 4px; }
.chat-msg-sender.admin { color: #8E8E93; text-align: right; padding-right: 4px; }
.chat-msg-time { font-size: 9px; color: #636366; margin-top: 4px; }
.chat-msg-time.client { text-align: left; padding-left: 4px; }
.chat-msg-time.admin { text-align: right; padding-right: 4px; }
.chat-msg-date { font-size: 10px; color: #636366; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; text-align: center; }
.msg-group { margin-bottom: 2px; }
.msg-group .chat-msg-wrapper { margin-bottom: 2px; }
.msg-group .chat-msg-wrapper .chat-msg-sender { display: none; }
.msg-group .chat-msg-wrapper:first-child .chat-msg-sender { display: block; }
.me-group .chat-msg-wrapper .chat-msg-sender { display: none; }
.me-group .chat-msg-wrapper:first-child .chat-msg-sender { display: block; }
.them-group .chat-msg-wrapper .chat-msg-sender { display: none; }
.them-group .chat-msg-wrapper:first-child .chat-msg-sender { display: block; }
.admin-group .chat-msg-wrapper .chat-msg-sender { display: none; }
.admin-group .chat-msg-wrapper:first-child .chat-msg-sender { display: block; }
.client-group .chat-msg-wrapper .chat-msg-sender { display: none; }
.client-group .chat-msg-wrapper:first-child .chat-msg-sender { display: block; }

/* === SIDEBAR === */

#sidebar {
    width: 260px;
    background: var(--sidebar-bg);
    border-right: 1px solid rgba(255,255,255,0.05);
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px 20px;
    z-index: 1000;
    overflow-y: auto;
}

.sidebar-header a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 3px;
    font-weight: 300;
}
.sidebar-header p {
    color: var(--gold);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 5px 0 0 0;
}

.sidebar-nav { margin-top: 20px; flex: 1; }

.nav-section-title {
    color: #444;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 25px 0 10px 10px;
    font-weight: 500;
}

.nav-icon { display: inline-block; vertical-align: middle; margin-right: 8px; flex-shrink: 0; color: inherit; }
.nav-item-left .nav-icon { margin-right: 8px; }
.nav-item-left { display: flex; align-items: center; gap: 4px; }
.btn-icon { display: inline-block; vertical-align: middle; margin-right: 4px; flex-shrink: 0; color: var(--gold); }

.nav-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: 0.3s;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-family: 'Poppins', sans-serif;
}
.nav-item:hover, .nav-item.active { background: #111; color: var(--gold); }
.nav-item-left { display: flex; align-items: center; gap: 10px; }
.nav-item.text-danger { color: #ff4d4d; }

.nav-badge {
    background: #ff4d4d;
    color: #fff;
    padding: 2px 6px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: bold;
}

.sidebar-footer { margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); }

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
    cursor: default;
}

/* === MAIN VIEW — Slide transitions === */
.view-section {
    display: none;
    will-change: transform, opacity;
}
.view-section.active {
    display: block;
    animation: viewSlideIn 0.5s var(--luxe-ease) forwards;
}
.view-section.slide-out {
    animation: viewSlideOut 0.4s var(--luxe-ease) forwards;
}

@keyframes viewSlideIn {
    0% { opacity: 0; transform: translateX(40px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes viewSlideOut {
    0% { opacity: 1; transform: translateX(0); }
    100% { opacity: 0; transform: translateX(-40px); }
}

/* Luxury motion polish for all interactive cards */
.progress-card, .catalog-card, .inspire-card, .settings-panel .form-control, .itinerary-card {
    transition: border-color 0.4s var(--luxe-ease), transform 0.4s var(--luxe-ease), box-shadow 0.4s var(--luxe-ease);
}

/* Glide shimmer overlay on all interactive cards */
.catalog-card::after, .inspire-card::after {
    content: '';
    position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: var(--shimmer);
    transition: left 1.2s var(--luxe-ease);
    pointer-events: none;
    z-index: 1;
}
.catalog-card:hover::after, .inspire-card:hover::after { left: 200%; }

/* Gold glow border on active/hover — champagne glow keyframe */
@keyframes champagneGlow {
    0% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
    50% { box-shadow: 0 0 20px 2px rgba(212,175,55,0.15), inset 0 0 12px 0 rgba(212,175,55,0.05); }
    100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
}
.catalog-card:hover, .inspire-card:hover, .progress-card:hover {
    animation: champagneGlow 2s var(--luxe-ease) infinite;
}

/* Hold-to-authorize ring glow on active press */
.hold-auth-btn:active + .hold-ring .hold-ring-fill,
.hold-button-wrapper:active .hold-ring-fill {
    filter: drop-shadow(0 0 8px rgba(212,175,55,0.6));
}

/* === PERSONALIZED BANNER === */
.personalized-banner {
    background: linear-gradient(135deg, rgba(212,175,55,0.06) 0%, transparent 100%);
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 24px;
}
.banner-copy {
    font-size: 13px;
    color: #ccc;
    line-height: 1.7;
    margin: 0 0 12px;
    font-weight: 300;
}
.banner-cta-btn {
    background: none;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 18px;
    border-radius: 6px;
    font-family: 'Poppins';
    font-size: 10px;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}
.banner-cta-btn:hover { background: var(--gold); color: #000; }

/* === INSPIRATION === */

.inspiration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.inspire-card {
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: 0.3s;
}
.inspire-card:hover { transform: scale(1.02); }
.inspire-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}
.inspire-overlay h4 { margin: 0; color: #fff; font-weight: 500; font-size: 16px; }
.inspire-overlay p { margin: 5px 0 0; color: #aaa; font-size: 12px; }


@media (max-width: 480px) {
    .journal-grid { grid-template-columns: 1fr; }
}

/* === COLLECTION DETAIL OVERLAY === */
.collection-detail {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.collection-detail-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.collection-detail-panel {
    position: relative;
    width: 640px;
    max-width: 94vw;
    max-height: 90vh;
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(0,0,0,0.8);
    animation: collectionFadeIn 0.3s var(--luxe-ease);
}
@keyframes collectionFadeIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.collection-detail-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}
.collection-detail-close:hover { background: rgba(255,255,255,0.15); border-color: var(--gold); }
.collection-detail-hero {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    flex-shrink: 0;
}
.collection-detail-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.95));
}
.collection-detail-hero-overlay h2 { margin: 0; font-weight: 300; font-size: 28px; color: #fff; }
.collection-detail-hero-overlay p { margin: 6px 0 0; color: var(--gold); font-size: 13px; letter-spacing: 0.5px; }
.collection-detail-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 30px;
}
.collection-detail-partner {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #1a1a1a;
}
.collection-detail-desc {
    color: #999;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 24px;
}
.collection-detail-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.collection-detail-item {
    background: #111;
    border: 1px solid #1a1a1a;
    border-radius: 10px;
    padding: 16px 18px;
    cursor: pointer;
    transition: 0.2s;
}
.collection-detail-item:hover { border-color: var(--gold); background: #151515; }
.collection-detail-item h4 { margin: 0 0 4px; font-weight: 400; font-size: 14px; color: #fff; }
.collection-detail-item p { margin: 0; font-size: 12px; color: #777; }
.collection-detail-footer {
    flex-shrink: 0;
    padding: 16px 30px;
    border-top: 1px solid #1a1a1a;
    background: #050505;
}

@media (max-width: 1024px) {
    .collection-detail-panel {
        max-width: 100vw;
        max-height: 100vh;
        width: 100%;
        height: 100%;
        border-radius: 0;
        border: none;
    }
    .collection-detail-hero { height: 200px; }
    .collection-detail-body { padding: 20px; }
    .collection-detail-footer { padding: 14px 20px; }
}

/* === SEARCH === */

.search-bar-container {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    margin-bottom: 25px;
}
.search-bar-container .search-input-group { flex: 1; margin-bottom: 0; }

.search-input-group {
    position: relative;
    margin-bottom: 15px;
}
.search-input-group label {
    display: block;
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 0 15px;
    transition: 0.3s;
}
.input-wrapper:focus-within { border-color: var(--gold); }
.input-wrapper input {
    background: none;
    border: none;
    color: #fff;
    padding: 14px 0;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    width: 100%;
    outline: none;
}
.input-wrapper .input-error { border-color: #ff4d4d; }

/* === AUTOCOMPLETE === */

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0a0a0a;
    border: 1px solid #222;
    border-top: none;
    border-radius: 0 0 8px 8px;
    display: none;
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
}
.autocomplete-dropdown.active { display: block; }
.auto-category-title {
    padding: 8px 15px;
    font-size: 9px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #111;
}
.auto-item {
    padding: 10px 15px;
    font-size: 12px;
    color: #ccc;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s;
}
.auto-item:hover { background: #1a1a1a; color: var(--gold); }

/* === FILTER BAR === */

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    align-items: center;
}
.filter-select {
    background: #0a0a0a;
    border: 1px solid #222;
    color: #ccc;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 11px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    cursor: pointer;
    min-width: 140px;
}
.filter-select option { background: #111; color: #ccc; }

.filter-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-left: 5px;
}
.filter-checkboxes label {
    font-size: 10px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.filter-checkboxes input[type="checkbox"] { accent-color: var(--gold); }

.filter-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    cursor: pointer;
    color: #888;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    user-select: none;
    transition: color 0.2s;
}
.filter-header:hover { color: var(--gold); }
.filter-arrow { font-size: 10px; transition: transform 0.2s; }
.filter-bar.collapsed { display: none; }

/* === CATALOG === */

.catalog-list { display: flex; flex-direction: column; gap: 15px; }

.catalog-card {
    display: flex;
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: 0.3s;
}
.catalog-card:hover { border-color: var(--gold); }

.catalog-card.grid-mode {
    display: block;
    border-radius: 12px;
}

.catalog-img {
    width: 220px;
    min-height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    flex-shrink: 0;
}
.catalog-card.grid-mode .catalog-img {
    width: 100%;
    height: 160px;
}

.catalog-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.c-badge {
    background: var(--gold);
    color: #000;
    font-size: 8px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.c-badge.preferred { background: #000; color: var(--gold); border: 1px solid var(--gold); }

.btn-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    border: none;
    color: #fff;
    font-size: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.btn-fav.active { color: #ff4d4d; background: rgba(255,77,77,0.2); }

.catalog-content {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex: 1;
    gap: 15px;
}
.catalog-card.grid-mode .catalog-content {
    flex-direction: column;
}

.catalog-info { flex: 1; }
.catalog-info h3 { margin: 0 0 5px; font-size: 16px; font-weight: 500; color: #fff; }
.catalog-info .loc { margin: 0 0 8px; font-size: 11px; color: #888; }
.catalog-info .desc { margin: 8px 0; font-size: 12px; color: #aaa; line-height: 1.5; }

.luxury-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 8px 0;
}
.luxury-meta span {
    font-size: 10px;
    color: var(--gold);
    background: rgba(212,175,55,0.1);
    padding: 3px 8px;
    border-radius: 4px;
}

.luxury-features {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 8px 0;
}
.feature-tag {
    font-size: 9px;
    color: #888;
    background: #1a1a1a;
    padding: 3px 8px;
    border-radius: 4px;
}

.dietary-tags {
    display: flex;
    gap: 5px;
    margin-top: 8px;
}
.diet-tag {
    font-size: 8px;
    color: #25D366;
    background: rgba(37,211,102,0.1);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(37,211,102,0.2);
}

.btn-book {
    background: none;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-book:hover { background: var(--gold); color: #000; }

/* === FOMO: EXCLUSIVE / LOCKED ASSETS === */
.catalog-card.exclusive { position: relative; filter: grayscale(0.4) opacity(0.85); }
.catalog-card.exclusive .catalog-img { filter: blur(2px); }
.asset-locked-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 6px; padding: 20px; text-align: center;
    backdrop-filter: blur(4px); border-radius: 12px;
    z-index: 5;
}
.asset-locked-overlay .lock-icon {
    font-size: 28px; color: var(--gold);
    margin-bottom: 4px;
}
.asset-locked-overlay h4 {
    color: var(--gold); font-size: 13px; margin: 0;
    font-weight: 500; letter-spacing: 1px;
}
.asset-locked-overlay p {
    color: #666; font-size: 10px; margin: 0;
}
.btn-priority-alloc {
    margin-top: 12px;
    background: var(--gold); color: #000; border: none;
    padding: 10px 20px; border-radius: 6px;
    font-family: 'Poppins'; font-size: 10px;
    font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; cursor: pointer; transition: 0.3s;
}
.btn-priority-alloc:active { transform: scale(0.95); }

/* === ONE-HOLD CHECKOUT === */
.hold-to-auth-container { padding: 24px 0; text-align: center; }
.auth-price-row {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 24px; padding: 16px 20px;
    background: #111; border-radius: 8px; border: 1px solid #222;
}
.auth-label { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 1px; }
.auth-amount { font-size: 22px; color: var(--gold); font-weight: 500; }
.hold-button-wrapper { position: relative; width: 160px; height: 160px; margin: 0 auto; }
.hold-ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.hold-ring-bg { fill: none; stroke: #222; stroke-width: 6; }
.hold-ring-fill { fill: none; stroke: var(--gold); stroke-width: 6; stroke-linecap: round; }
.hold-auth-btn {
    position: absolute; inset: 12px; border-radius: 50%; border: none;
    background: #0a0a0a; color: var(--gold); font-family: 'Poppins';
    font-size: 11px; font-weight: 500; cursor: pointer;
    text-transform: uppercase; letter-spacing: 1px; line-height: 1.3;
    display: flex; align-items: center; justify-content: center;
    padding: 16px; z-index: 2; transition: all 0.3s;
}
.hold-auth-btn:active { transform: scale(0.95); }
.hold-auth-btn.authorized { background: var(--gold); color: #000; }
.auth-footnote { font-size: 10px; color: #555; margin-top: 16px; }

/* === QUOTE BUILDER === */

.btn-back {
    background: none;
    border: 1px solid #333;
    color: #888;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: 0.3s;
}
.btn-back:hover { border-color: var(--gold); color: var(--gold); }

.quote-hero {
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}
.quote-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.95));
}
.quote-stars { color: var(--gold); font-size: 16px; margin-bottom: 5px; }
.quote-title { margin: 0; font-size: 28px; font-weight: 300; color: #fff; }
.quote-loc { margin: 5px 0 0; font-size: 14px; }

.itinerary-card {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: 30px;
    margin-top: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}
.form-grid .search-input-group { margin-bottom: 0; }

.addon-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: 0.3s;
}
.addon-box:hover, .addon-box.selected { border-color: var(--gold); }
.addon-box h4 { margin: 0; font-size: 12px; font-weight: 400; color: #aaa; }
.addon-box.selected h4 { color: var(--gold); }

.error-text {
    display: none;
    color: #ff4d4d;
    font-size: 11px;
    margin: 10px 0 0;
}
.error-text.active, .error-text[style*="block"] { display: block; }

.btn-search {
    background: var(--gold);
    border: none;
    color: #000;
    padding: 12px 25px;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-search:hover { opacity: 0.85; }
.btn-search:disabled { opacity: 0.4; cursor: not-allowed; }

/* === FLIGHT BUILDER === */

#view-flights > h2 { margin-bottom: 2px !important; }
#view-flights > p { margin-bottom: 15px !important; }

.flight-type-toggle {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.flight-type-toggle .btn-toggle { padding: 7px 16px; font-size: 10px; }
.btn-toggle {
    background: none;
    border: 1px solid #333;
    color: #888;
    padding: 10px 20px;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    cursor: pointer;
    transition: 0.3s;
}
.btn-toggle.active { border-color: var(--gold); color: var(--gold); background: rgba(212,175,55,0.1); }

.flight-leg-card {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
}
.leg-header {
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #1a1a1a;
}
.leg-title { color: var(--gold); font-size: 13px; font-weight: 500; letter-spacing: 1px; }

.leg-inputs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
}
.leg-inputs-grid .search-input-group { margin-bottom: 0; }
.leg-inputs-grid .search-input-group label { font-size: 10px; margin-bottom: 3px; }

.leg-destination-visual {
    height: 80px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-top: 10px;
    display: none;
    position: relative;
    overflow: hidden;
}
.visual-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}
.visual-overlay h4 { margin: 0; color: #fff; font-weight: 400; }

.selected-hotels-container { margin-top: 15px; }

.selected-hotel-box {
    background: #111;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
}
.selected-hotel-header {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}
.selected-hotel-img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
}
.selected-hotel-info h4 { margin: 0; font-size: 13px; color: var(--gold); }
.selected-hotel-info p { margin: 2px 0 0; font-size: 10px; color: #888; }

.selected-hotel-dates {
    display: flex;
    gap: 10px;
    align-items: center;
}
.selected-hotel-dates input { flex: 1; }

.btn-remove-hotel {
    background: none;
    border: 1px solid #ff4d4d;
    color: #ff4d4d;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 9px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: 0.3s;
}
.btn-remove-hotel:hover { background: rgba(255,77,77,0.1); }

.suggested-hotels-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 8px;
}
.suggested-hotels-grid.active { display: grid; }

.flight-leg-card .addon-box { padding: 10px 12px; margin-top: 8px; }
.flight-leg-card .addon-box h4 { font-size: 12px; }
.flight-leg-card .form-control { padding: 8px 10px; font-size: 11px; }

/* === CHAT === */

#view-chat {
    padding: 0 !important;
    margin: 0 !important;
    height: calc(100vh - 65px) !important;
    max-height: calc(100vh - 65px) !important;
    overflow: hidden !important;
    display: none;
    flex-direction: column;
}
#view-chat.active { display: flex !important; }
#view-chat > h2 { display: none !important; }

.chat-hub-split {
    height: 100% !important;
    max-height: 100% !important;
    display: grid !important;
    grid-template-columns: 350px 1fr !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    overflow: hidden !important;
}
.chat-hub-sidebar {
    border-radius: 0 !important;
    border: none !important;
    border-right: 1px solid #1a1a1a !important;
    height: 100% !important;
    max-height: 100% !important;
    overflow-y: auto !important;
    background: #0a0a0a;
    padding: 20px;
}
.chat-hub-main {
    border-radius: 0 !important;
    border: none !important;
    height: 100% !important;
    max-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    background: #050505;
}
.chat-hub-header {
    padding: 20px;
    background: #0a0a0a;
    border-bottom: 1px solid #1a1a1a;
    flex-shrink: 0;
}
.chat-hub-body {
    flex-grow: 1 !important;
    flex-shrink: 1 !important;
    overflow-y: auto !important;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
}
.chat-hub-input-area {
    flex-shrink: 0 !important;
    padding: 20px;
    background: #0a0a0a;
    border-top: 1px solid #1a1a1a;
    display: flex;
    gap: 10px;
    margin-top: auto !important;
}

.chat-msg-wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
    width: 100%;
}
.chat-msg-wrapper.admin { align-items: flex-end; }
.chat-msg-wrapper.client { align-items: flex-start; }

@media (max-width: 768px) {
    #view-chat { height: calc(100vh - 65px) !important; max-height: calc(100vh - 65px) !important; }
    .chat-hub-split { grid-template-columns: 1fr; display: flex; flex-direction: column; }
    .chat-hub-sidebar { height: 200px; border-right: none !important; border-bottom: 1px solid #1a1a1a !important; }
    .chat-hub-main { flex: 1; height: auto; }
}

/* === SETTINGS === */

.settings-panel { max-width: 600px; }
.settings-label {
    display: block;
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    margin-top: 15px;
}

.form-control {
    width: 100%;
    padding: 12px;
    background: #050505;
    border: 1px solid #222;
    color: #fff;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    outline: none;
    transition: 0.3s;
    box-sizing: border-box;
}
.form-control:focus { border-color: var(--gold); }
.form-control::placeholder { color: #555; }
textarea.form-control { resize: vertical; }

/* === REQUEST SLIDER === */

#request-slider input.input-error,
#request-slider .input-error {
    border-color: #ff4d4d !important;
}

/* === RESPONSIVE === */

@media (max-width: 1200px) {
    .inspiration-grid { grid-template-columns: repeat(2, 1fr); }
    .leg-inputs-grid { grid-template-columns: 1fr 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .suggested-hotels-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    #octo-admin-sidebar { width: 100%; height: auto; position: relative; border-right: none; border-bottom: 1px solid #1a1a1a; }
    .main-wrapper { min-height: 0; }
    #sidebar {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding: 20px;
    }
    .inspiration-grid { grid-template-columns: 1fr; }
    .catalog-card { flex-direction: column; }
    .catalog-img { width: 100%; height: 180px; }
    .leg-inputs-grid { grid-template-columns: 1fr; }
    .filter-bar { flex-direction: column; align-items: stretch; }
    .filter-checkboxes { margin-left: 0; }
    .search-bar-container { flex-direction: column; }
    .suggested-hotels-grid { grid-template-columns: 1fr; }
    .chat-hub-split {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }
    .chat-hub-sidebar { height: 200px; border-right: none !important; border-bottom: 1px solid #1a1a1a !important; }
    .chat-hub-main { flex: 1; height: auto; }
}

/* === GLOBAL NOTIFICATION / TOAST OVERRIDES === */

#global-nav-actions { position: fixed; top: 20px; right: 30px; z-index: 10000; display: flex; gap: 15px; }
.nav-bell { background: rgba(0,0,0,0.8); border: 1px solid #333; border-radius: 50%; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; transition: 0.3s; backdrop-filter: blur(5px); }
.nav-bell:hover { border-color: var(--gold); color: var(--gold); }
.nav-bell-badge { position: absolute; top: -5px; right: -5px; background: #ff4d4d; color: #fff; font-size: 10px; font-weight: bold; padding: 2px 6px; border-radius: 20px; display: none; }

#top-toast-container { position: fixed; top: 80px; right: 30px; z-index: 10000; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.top-toast { background: rgba(10,10,10,0.95); border-left: 4px solid var(--gold); border-radius: 8px; padding: 15px 20px; color: #fff; font-family: 'Poppins'; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transform: translateX(120%); transition: transform 0.4s ease; min-width: 250px; pointer-events: auto; cursor: pointer; }
.top-toast.show { transform: translateX(0); }
.top-toast h4 { margin: 0 0 5px 0; color: var(--gold); font-size: 12px; text-transform: uppercase; }
.top-toast p { margin: 0; font-size: 11px; color: #ccc; }

/* Nav dropdown (admin notifications) */
.nav-dropdown { position: absolute; right: 30px; top: 70px; width: 300px; background: #0a0a0a; border: 1px solid #1a1a1a; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 10001; }
.nav-dropdown-item { padding: 10px; cursor: pointer; border-bottom: 1px solid #1a1a1a; }
.nav-dropdown-item:hover { background: #111; }
.nav-dropdown-item h4 { margin: 0 0 4px 0; color: #fff; font-size: 12px; }
.nav-dropdown-item p { margin: 0; color: #888; font-size: 11px; }

/* Status badges */
.status-badge { font-size: 9px; padding: 4px 8px; border-radius: 4px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; }
.status-pending { background: rgba(212,175,55,0.15); color: var(--gold); border: 1px solid rgba(212,175,55,0.3); }
.status-active { background: rgba(37,211,102,0.15); color: #25D366; border: 1px solid rgba(37,211,102,0.3); }
.status-completed { background: rgba(37,211,102,0.1); color: #25D366; }
.status-cancelled { background: rgba(255,77,77,0.1); color: #ff4d4d; }

/* === ITINERARIES (Requests) === */
#requests-container > div, #requests-container-completed > div, #requests-container-cancelled > div { cursor: pointer; }

/* === DRAWER === */
.drawer.open { right: 0 !important; }

/* === BOTTOM SHEET DRAWER (Mobile) === */
.bottom-sheet {
    position: fixed; inset: 0; z-index: 10003;
    pointer-events: none; visibility: hidden;
}
.bottom-sheet.active { pointer-events: all; visibility: visible; }
.bottom-sheet-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.5); opacity: 0;
    transition: opacity 0.3s;
}
.bottom-sheet.active .bottom-sheet-overlay { opacity: 1; }
.bottom-sheet-panel {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 90vh; background: #0a0a0a;
    border-radius: 20px 20px 0 0;
    border-top: 1px solid var(--gold);
    transform: translateY(100%);
    transition: transform 0.35s var(--luxe-ease);
    display: flex; flex-direction: column;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.6);
}
.bottom-sheet.active .bottom-sheet-panel { transform: translateY(0); }
.bottom-sheet-handle {
    display: flex; justify-content: center;
    padding: 12px 0 4px; cursor: grab; touch-action: none;
}
.bottom-sheet-pill { width: 40px; height: 4px; border-radius: 4px; background: #444; }
.bottom-sheet-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.bottom-sheet-footer {
    flex-shrink: 0; padding: 16px 24px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
    border-top: 1px solid #1a1a1a; background: #0a0a0a;
}
.btn-chat-concierge {
    width: 100%; padding: 16px;
    background: var(--gold); color: #000; border: none; border-radius: 8px;
    font-family: 'Poppins'; font-weight: 600; font-size: 12px;
    text-transform: uppercase; letter-spacing: 1px; cursor: pointer;
    transition: transform 0.15s, opacity 0.15s;
    will-change: transform;
}
.btn-chat-concierge:active { transform: scale(0.97); opacity: 0.9; }

/* === REQUEST MODAL - CENTERED FLASHCARD === */
.request-modal {
    position: fixed; inset: 0; z-index: 10002;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none; opacity: 0;
    transition: opacity 0.3s ease;
}
.request-modal.active { pointer-events: all; opacity: 1; }
.request-modal-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
}
.request-modal-card {
    position: relative;
    width: 75%; max-width: 960px; max-height: 85vh;
    background: #0c0c0c;
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 20px;
    display: flex; flex-direction: column;
    box-shadow: 0 30px 80px rgba(0,0,0,0.9), 0 0 0 1px rgba(212,175,55,0.1) inset;
    transform: translateY(30px) scale(0.96);
    transition: transform 0.35s var(--luxe-ease);
    overflow: hidden;
}
.request-modal.active .request-modal-card {
    transform: translateY(0) scale(1);
}
.request-modal-close {
    position: absolute; top: 16px; right: 16px;
    z-index: 10;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff; font-size: 20px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: 0.2s;
    font-family: 'Poppins', sans-serif;
}
.request-modal-close:hover {
    background: rgba(212,175,55,0.2);
    border-color: var(--gold);
    color: var(--gold);
}

/* Hero section */
.request-modal-hero {
    position: relative;
    padding: 40px 48px 32px;
    background: linear-gradient(135deg, #141414 0%, #1a1a1a 50%, #0f0f0f 100%);
    border-bottom: 1px solid rgba(212,175,55,0.12);
    overflow: hidden;
}
.request-modal-hero::before {
    content: '';
    position: absolute; top: -50%; right: -20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(212,175,55,0.04) 0%, transparent 70%);
    pointer-events: none;
}
.request-modal-hero::after {
    content: '';
    position: absolute; bottom: 0; left: 48px; right: 48px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.3), transparent);
}
.modal-hero-content {
    position: relative; z-index: 1;
}
.modal-type-badge {
    display: inline-block;
    font-size: 10px; letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    background: rgba(212,175,55,0.12);
    color: var(--gold);
    border: 1px solid rgba(212,175,55,0.2);
    margin-bottom: 12px;
    font-weight: 500;
}
.modal-hero-content h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.5px;
}

/* Body */
.request-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 32px 48px;
}
.request-modal-body::-webkit-scrollbar { width: 4px; }
.request-modal-body::-webkit-scrollbar-track { background: transparent; }
.request-modal-body::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }

/* Meta grid */
.modal-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}
.modal-meta-item {
    background: #111;
    border: 1px solid #1a1a1a;
    border-radius: 10px;
    padding: 14px 16px;
}
.modal-meta-item .meta-label {
    display: block;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 6px;
}
.modal-meta-item .meta-value {
    display: block;
    font-size: 13px;
    color: #eee;
    font-weight: 400;
}

/* Details section */
.modal-details-section {
    background: #111;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
}
.modal-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid #1a1a1a;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}
.modal-section-header span { flex: 1; }
.modal-section-icon { font-size: 14px; }
.modal-edit-toggle {
    background: none;
    border: 1px solid #333;
    color: #aaa;
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 11px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.modal-edit-toggle:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.modal-edit-toggle:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.modal-edit-toggle:disabled:hover {
    border-color: #333;
    color: #aaa;
}
.modal-details-text {
    padding: 20px;
    font-size: 13px;
    color: #ccc;
    line-height: 1.7;
    white-space: pre-wrap;
    min-height: 60px;
}
.modal-details-textarea {
    display: none;
    margin: 16px;
    width: calc(100% - 32px);
    min-height: 120px;
    background: #050505;
    border: 1px solid #222;
    color: #ccc;
    padding: 14px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    line-height: 1.6;
    resize: vertical;
}
.modal-details-textarea:focus {
    border-color: var(--gold);
    outline: none;
}

/* Payment section */
.modal-payment-section {
    margin-top: 20px;
    padding: 20px;
    background: #111;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
}

/* Footer */
.request-modal-footer {
    flex-shrink: 0;
    padding: 20px 48px;
    border-top: 1px solid #1a1a1a;
    background: #0a0a0a;
}
.modal-default-actions,
.modal-edit-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}
.btn-modal {
    padding: 12px 28px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.2s;
    border: none;
}
.btn-modal-primary {
    background: var(--gold);
    color: #000;
}
.btn-modal-primary:hover { opacity: 0.85; }
.btn-modal-secondary {
    background: #1a1a1a;
    color: #aaa;
    border: 1px solid #333;
}
.btn-modal-secondary:hover {
    border-color: #666;
    color: #fff;
}
.btn-modal-gold {
    background: var(--gold);
    color: #000;
}
.btn-modal-gold:hover { opacity: 0.85; }
.btn-modal-glass {
    background: transparent;
    color: #aaa;
    border: 1px solid #333;
}
.btn-modal-glass:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .request-modal-card {
        width: 92%;
        max-height: 90vh;
        border-radius: 14px;
    }
    .request-modal-hero {
        padding: 28px 20px 24px;
    }
    .modal-hero-content h2 {
        font-size: 20px;
    }
    .request-modal-body {
        padding: 20px;
    }
    .modal-meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .request-modal-footer {
        padding: 16px 20px;
    }
    .btn-modal {
        padding: 10px 18px;
        font-size: 11px;
    }
}

/* === ADMIN TABLES (staff, users, assets) === */
.view-panel table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 13px; }
.view-panel table thead th { text-align: left; padding: 12px 10px; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #666; border-bottom: 1px solid #1a1a1a; font-weight: 400; }
.view-panel table tbody td { padding: 12px 10px; border-bottom: 1px solid #111; color: #ccc; }
.view-panel table tbody tr:hover td { background: rgba(212,175,55,0.03); }
.view-panel table .btn-action { background: none; border: 1px solid #222; color: #888; padding: 5px 12px; border-radius: 4px; font-size: 10px; cursor: pointer; font-family: 'Poppins', sans-serif; text-transform: uppercase; letter-spacing: 1px; transition: 0.2s; }
.view-panel table .btn-action:hover { border-color: var(--gold); color: var(--gold); }
.view-panel table .btn-action.text-danger:hover { border-color: #ff4d4d; color: #ff4d4d; }

/* === ADMIN CRM === */
#admin-crm-list > div { padding: 15px; border-bottom: 1px solid #111; cursor: pointer; transition: 0.2s; }
#admin-crm-list > div:hover { background: rgba(212,175,55,0.05); }
#admin-crm-list > div h4 { margin: 0 0 4px 0; color: #fff; font-size: 14px; }
#admin-crm-list > div p { margin: 0; color: #888; font-size: 11px; }
#admin-crm-main .crm-tab-content { padding: 20px 0; }
#admin-crm-main .crm-tab-content p { color: #aaa; font-size: 13px; line-height: 1.6; }

/* Admin panel header */
.panel-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.panel-header h1 { font-weight: 300; font-size: 32px; margin: 0; }
.panel-header .subtitle { color: #666; font-size: 12px; margin: 5px 0 0 0; }

/* === OCTO TOAST === */
#octo-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gold);
    color: #000;
    padding: 15px 25px;
    border-radius: 8px;
    font-family: 'Poppins';
    font-size: 12px;
    font-weight: 600;
    z-index: 99999;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    opacity: 0;
    transition: 0.3s;
    transform: translateY(20px);
    pointer-events: none;
}

/* === SIDEBAR TOGGLE === */
body.sidebar-open #octo-admin-sidebar, body.sidebar-open #sidebar { display: flex !important; }

@media (max-width: 1024px) {
    #admin-sidebar-toggle { display: inline-flex !important; }
    body.sidebar-open #octo-admin-sidebar {
        position: fixed !important;
        left: 0;
        top: 0;
        width: 280px !important;
        height: 100vh !important;
        z-index: 99999 !important;
        background: #050505 !important;
        border-right: 1px solid #1a1a1a !important;
        box-shadow: 10px 0 40px rgba(0,0,0,0.8);
        display: flex !important;
    }
    body.sidebar-open #sidebar {
        position: fixed !important;
        left: 0;
        top: 0;
        width: 280px !important;
        height: 100vh !important;
        z-index: 99999 !important;
        background: #050505 !important;
        border-right: 1px solid #1a1a1a !important;
        box-shadow: 10px 0 40px rgba(0,0,0,0.8);
        display: flex !important;
    }
    body.sidebar-open #sidebar .nav-item { font-size: 13px !important; justify-content: flex-start; padding: 12px 20px; }
    body.sidebar-open #sidebar .nav-item .nav-item-left { font-size: 13px; gap: 8px; }
    body.sidebar-open #sidebar .nav-icon { width: 18px; height: 18px; margin-right: 8px; }
    body.sidebar-open #sidebar .nav-section-title,
    body.sidebar-open #sidebar .sidebar-footer,
    body.sidebar-open #sidebar .sidebar-header p { display: flex !important; }
    body.sidebar-open #sidebar .sidebar-header a { font-size: 18px; }
}

/* === MAIN CONTENT === */
.main-content { flex: 1; }

/* === TOP BAR — Octobere Main Site Match === */
.top-bar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 60px; height: 144px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: rgba(10,10,10,0.97);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    position: sticky; top: 0; z-index: 100;
}
.top-bar-left { display: flex; align-items: center; gap: 28px; }
.top-bar-logo {
    font-size: 1.8rem; font-weight: 700; color: #fff;
    letter-spacing: 8px; text-transform: uppercase;
    text-decoration: none;
}
.top-bar-logo:hover { opacity: 0.75; }
.top-bar-tag {
    font-size: 0.65rem; color: rgba(255,255,255,0.25);
    letter-spacing: 2.5px; text-transform: uppercase;
    font-weight: 300; padding-top: 2px;
}
.top-bar-right { display: flex; align-items: center; gap: 2px; }
.top-bar-btn {
    display: flex; align-items: center; gap: 8px;
    background: none; border: none;
    color: rgba(255,255,255,0.55); font-family: 'Poppins', sans-serif;
    font-size: 0.7rem; font-weight: 500; cursor: pointer;
    padding: 8px 16px; letter-spacing: 1.5px;
    border-radius: 6px; transition: all 0.25s ease;
    text-decoration: none; position: relative;
    text-transform: uppercase;
}
.top-bar-btn:hover {
    color: #D4AF37;
    background: rgba(212,175,55,0.07);
}
.top-bar-btn svg { flex-shrink: 0; width: 15px; height: 15px; stroke: currentColor; transition: stroke 0.25s ease; }
.top-bar-btn:hover svg { stroke: #D4AF37; }
.top-bar-badge {
    position: absolute; top: 1px; right: 3px;
    background: #D4AF37; color: #000; font-size: 6.5px;
    font-weight: 700; padding: 1px 5px; border-radius: 20px;
    min-width: 15px; text-align: center; line-height: 1.3;
}
.top-bar-logout {
    margin-left: 12px; padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px; color: rgba(255,255,255,0.35);
}
.top-bar-logout:hover {
    border-color: rgba(212,175,55,0.3);
    color: #D4AF37 !important;
    background: rgba(212,175,55,0.07);
}
.top-bar-logout:hover svg { stroke: #D4AF37 !important; }

/* Gold accent line — matches main site divider style */
.top-bar::after {
    content: '';
    position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 50px; height: 1px;
    background: #D4AF37; opacity: 0.25;
}

@media (max-width: 768px) {
    .top-bar { padding: 0 20px; height: 100px; }
    .top-bar-logo { font-size: 1.1rem; letter-spacing: 4px; }
    .top-bar-tag { display: none; }
    .top-bar-btn span { display: none; }
    .top-bar-btn { padding: 6px 10px; }
    .top-bar-btn svg { width: 17px; height: 17px; }
    .top-bar-logout { margin-left: 4px; padding: 6px 10px; border: none; }
    .top-bar::after { width: 35px; }
}

/* === JOURNAL REDESIGN — Magazine Layout === */
.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 10px;
}
.journal-card {
    display: flex; flex-direction: column;
    padding: 0; border-radius: 14px;
    border: 1px solid #181818;
    text-decoration: none; cursor: pointer;
    transition: border-color 0.4s var(--luxe-ease), transform 0.4s var(--luxe-ease), box-shadow 0.4s var(--luxe-ease);
    overflow: hidden;
    position: relative;
}
.journal-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(212,175,55,0.03) 0%, transparent 50%);
    pointer-events: none;
    transition: opacity 0.4s var(--luxe-ease);
}
.journal-card:hover {
    border-color: rgba(212,175,55,0.25);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(212,175,55,0.06);
}
.journal-card:hover::before { opacity: 0.5; }
.journal-card-top {
    padding: 24px 24px 0 24px;
    display: flex; align-items: flex-start; gap: 14px;
}
.journal-card-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    background: rgba(212,175,55,0.06);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(212,175,55,0.1);
}
.journal-card-icon svg { width: 20px; height: 20px; stroke: var(--gold); }
.journal-card h4 {
    margin: 0 0 4px; font-weight: 500; font-size: 14px;
    color: #fff; letter-spacing: 0.3px;
}
.journal-card p {
    margin: 0; font-size: 11px; color: #666;
    line-height: 1.5; padding: 0 24px 20px 24px;
}
.journal-card-tag {
    display: inline-block; font-size: 8px; text-transform: uppercase;
    letter-spacing: 1px; color: var(--gold);
    padding: 0 24px 16px 24px;
}
.journal-card-accent {
    height: 2px; width: 100%;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0.15;
    margin-top: auto;
}

@media (max-width: 768px) {
    .journal-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .journal-card-top { padding: 18px 18px 0 18px; }
    .journal-card p { padding: 0 18px 16px 18px; }
    .journal-card-tag { padding: 0 18px 12px 18px; }
}

