/* =========================================================
   V20 PROTOCOL: CANONICAL SINGLE MASTER DESIGN TOKENS
   ========================================================= */
:root {
    /* Brand Palette Tokens */
    --brand_navy: #002B5C;
    --brand_gold: #D4AF37;
    --brand_pink: #FF1493;
    --brand_teal: #2DD4BF;
    --status_emerald: #10B981;
    --fleet_track_0: var(--brand_gold);
    --fleet_track_1: var(--brand_teal);
    --fleet_track_2: var(--status_emerald);
    --fleet_track_3: var(--brand_pink);
    --fleet_track_4: var(--dock-admin-border);
    --text_light: #FFFFFF;
    --text_muted: rgba(255, 255, 255, 0.70);
    --page_bg: #0D1117;
    /* Layout & Glass Tokens */
    --public-page-bg: linear-gradient(rgba(2, 14, 30, 0.85), rgba(2, 14, 30, 0.85));
    --glass_card_bg: rgba(255, 255, 255, 0.05);
    --global-glass-bg: rgba(0, 31, 66, 0.20);
    --global-glass-blur: 12px;
    /* Portal Dock Specific Tokens */
    --dock-admin-bg: #DC2626;
    --dock-admin-border: #EF4444;
    --dock-tribe-bg: #059669;
    --dock-tribe-border: #10B981;
    --dock-pro-bg: #111C33;
    --dock-pro-gold: var(--brand_gold);
}/* =========================================
   V20 PROTOCOL: GLOBAL THEME VARIABLES
   ========================================= */
/* =========================================
   V20 PUBLIC DOMAIN BACKGROUND ARCHITECTURE
   ========================================= */
/* =========================================================
   2.0 UNIVERSAL RESET & CANONICAL SINGLE BODY BASELINE
   ========================================================= */
body.scuba-app-body {
    font-family: Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--text_light);
    background-color: var(--page_bg);
    overflow-x: hidden;
    min-height: 100vh;
}

/* =========================================================
   GLOBAL FIXED HTML BACKDROP UTILITIES
   ========================================================= */
.platform-global-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -9999;
    pointer-events: none;
}

.platform-global-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(rgba(2, 14, 30, 0.78), rgba(2, 14, 30, 0.78));
    z-index: -9998;
    pointer-events: none;
}

/* ==========================================================================
   SCUBA PLATFORM - GLOBAL MASTER STYLESHEET
   Architecture Standard: V16.1 Enterprise Glassmorphism
   TABLE OF CONTENTS
   --------------------------------------------------------------------------
   1.0  :ROOT VARIABLES & DESIGN TOKENS
        1.1 Brand Color Palette
        1.2 Skinnable Glass Variables
        1.3 Canvas & Page Resets
   2.0  SEMANTIC MEDIA & LAYOUT UTILITIES
        2.1 Responsive Grid & Row Resets
        2.2 Object-Fit Image Containers (.img-cover)
        2.3 Custom Scrollbars & Spacing
   3.0  TYPOGRAPHY & ACCENT STYLES
        3.1 Gold & Light Headers
        3.2 Border Tokens & Subtles
   4.0  COMPONENT ARCHITECTURE
        4.1 Glass Cards & Vessel Sub-Panels
        4.2 Action Buttons & CTA Overrides
        4.3 Form Selects & Dropdowns
        4.4 Modal Dialogs & Backdrops
   ========================================================================== */
/* ==========================================================================
   2.2 OBJECT-FIT IMAGE CONTAINERS & MEDIA TRYS
   Description: Replaces inline background-image divs with semantic <img> tags.
   ========================================================================== */
/* ==========================================================================
   2.2 MEDIA VIEWPORTS & RESPONSIVE CONTAINERS
   ========================================================================== */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.featured-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 15px;
    border: 4px solid var(--brand_gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
/* =========================================
    ROOT VARIABLES
   ========================================= */
/* V16.1 SKINNABLE GLASS CONTAINERS */
.bg-glass-card {
    background: var(--glass_card_bg);
    border: var(--glass_card_border);
    backdrop-filter: blur(12px);
    border-radius: 8px;
}

.glass-subcard {
    background: var(--glass_subcard_bg);
    border: var(--glass_subcard_border);
    border-radius: 6px;
}
/* =========================================
    GLOBAL RESET & UTILITIES
   ========================================= */
.pro_btn { background-color: var(--brand_teal) ; color: white ; }
.logout_link { color: var(--brand_pink) ; }
.light_text { color: #ffffff ; }
.dark_bg { background-color: transparent; } 

.section_container {
    max-width: 1400px;  
    margin: 0 auto;     
    padding: 0 40px;    
}

/* =========================================
    HEADER & NAVIGATION
   ========================================= */
.header_main {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 3px solid var(--brand_gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: relative;
    z-index: 1150;
}

/* Update the logo class directly to account for a panoramic image asset */
.nav_logo {
    height: 75px;
    width: auto;
    max-height: 100%;
    object-fit: contain;
}

.nav_links {
    display: flex;
    gap: 20px;
    align-items: center;
    list-style: none;
    margin: 0; padding: 0;
}

.nav_link {
    color: var(--text_light);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: 0.3s ease;
}

.nav_link:hover { color: var(--brand_gold); }

.dropdown { position: relative; }

.dropdown_menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(6, 18, 36, 0.20);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    min-width: 180px;
    z-index: 1000;
    border-top: 3px solid var(--brand_gold);
    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    padding: 10px 0;
}

.dropdown_menu .nav_link {
    padding: 10px 20px;
    display: block;
    text-transform: none;
    font-size: 0.85rem;
}

@media (min-width: 1025px) {
    .dropdown:hover .dropdown_menu { display: block; }
}
.dropdown.open .dropdown_menu { display: block; }

/* =========================================
    FRONT PAGE - PILLARS SECTION
   ========================================= */
.pillars_section {
    background-color: rgba(255, 255, 255, 0.05);
    padding-bottom: 40px;
}

.section_title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 900;                 
    color: var(--brand_gold);
    text-shadow: 2px 2px 0px rgba(0,0,0,0.85), 4px 4px 10px rgba(0,0,0,0.4);
}

.pillars_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.pillar_card {
    position: relative;
    height: 280px;              
    padding: 30px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: flex-end; 
    
    transition: all 0.5s ease;
    background-size: cover;      
    background-position: center;  
}

.card_overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,43,92,0.2) 0%, rgba(0,43,92,0) 100%);
    z-index: 1;
    transition: background 0.4s ease;
}

/* FIXED: Pillar Specific Naming */
.pillar_card_content {
    display: flex;
    flex-direction: column;  /* FORCES STACKING (Icon -> Title -> Text -> Button) */
    align-items: flex-start; /* SNAPS EVERYTHING TO THE LEFT */
    justify-content: flex-end; /* ANCHORS CONTENT TO THE BOTTOM */
    width: 100%;
    z-index: 2;
}

.pillar_card h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 10px;
    /* Updated shadow: Darker and tighter to match the small text */
    text-shadow: 1px 1px 4px rgba(0,0,0,0.9); 
}

.pillar_card p {
    color: var(--text_light); /* Solid white instead of faded */
    font-size: 0.95rem;
    font-weight: 600; /* Makes the text bolder */
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8); /* Dark shadow to separate text from image */
}

.pillar_icon {
    font-size: 2.2rem;
    color: var(--brand_gold);
    margin-bottom: 15px;
}

.pillar_btn {
    color: var(--brand_gold);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--brand_gold);
    padding-bottom: 5px;
    white-space: nowrap; 
    flex-shrink: 0;      
    margin-left: 15px;
}

.pillar_card:hover {
    transform: scale(1.02);
    border-color: var(--brand_gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.20);
}

.pillar_card:hover .card_overlay {
    /* Changed the '1' to '0.7' to keep it transparent */
    background: linear-gradient(to top, rgba(0,43,92,0.7) 30%, rgba(0,43,92,0.3) 100%);
}

/* =========================================
    HOME PAGE - WELCOME SECTION
   ========================================= */
.welcome_section {
    padding: 80px 0; 
}

.welcome_flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px; 
    flex-wrap: wrap; 
}

.welcome_text {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.welcome_text h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem); 
    font-weight: 900;                
    margin: 15px 0;
    text-transform: uppercase;
    color: var(--brand_gold); 
    text-shadow: 0px 0px 8px rgba(255, 255, 255, 0.4), 2px 2px 4px rgba(0,0,0,0.5);
}

.welcome_text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.85);
}

.welcome_image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.featured_img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    border: 4px solid var(--brand_gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* =========================================
    HOME PAGE - UPCOMING CHARTERS
   ========================================= */
.charter_preview_section {
    background-color: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255,255,255,0.05); 
}

.charter_card {
    background-color: rgba(255, 255, 255, 0.03) ; 
    border: 1px solid rgba(255, 255, 255, 0.1) ;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.charter_card:hover {
    transform: translateY(-5px);
    border-color: var(--brand_gold) ;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.charter_card_img {
    height: 200px;
    background: var(--glass_card_bg); 
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.2);
    border-bottom: 2px solid var(--brand_gold);
}

.charter_card_body {
    display: flex;
    flex-direction: column;
}

.charter_card_body .card-title {
    color: var(--text_light);
    font-weight: bold;
    letter-spacing: 1px;
}

.charter_card_body .card-text {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.badge_safe {
    background-color: var(--brand_teal);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    align-self: flex-start;
}

.badge_critical {
    background-color: var(--brand_pink);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    align-self: flex-start;
}

.empty_state_text {
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    font-style: italic;
    padding: 40px 0;
}

/* =========================================
    REUSABLE GLOBAL COMPONENTS (Z-PATTERN)
   ========================================= */
.z-pattern-row {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--brand_gold);
    margin-bottom: 15px;
}

.feature-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.featured-video { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 15px; border: 4px solid var(--brand_gold); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }

/* =========================================
    CONTACT PAGE SPECIFIC
   ========================================= */
.hq-section { 
    background: var(--glass_card_bg); 
    padding: 60px 0; 
    color: var(--text_light); 
}

.contact-heading {
    color: var(--brand_gold) ;
    font-size: 2.2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hq-image { 
    border: 4px solid var(--brand_gold); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.5); 
}

.img-pending {
    width: 100%;
    aspect-ratio: 16/9;
    background: transparent ;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand_gold);
    border: 2px dashed var(--brand_gold);
    border-radius: 15px;
}

.hq-address-text { 
    font-size: 1.1rem; 
    line-height: 1.6; 
    margin-bottom: 25px; 
}

.address-icon {
    color: var(--brand_gold);
    margin-right: 10px;
}

.contact-links-container { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}

.contact-link { 
    color: var(--text_light); 
    text-decoration: none; 
    font-size: 1.1rem; 
    display: flex; 
    align-items: center; 
}

.contact-link i { 
    color: var(--brand_gold); 
    width: 25px; 
    flex-shrink: 0; 
}

.form-section { 
    padding: 80px 0; 
    border-top: 2px solid var(--brand_gold); 
}

.map-container { 
    min-height: 400px; 
}

.map-iframe { 
    width: 100%; 
    height: 100%; 
    border: 0; 
    border-radius: 15px; 
    border: 2px solid rgba(255,255,255,0.1); 
}

.form-container {
    
    padding: 40px;
    border-radius: 15px;
    
}

.contact-subheading {
    color: var(--brand_gold); 
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.contact-form { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}

.form-input, .form-textarea {
    padding: 12px;
    background: var(--glass_card_bg);
    border: 1px solid #333;
    color: var(--text_light);
    border-radius: 5px;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}
/* Standard W3C CSS Spec for Dark Mode Placeholders */
.form-input::placeholder, .form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.75) ;
    opacity: 1 ;
}


.form-textarea { 
    min-height: 120px; 
    resize: vertical; 
}

.form-input:focus, .form-textarea:focus { 
    outline: none; 
    border-color: var(--brand_gold); 
}

/* =========================================
    COURSES PAGE SPECIFIC
   ========================================= */
.courses-dark-bg { background: var(--glass_card_bg); padding: 80px 0; }
.courses-navy-bg { background-color: rgba(255, 255, 255, 0.05); padding: 80px 0; }

.dsd-hook-section {
    background: var(--glass_card_bg);
    padding: 80px 0;
    border-top: 2px solid var(--brand_gold);
    border-bottom: 2px solid var(--brand_gold);
}

.section-intro { margin-bottom: 80px; text-align: center; }

.adventure-hook {
    color: var(--brand_gold); 
    font-size: clamp(1.8rem, 4vw, 2.5rem); 
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 900;
    margin-bottom: 10px;
    display: block;
    text-shadow: 0px 0px 8px rgba(255, 255, 255, 0.4), 2px 2px 4px rgba(0,0,0,0.5);
}

.courses-gold-title {
    color: var(--brand_gold);
    font-weight: 900;
    text-transform: uppercase;
}

.title-huge { 
    font-size: 1.2rem;       
    margin-bottom: 40px; 
    color: var(--text_light);          
    text-transform: uppercase; 
    font-weight: 700; 
    letter-spacing: 1px;
}
.title-large { font-size: 2.5rem; margin-bottom: 20px; }
.title-medium { font-size: 2.2rem; }
.title-standard { font-size: 2rem; margin-bottom: 15px; text-transform: none; }

.step-title { color: var(--text_light); margin-bottom: 10px; font-size: 1.5rem; }
.step-desc { color: #eeeeee; font-size: 0.9rem; line-height: 1.4; }
.dsd-desc { font-size: 1.2rem; line-height: 1.8; margin: 25px 0; color: #eeeeee; }
.trust-desc { max-width: 900px; margin: 0 auto; font-size: 1.15rem; line-height: 1.8; opacity: 0.9; color: #eeeeee; }
.agency-desc { font-size: 1.1rem; line-height: 1.6; margin-bottom: 25px; color: #eeeeee; }

.course-steps-container {
    display: flex;
    flex-direction: column; /* Mobile first: Stacks boxes full-width down the screen */
    gap: 20px;
    align-items: stretch;
    margin-bottom: 50px;
}

@media (min-width: 768px) {
    .course-steps-container {
        flex-direction: row; /* Desktop: Snaps them back side-by-side */
    }
}

.step-card {
    flex: 1;
    padding: 40px 20px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.step-card-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.step-card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,31,66,0.2), #001f42);
    z-index: 2;
}

.relative-content { position: relative; z-index: 3; }

.step-icon {
    font-size: 2.5rem;
    color: var(--brand_gold);
    margin-bottom: 15px;
    display: block;
}

.agency-row {
    display: flex;
    gap: 40px;
    padding: 60px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    align-items: center;
}

/* ==========================================================================
   AGENCY LOGO BOX - FULL-CONTAINER FILL REPAIR
   ========================================================================== */
.agency-logo-box {
    background: #ffffff;
    border: 3px solid var(--brand_gold);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    padding: 0; /* Clear padding completely */
    width: 100%;
    max-width: 380px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden; /* Keeps image edges perfectly inside the rounded card corners */
}

.agency-logo {
    /* CRITICAL FIX 2: Force the image asset to claim 100% of the box dimensions */
    width: 100% !important;
    height: 100% !important;
    
    /* CRITICAL FIX 3: Force the graphic to scale up and fill the entire space edge-to-edge */
    object-fit: fill !important; 
    display: block;
}

.agency-image-col { flex-shrink: 0; }
.agency-text-col { flex: 2; }

/* =========================================
    FOOTER SECTION
   ========================================= */
.footer_main { 
    background-color: rgba(255, 255, 255, 0.05); 
    color: var(--text_light); 
    padding: 40px 20px; 
    border-top: 4px solid var(--brand_gold); 
}

.footer_container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer_column { flex: 1; min-width: 180px; }
.footer_heading { color: var(--brand_gold); margin-bottom: 20px; font-size: 1.1rem; }

.footer_links { list-style: none; padding: 0; margin: 0; }
.footer_links li {
    display: flex;
    align-items: flex-start; 
    margin-bottom: 15px;
    color: var(--text_light);
    font-size: 0.95rem;
}
.footer_links li a {
    color: var(--text_light) ;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.footer_links li a:hover { color: var(--brand_gold) ; }

.footer_links li i, 
.footer_links li a i {
    width: 24px;
    margin-right: 12px;
    color: var(--brand_gold);
    text-align: center;
    font-size: 1rem;
    flex-shrink: 0; 
}

.footer_links img, 
.footer_links li a img {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    flex-shrink: 0;
    object-fit: contain;
}

.footer_text_block {
    display: block;
    line-height: 1.4;
}

/* =========================================
    JOURNEY NAV (MINI-PILLARS)
   ========================================= */
.mini_pillars_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); 
    gap: 15px;
    margin-top: 30px;
}
.dark_bg h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem); 
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
    color: var(--brand_gold) ; 
    text-shadow: 0px 0px 8px rgba(255, 255, 255, 0.4), 2px 2px 4px rgba(0,0,0,0.5);
}

.mini_pillar_card {
    position: relative;
    height: 160px;              
    padding: 15px 8px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;      
    justify-content: flex-start; 
    align-items: flex-start;     
    
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease;
    background-size: cover;
    background-position: center;
}
.mini_pillar_card:hover {
    transform: translateY(-10px) scale(1.02); /* Lifts the card up */
    border-color: var(--brand_gold);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}


/* FIXED: Journey Specific Naming */
.mini_pillar_content {
    position: relative;
    z-index: 2;
    text-align: left;           
    width: 100%;
}

.mini_pillar_card h5 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;                   
    text-align: left;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.mini_pillar_card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin: 5px 0 0 0;           
    line-height: 1.2;
    text-align: left;
}

.mini-icon {
    color: var(--brand_gold);
    font-size: 1.1rem;
    margin-bottom: 8px;          
    display: block;
    text-align: left;
}

/* =========================================
    MOBILE & RESPONSIVE LOGIC
   ========================================= */
.menu_toggle { 
    display: none; 
    font-size: 1.8rem; 
    color: var(--brand_gold); 
    cursor: pointer; 
}

@media (max-width: 1024px) {
    .menu_toggle { display: block; }
    .nav_links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background-color: rgba(6, 18, 36, 0.20);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 2px solid var(--brand_gold);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
        padding: 20px 0;
        z-index: 999;
    }
    .nav_links.active { display: flex; }
    .dropdown { text-align: center; width: 100%; }
    .dropdown_menu {
        position: static;
        background-color: rgba(6, 18, 36, 0.20);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        border: none;
        border-top: 1px solid rgba(212, 175, 55, 0.25);
        border-bottom: 1px solid rgba(212, 175, 55, 0.25);
        margin-top: 8px;
        padding: 8px 0;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .welcome_flex { text-align: center; flex-direction: column-reverse; }
}

.large-cta { padding: 15px 40px ; font-size: 1.1rem !important; }

.sub_badge {
    display: inline-block;
    color: var(--brand_gold);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* =========================================
    TESTIMONIALS SPECIFIC
   ========================================= */
.testimonial-quote {
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.testimonial-author {
    color: var(--brand_gold);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.review-vault {
    min-height: 300px;
    background: rgba(255,255,255,0.02);
    border-radius: 15px;
    padding: 40px;
    border: 1px dashed var(--brand_gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-vault p { opacity: 0.5; color: var(--text_light); }

/* =========================================
    GDS & EXPEDIA CARDS
   ========================================= */
.discovery_bar {
    background: var(--brand_navy);
    padding: 15px 0;
    border-bottom: 3px solid var(--brand_gold);
    position: sticky;
    top: 0;
    z-index: 1100; 
}

.filter_flex { display: flex; gap: 15px; flex-wrap: wrap; align-items: center; }
.filter_group { flex: 1; min-width: 180px; position: relative; }
.filter_input, .filter_select {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text_light);
    padding: 10px 10px 10px 35px;
    border-radius: 5px;
    font-size: 0.9rem;
}
.filter_select option { background-color: rgba(255, 255, 255, 0.05); color: var(--text_light); padding: 10px; }
.filter-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--brand_gold); }

.expedia_card {
    display: flex;
    
    
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    min-height: 240px; 
    transition: 0.3s ease;
}

.expedia_card:hover { border-color: var(--brand_gold); transform: translateX(5px); }
.card_media { width: 40%; position: relative; background: var(--glass_card_bg); }

/* FIXED: Expedia Specific Naming */
.expedia_card_content {
    width: 60%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.expedia_card_content h3 {
    color: var(--brand_gold);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.4rem;
    margin: 0 0 5px 0;
}

.card_meta {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.card_description {
    font-size: 0.95rem;
    color: #eeeeee;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; 
    line-clamp: 3;         
    max-height: 4.2em;     
}

.card_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 15px;
}

@media (max-width: 768px) {
    .expedia_card { flex-direction: column; height: auto; }
    .card_media, .expedia_card_content { width: 100%; }
    .card_media { height: 200px; }
    .card_meta { flex-wrap: wrap; gap: 10px; margin-bottom: 15px; }
    .card_footer { flex-direction: column; align-items: stretch !important; gap: 15px; padding-top: 15px; }
    
}

/* =========================================
   SEARCH AUTOCOMPLETE
   ========================================= */
.autocomplete-results {
    position: absolute; 
    top: 100%; width: 100%;        
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--brand_gold);
    z-index: 2000;      
    list-style: none;
    padding: 0;
}

.autocomplete-item {
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
    text-align: left;
}

.autocomplete-item strong { color: var(--brand_gold); font-size: 1rem; display: block; }
.autocomplete-item .autocomplete-meta { color: #cccccc; font-size: 0.85rem; display: block; margin-top: 3px; }
.autocomplete-item:hover { background-color: #004080; }

/* ==========================================================================
   LEGAL & POLICY PAGE STYLING - BRAND GOLD EDITION
   ========================================================================== */

.legal_content_section {
    /* Perfectly matches your footer and header navy */
    background-color: rgba(255, 255, 255, 0.05); 
    color: var(--text_light);
    padding: 140px 20px 100px 20px; 
    min-height: 80vh;
    display: flex;
    align-items: center;
    /* Optional: Subtle top-to-bottom shading to keep it from looking flat */
    background: linear-gradient(to bottom, var(--brand_navy) 0%, #001f42 100%);
}

.legal_card {
     
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    /* Updated to use your BRAND GOLD */
    border: 1px solid rgba(212, 175, 55, 0.4); 
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    width: 100%;
}

.policy_title {
    /* Updated to BRAND GOLD */
    color: var(--brand_gold); 
    font-size: 3.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5); 
}

.policy_divider {
    border: 0;
    height: 4px;
    /* Gradient using BRAND GOLD to a lighter tint */
    background: linear-gradient(to right, var(--brand_gold), var(--brand_gold), transparent);
    margin-bottom: 40px;
}

/* [V20 Consolidated into Master .policy_body Engine] */

/* --- Footer Metadata --- */

.policy_footer_meta {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.20);
    font-size: 0.95rem;
    color: #aaaaaa;
    font-style: italic;
}

/* =========================================
    COURSE FINDER - SEARCH CARD
   ========================================= */

/* The Card itself */
.search-vault-card {
    background: var(--brand_navy);
    border: 2px solid var(--brand_gold);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    padding-top: 20px;
margin-top: 60px;    
    /* THIS GIVES IT EVEN ROOM AT THE BOTTOM */
    margin-bottom: 60px;
}

/* Slimming the Search Boxes */
.vault-input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text_light);
    padding: 8px 12px; /* Slimmer height */
    border-radius: 5px;
    font-size: 0.9rem;
}

.vault-input:focus {
    outline: none;
    border-color: var(--brand_gold);
}

/* The Search Button */




/* Suggestion List */
.smart-list { 
    position: absolute; top: 100%; left: 0; width: 100%; 
    background: var(--brand_navy); border: 1px solid var(--brand_gold); 
    z-index: 2000; display: none; margin-top: 5px; /* Pulls it down a hair */
    box-shadow: 0 10px 20px rgba(0,0,0,0.5); border-radius: 4px;
}
.smart-item { padding: 10px; color: #fff; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,0.1); }
.smart-item:last-child { border-bottom: none; }

.smart-item:hover {
    background: rgba(212, 175, 55, 0.20);
    color: var(--brand_gold);
}

.pos-rel { position: relative; }
/* 1. Target the Labels (the text sitting above or next to the boxes) */
.search-vault-card label {
    color: var(--brand_gold) ;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 5px;
    display: block;
    text-shadow: none; /* Removes any "shadow" look */
}

/* 2. Target the Placeholder text (the text INSIDE the boxes before you type) */
.vault-input::placeholder {
    color: var(--brand_gold) ;
    opacity: 0.8; /* Makes it bright enough to read, but looks like a placeholder */
}

/* 3. Target the text you actually type into the box */
.vault-input {
    color: #ffffff ; /* Keep typed text white so itÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢s easy to read */
}
/* ==========================================================================
   UNIFIED INTERACTIVE EXPLORER THEME (HIGH CONTRAST - NO SHADOWS)
   ========================================================================== */

/* 1. Eliminate Map Hazy Grid Lines & Structure Balloons */
.leaflet-tile-container img {
    outline: 1px solid transparent !important; /* Erases the hazy zoom-line artifact */
}





/* 2. Map Popup Text Classes */
.map-bubble-container {
    font-family: Arial, sans-serif;
    padding: 2px;
    min-width: 250px;
}

.map-bubble-title {
    color: var(--brand_gold) ; /* Headings are forced to pure crisp gold */
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
    text-shadow: none !important; /* Absolute zero text shadowing */
}

.map-bubble-cert {
    color: #ffffff ; /* Solid high-contrast white text */
    font-size: 11px;
    font-weight: bold;
    display: block;
    margin-bottom: 6px;
    text-shadow: none !important;
}

.map-bubble-meta {
    font-size: 11px;
    color: #e2e8f0 ; /* High-contrast light silver for stats readability */
    text-shadow: none !important;
}

/* 3. Technical Details Modal Component Layout Header Contrast */
#wikiMasterModal h2,
#wikiMasterModal h5 {
    color: var(--brand_gold) ; /* Force subheadings to clean brand gold */
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: none !important;
}

#wikiMasterModal p,
#wikiMasterModal td {
    color: #ffffff ; /* Clean reading copy text forced to flat white */
    text-shadow: none !important;
}

#wikiMasterModal table {
    width: 100%;
    border-collapse: collapse;
}

#wikiMasterModal td {
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* 4. Complete Shadow-Free Action Stripping Override */
#wikiMasterModal, 
#wikiMasterModal > div,
#charterRequestModal > div,
#wikiMasterModal button,
#charterRequestModal button {
    box-shadow: none !important;
    text-shadow: none !important;
}
.section_title,
.hero_title,
.welcome_text h2 {
    color: var(--brand_gold) ;
    -webkit-text-stroke: 0.5px #001f42 !important; /* Uniform thin boundary */
    text-shadow: none !important;                 /* Strips out all old shadows */
}
/* Forces the card media box to perfectly hug the infographic shape with zero black bars */
.course_card_elite .card_video_box {
    height: auto !important;
    background-color: transparent ;
}
/* ==========================================================================
   V20 PROTOCOL: PRO SHOWCASE & ACTIVITY SYSTEM (100% SKINNABLE TOKENS)
   ========================================================================== */
.pro_site_wrapper {
    color: var(--text_light);
}
.pro_hero_cover {
    height: 300px;
    display: flex;
    align-items: flex-end;
    padding: 30px 0;
    background-size: cover;
    background-position: center;
}
.pro_avatar_master {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 3px solid var(--brand_gold);
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
.pro_main_name {
    color: var(--brand_gold);
    margin: 0;
    font-size: 2.5rem;
    font-weight: 800;
}
.pro_tagline_sub {
    margin: 5px 0 0 0;
    font-size: 1.1rem;
    color: var(--text_light);
    font-weight: 500;
}
.pro_hub_grid_layout {
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 40px;
}
.pro_content_card,
.pro_sidebar_card_clean {
    background: var(--global-glass-bg);
    backdrop-filter: blur(var(--global-glass-blur));
    -webkit-backdrop-filter: blur(var(--global-glass-blur));
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-top: 3px solid var(--brand_gold);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.pro_section_heading,
.pro_sidebar_heading {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--brand_gold);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 0;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    display: flex;
    align-items: center;
    gap: 10px;
}
.pro_heading_widget_icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--glass_card_bg);
    border: 1px solid var(--brand_gold);
    color: var(--brand_gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.pro_bio_copy {
    line-height: 1.6;
    color: var(--text_light);
    font-size: 0.95rem;
}
.pro_video_wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 6px;
    border: 2px solid var(--brand_gold);
}
.pro_video_wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.pro_milestone_strip {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
    margin-bottom: 5px;
}
.pro_milestone_col {
    text-align: center;
    flex: 1;
    min-width: 110px;
}
.pro_milestone_val {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text_light);
}
.pro_lang_pill {
    font-weight: 800;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    color: var(--text_light);
}
.pro_dashboard_meta_intel_row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: left;
}
.pro_dashboard_meta_intel_row .intel_meta_block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pro_dashboard_meta_intel_row .dashboard_creature_badge_wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--glass_card_bg);
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid rgba(212, 175, 55, 0.35);
}
.pro_dashboard_meta_intel_row .creature_emoji_badge {
    font-size: 1.8rem;
    line-height: 1;
}
.pro_dashboard_meta_intel_row .creature_title_name {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand_gold);
}
.pro_dashboard_meta_intel_row .creature_profile_teaser {
    margin: 2px 0 0 0;
    font-size: 0.8rem;
    color: var(--text_light);
}
.pro_hq_endorsement_card {
    background: var(--global-glass-bg);
    border: 2px solid var(--brand_gold);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: left;
}
.pro_hq_endorsement_card .endorsement_badge {
    display: inline-block;
    background: var(--brand_gold);
    color: var(--page_bg);
    font-size: 0.7rem;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}
.pro_hq_endorsement_card .endorsement_text {
    margin: 0 0 12px 0;
    font-size: 0.95rem;
    color: var(--text_light);
    line-height: 1.5;
}
.pro_hq_endorsement_card .endorsement_link {
    color: var(--brand_gold);
    font-weight: 700;
    text-decoration: underline;
    font-size: 0.88rem;
}
.pro_action_button_group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}
.pro_social_flex_row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}
.pro_social_link_item {
    display: inline-block;
    transition: transform 0.2s ease;
}
.pro_social_link_item:hover {
    transform: scale(1.15);
}
.pro_gallery_sq_img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.pro_gallery_sq_img:hover {
    transform: scale(1.03);
    border-color: var(--brand_gold);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}
.featured_activities_carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
    align-items: stretch;
    margin-top: 1rem;
}
.featured_activity_badge {
    background-color: var(--page_bg);
    border: 1px solid var(--brand_gold);
    color: var(--text_light);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.featured_activity_card {
    border-radius: 10px;
    background-color: var(--page_bg);
    border: 1px solid rgba(212, 175, 55, 0.5);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 270px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.featured_activity_card:hover {
    transform: translateY(-2px);
    border-color: var(--brand_gold);
}
.featured_card_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35);
    z-index: 1;
}
.featured_card_overlay {
    position: relative;
    z-index: 2;
    padding: 18px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}
.host_avatar_img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--brand_gold);
}
.price_tag_badge {
    background: var(--brand_gold);
    color: var(--page_bg);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 4px 8px;
    border-radius: 4px;
}
.fomo_sold_out_banner {
    background: rgba(239, 68, 68, 0.12);
    border: 1px dashed var(--dock-admin-border);
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 0.78rem;
    color: var(--text_light);
    line-height: 1.4;
    margin-top: 8px;
}
.urgency_spot_banner {
    background: var(--glass_card_bg);
    border: 1px solid var(--brand_gold);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.75rem;
    color: var(--brand_gold);
    font-weight: 800;
    margin-top: 6px;
    display: inline-block;
}
.pro_line_clamp_2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}
.pro_event_detail_btn {
    white-space: nowrap;
    font-size: 0.75rem;
    letter-spacing: 0.3px;
}
.pro_trip_thumb_img {
    width: 70px;
    height: 48px;
    object-fit: cover;
}
.pro_award_thumb_img {
    height: 38px;
    object-fit: contain;
}
.matrix_bullet_ledger {
    margin: 0;
    padding-left: 15px;
    color: var(--text_light);
    font-size: 0.82rem;
    line-height: 1.5;
}
.pro_vip_course_scroll {
    max-height: 150px;
    overflow-y: auto;
}
.pro_prereq_thumb_img {
    width: 32%;
    height: 90px;
    object-fit: cover;
}
@media (max-width: 991px) {
    .pro_hub_grid_layout {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }
}
/* --- EXPEDIA TRIP CARD COMPONENT --- */
@media (max-width: 768px) {
    .mobile-stack-card { flex-direction: column !important; height: auto !important; }
    .mobile-width-left { width: 100% !important; padding: 20px ; }
    .mobile-width-right { width: 100% !important; padding: 0 20px 20px 20px ; }
}

.modal-trigger-link {
    color: var(--brand_gold);
    border-bottom: 1px dashed rgba(212, 175, 55, 0.5);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.modal-trigger-link:hover {
    color: var(--text_light);
    border-bottom: 1px solid #ffffff;
    transform: translateX(4px);
}
/* ==========================================================================
   ENTERPRISE UI: GLOBAL CALL TO ACTION BUTTONS
   ========================================================================== */

/* Force icons inside the button to be gold */



/* =========================================
   MASTER HERO SECTION (SINGLE SOURCE OF TRUTH)
   ========================================= */
.hero_container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 20px auto;
    background: var(--glass_card_bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--brand_gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.hero_video_box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    line-height: 0;
    font-size: 0;
}
.hero_video_box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    vertical-align: bottom;
}
.hero_image_slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.hero_slide_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* UNBOXED HERO TITLE CONTRACT */
.hero_title_block {
    text-align: center;
    margin: 20px auto 30px auto;
    max-width: 1200px;
    padding: 0 15px;
}
.hero_title_block .hero_title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--brand_gold);
    margin-bottom: 6px;
    line-height: 1.15;
}
.hero_title_block .hero_sub {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    text-transform: uppercase;
}
@media (max-width: 768px) {
    .hero_container {
        border-radius: 8px;
        margin-bottom: 14px;
    }
    .hero_title_block {
        margin: 14px auto 20px auto;
    }
}
/* =========================================
   CARD BACKGROUND IMAGE TOKEN CONTRACTS
   ========================================= */
.pillar_card, .widget_card {
    position: relative !important;
    overflow: hidden !important;
}
.pillar_bg_img, .widget_card_bg_img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 0 !important;
}
.card_overlay, .widget_card_overlay {
    z-index: 1;
}
.pillar_card_content, .widget_card_content {
    position: relative !important;
    z-index: 2 !important;
}
/* ==========================================================================
   GLASSMORPHISM: TRANSLUCENT HEADER, FOOTER & SECTION BANDS
   ========================================================================== */

/* 2. TRANSLUCENT FOOTER */
.footer_main {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: 3px solid var(--brand_gold) !important;
}
/* 3. TRANSLUCENT "CONTINUING YOUR JOURNEY" SECTION & DARK BANDS */
.journey_section,
.journey_container,
.welcome_section.dark_bg,
.courses-dark-bg,
.dsd-hook-section,
.charter_preview_section,
.dark_bg {
    background: rgba(6, 18, 36, 0.60);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: 2px solid var(--brand_gold) !important;
    border-bottom: 2px solid var(--brand_gold) !important;
    border-left: none !important;
    border-right: none !important;
}
/* 4. HIGH-CONTRAST PURE WHITE TEXT OVER TRANSLUCENT BANDS */
.journey_section p,
.welcome_section p,
.courses-dark-bg p,
.trust-desc,
.dsd-desc,
.feature-desc {
    color: #FFFFFF;
    font-weight: 500 !important;
    font-size: 1.02rem !important;
    line-height: 1.6 !important;
}

/* 2. TRANSLUCENT GLASSMORPHIC PILLAR CARDS WITH GOLD BORDER */
.pillar_card {
    background: var(--glass_card_bg) ;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 2px solid var(--brand_gold) ;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}
/* 3. GOLD GLOW HOVER INTERACTION */
.pillar_card:hover {
    transform: translateY(-5px) !important;
    border-color: var(--brand_gold) ;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.45) !important;
}

/* ==========================================================================
   GO SCUBA DIVING - FULL-WIDTH EDGE-TO-EDGE BANDS & GOLD TYPOGRAPHY
   ========================================================================== */
.go_diving_full_band {
    background: rgba(6, 18, 36, 0.60) ;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: 1px solid rgba(212, 175, 55, 0.35) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.35) !important;
    width: 100% !important;
}
.go_diving_full_band h1,
.go_diving_full_band h2,
.go_diving_full_band h3,
.go_diving_full_band h4 {
    color: var(--brand_gold) ;
}
.go_diving_full_band p {
    color: #FFFFFF ;
    font-weight: 400 !important;
}

.section_header_block .section_title {
    color: var(--brand_gold) ;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
}
.section_header_block .section_subtitle {
    color: #FFFFFF ;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7) !important;
}

/* 2. REMOVE EXTRA SECTION BACKINGS TO PREVENT Awkward DOUBLE-TINTING */
.go_diving_full_band,
.welcome_section.dark_bg,
.journey_section,
.journey_container,
.courses-dark-bg {
    background: transparent ;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: 1px solid rgba(212, 175, 55, 0.35) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.35) !important;
}
/* 3. FLUSH HEADER BANNER WITH HERO (ZERO GAP) */
.section_header_block {
    background: transparent ;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.35) !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}
.hero_container {
    margin-top: 0 !important;
}
/* 4. HIGH-CONTRAST GOLD & WHITE TYPOGRAPHY CONTRACT */
.section_header_block h2,
.go_diving_full_band h2,
.welcome_section h2,
.journey_section h2,
.hero_title {
    color: var(--brand_gold) ;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9) !important;
}
.section_header_block h3,
.go_diving_full_band p,
.welcome_section p,
.journey_section p,
.hero_sub {
    color: #FFFFFF ;
    font-weight: 400 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8) !important;
}
/* ==========================================================================
   FOOTER DOUBLE-TINT & HEAVY BLUE OVERRIDE FIX
   ========================================================================== */
.footer_main {
    background: rgba(2, 14, 30, 0.35) ;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: 2px solid var(--brand_gold) !important;
    box-shadow: none !important;
}
.footer_main p,
.footer_main span,
.footer_main a {
    color: #FFFFFF ;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8) !important;
}
.footer_main h1,
.footer_main h2,
.footer_main h3,
.footer_main h4,
.footer_main h5 {
    color: var(--brand_gold) ;
}
/* ==========================================================================
   HOMEPAGE SECTION DIVIDER LINES STRIPPING (FOOTER EXEMPT)
   ========================================================================== */
/* REMOVE INTERMEDIATE GOLD DIVIDER LINES ON HOMEPAGE SECTIONS */
.pillars_section,
.welcome_section.dark_bg,
.welcome_section {
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}
/* RETAIN SINGLE GOLD ACCENT BORDER ON FOOTER ONLY */
.footer_main {
    border-top: 2px solid var(--brand_gold) !important;
}
/* ==========================================================================
   GO DIVING SECTION BORDER STRIPPING (FOOTER EXEMPT)
   ========================================================================== */
.go_diving_full_band,
.section_header_block,
.diving_features_section {
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}
/* ==========================================================================
   V20 CONSOLIDATED SEMANTIC TYPOGRAPHY & LEGAL ENGINE (NO !IMPORTANT, SKINNABLE)
   ========================================================================== */
.page_title {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--brand_gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
}
.page_subtitle {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text_light);
    letter-spacing: 0.3px;
    opacity: 0.95;
}
.section_heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--brand_gold);
}
.section_heading i,
.section_heading .feature-icon,
.welcome_text .section_heading i,
.welcome_text .section_heading .feature-icon {
    display: inline-flex;
    flex-shrink: 0;
    font-size: 1.50rem;
    color: var(--brand_gold);
    margin: 0;
    vertical-align: middle;
}
.card_heading {
    font-size: 1.10rem;
    font-weight: 700;
    color: var(--brand_gold);
}
.body_copy {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text_light);
    line-height: 1.65;
}
.policy_body {
    font-size: 1.12rem;
    line-height: 1.75;
    color: var(--text_light);
}
.policy_body p {
    margin-bottom: 1.25rem;
}
.policy_body h1,
.policy_body h2,
.policy_body h3,
.policy_body h4,
.policy_body h5,
.policy_body .policy_sec_title {
    display: block;
    color: var(--brand_gold);
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.policy_body ul,
.policy_body ol {
    margin-bottom: 1.25rem;
    padding-left: 1.75rem;
}
.policy_body li {
    margin-bottom: 0.5rem;
}
.policy_body strong {
    color: var(--text_light);
    font-weight: 700;
}


/* MASTER PROTOCOL V5.0 FEATURED VIDEO RESPONSIVE ENGINE */
.featured-video { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 15px; border: 4px solid var(--brand_gold); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.featured-video iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 ;
    display: block !important;
}


/* V20 PROTOCOL: PRO DIRECTORY ENGINE (TOKENIZED, ZERO !IMPORTANT) */
.search_vault_container {
    max-width: 600px;
    margin: 0 auto 2rem auto;
    position: relative;
}
.directory_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 340px));
    justify-content: center;
    gap: 1.25rem;
    width: 100%;
    box-sizing: border-box;
}
.pro_card {
    display: flex;
    align-items: flex-end;
    position: relative;
    min-height: 150px;
    background-size: cover;
    background-position: center 15%;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    text-decoration: none;
    overflow: hidden;
}
.pro_card_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 18, 38, 0.95) 0%, rgba(0, 31, 66, 0.78) 65%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 1;
}
.pro_card_content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0.85rem 1rem;
    text-align: left;
    box-sizing: border-box;
}
.pro_card_header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}
.pro_avatar_frame {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid var(--brand_gold);
    overflow: hidden;
    background: var(--page_bg);
}
.pro_avatar_frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.pro_name {
    margin: 0 0 2px 0;
    color: var(--text_light);
    font-size: 1.1rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pro_card .pro_tagline {
    margin: 0;
    color: var(--brand_gold);
    font-size: 0.78rem;
    line-height: 1.3;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pro_meta_row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    margin-top: 8px;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    padding-top: 8px;
}
@media (max-width: 768px) {
    .section_container {
        padding: 0 15px;
    }
    .directory_grid {
        grid-template-columns: 1fr;
    }
}
.pro_location_badge {
    font-size: 0.75rem;
    color: #FFFFFF ;
    background: rgba(255,255,255,0.06);
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    
}
.pro_agency_badge {
    font-size: 0.7rem;
    color: #001226;
    background-color: var(--brand_gold) ;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* MASTER PROTOCOL V5.0 REVIEWS ENGINE */
.google_dynamic_track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 1.25rem;
    padding: 0.625rem 0.3125rem 1.5625rem 0.3125rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    align-items: flex-start !important;
}
.google_review_card {
    flex: 0 0 290px;
    scroll-snap-align: start;
    background: rgba(6, 18, 36, 0.60);
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 1.375rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-align: left;
    transition: all 0.2s ease;
    align-self: flex-start !important;
}
.google_review_header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.google_review_avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.google_review_author {
    color: #ffffff ;
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
}
.google_review_time {
    color: #ffffff ;
    font-size: 0.75rem;
    display: block;
}
.google_review_stars {
    color: var(--brand_gold) ;
    margin-bottom: 10px;
    font-size: 0.85rem;
    letter-spacing: 1px;
}
.review-text-content {
    color: #ffffff ;
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.read-more-label {
    color: var(--brand_gold) ;
    font-size: 0.75rem;
    font-weight: 600;
    display: block;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}




/* [V20 Consolidated into Master Typography Block] */


/* MASTER PROTOCOL V5.0 TABLET EXPEDIA CARD STACK */
@media (max-width: 991px) {
    .mobile-stack-card {
        flex-direction: column !important;
        height: auto !important;
        min-height: auto !important;
    }
    .mobile-width-left {
        width: 100% !important;
        padding: 20px 20px 0 20px ;
    }
    .mobile-width-right {
        width: 100% !important;
        padding: 15px 20px 20px 20px ;
    }
}

/* =========================================
   JOURNEY PILLAR CARD TITLE TYPOGRAPHY ALIGNMENT
   ========================================= */
.pillars_section .pillar_card h3,
.pillars_section .pillar_card .card_heading {
    font-size: clamp(1.8rem, 3.5vw, 2.3rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.15;
    color: var(--text_light);
    text-shadow: 2px 2px 0px rgba(0,0,0,0.9), 0 4px 12px rgba(0,0,0,0.8);
    margin-bottom: 10px;
}
/* ==========================================================================
   DECOUPLED CARD TYPOGRAPHY (INDEPENDENT DESIGN FLEXIBILITY)
   ========================================================================== */
/* 1. Primary Home Pillar Cards */
.pillars_section .pillar_card h3,
.pillars_section .pillar_card .card_heading {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.75px !important;
    line-height: 1.25 !important;
    color: #ffffff ;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.85), 0 0 10px rgba(0, 0, 0, 0.5) !important;
    margin-bottom: 8px !important;
}
/* 2. Secondary Mini Journey Cards */
.mini_pillar_card h5,
.mini_pillar_content h5 {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.75px !important;
    line-height: 1.25 !important;
    color: #ffffff ;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.85) !important;
    margin-bottom: 6px !important;
}
/* ==========================================================================
   GLOBAL PARAGRAPH & BODY COPY TYPOGRAPHY CONTRACT (+2px / 16px BASELINE)
   ========================================================================== */
p,
.body_copy,
.card-body p,
.pillar_card p,
.mini_pillar_card p,
.widget_card p {
    font-size: 1.05rem;
    line-height: 1.6;
}
/* Secondary helper descriptions inside compact cards */
.extra_small_copy,
small,
.mini_pillar_card p {
    font-size: 0.95rem;
}

/* ==========================================================================
   AUTHENTICATION & REGISTER FORM DARK GLASS CONTRACT (AUTHENTIC BRAND NAVY)
   ========================================================================== */
.welcome_section .auth_card_glass {
    background: transparent ;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.auth_card_glass .field-box {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    text-align: left;
}
.auth_card_glass .field-box span {
    display: block;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--brand_gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.auth_card_glass .field-box input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 13, 26, 0.35);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 8px;
    color: var(--text_light);
    font-size: 1rem;
    font-weight: 600;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.auth_card_glass .field-box input:focus {
    outline: none;
    border-color: var(--brand_gold);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
    background: rgba(0, 13, 26, 0.65);
}
.auth_card_glass .field-box input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}
/* Primary Auth CTA Button (Gold Border Contract) */
.auth_card_glass .auth_cta_btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: transparent;
    border: 2px solid var(--brand_gold);
    color: var(--text_light);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.auth_card_glass .auth_cta_btn:hover {
    background: var(--brand_gold);
    color: #000000;
    border-color: var(--brand_gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}
.auth_card_glass .auth_footer_note {
    margin-top: 24px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text_light);
}
.auth_card_glass .auth_footer_link {
    color: var(--brand_gold);
    font-weight: 800;
    text-decoration: underline;
    transition: color 0.2s ease;
}
.auth_card_glass .auth_footer_link:hover {
    color: var(--brand_gold);
}
/* International Phone Dropdown Overrides */
.auth_card_glass .field-box .iti { width: 100%; }
.auth_card_glass .field-box .iti__country-list {
    background-color: #061224;
    border: 1px solid var(--brand_gold);
    color: var(--text_light);
}
.auth_card_glass .field-box .iti__country { color: var(--text_light); }
.auth_card_glass .field-box .iti__country:hover,
.auth_card_glass .field-box .iti__country.iti__highlight {
    background-color: rgba(212, 175, 55, 0.20);
}

/* ==========================================================================
   DIVE CARD ACTION BUTTONS & MODAL UNIFIED GLASS CONTRACT
   ========================================================================== */
.dive_card_btn {
    background: rgba(0, 13, 26, 0.45);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: #ffffff ;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 6px;
    padding: 10px 6px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    text-align: center;
    min-width: 120px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none;
}
.dive_card_btn:hover {
    background: rgba(212, 175, 55, 0.18);
    border-color: var(--brand_gold);
    color: var(--brand_gold) ;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
}
.dive_site_card_glass {
    background: transparent ;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(212, 175, 55, 0.35) ;
    border-radius: 12px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}
.dive_site_card_glass:hover {
    transform: translateY(-4px);
    border-color: var(--brand_gold) ;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25) !important;
}
.dive_site_modal_glass {
    background: rgba(0, 27, 60, 0.90) ;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(212, 175, 55, 0.4) ;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6) !important;
}
.modal_tech_specs_box {
    background: transparent ;
    border: 1px solid rgba(212, 175, 55, 0.35) ;
    border-radius: 10px;
    padding: 18px;
}
/* ==========================================================================
   DIVE SITE EXPLORER STANDARDIZED CLASSES
   ========================================================================== */
.dive_site_card_title {
    color: var(--brand_gold) ;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.95) !important;
}
.dive_card_btn_details {
    color: #ffffff ;
}
.dive_card_btn_departures {
    color: var(--brand_teal, #2dd4bf) ;
}
.dive_card_btn_request {
    color: var(--brand_gold) ;
}
/* ==========================================================================
   DIVE SITE EXPLORER PRODUCTION CLEAN CONTRACTS (ZERO INLINE DEBRIS)
   ========================================================================== */
.explorer_map_viewport {
    height: 250px;
    z-index: 1;
    transition: height 0.4s ease-in-out;
}
.site_card_hero_box {
    position: relative !important;
    overflow: hidden !important;
    height: 200px !important;
}
.site_card_gradient_overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 1rem ;
    background: linear-gradient(transparent, rgba(0,0,0,0.95)) ;
    z-index: 2 !important;
}
.site_card_title {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8) !important;
}
.site_card_title_departures {
    color: var(--brand_teal, #2dd4bf) ;
}
.site_card_title_request {
    color: var(--brand_gold) ;
}
.site_card_cert_badge {
    font-size: 0.85rem !important;
    margin-top: 3px !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.9) !important;
}
.site_card_type_badge {
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
    margin-top: 4px !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.9) !important;
}/* DIVE SITE EXPLORER MASTER V7.0 EXTRACTED UTILITY CLASSES */
.explorer_header_divider { width: 60px; }
.explorer_filter_bar { max-width: 750px; }
.explorer_search_box { min-width: 220px; }
.explorer_type_select { width: 240px; }
.explorer_reset_wrapper { width: 100px; }
.explorer_legend_icon_box { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
.explorer_flag_container { position: relative; width: 22px; height: 26px; }
.explorer_flag_pole { position: absolute; left: 2px; top: 3px; width: 1.5px; height: 23px; background: #d4af37; }
.explorer_flag_ball { position: absolute; left: 0.5px; top: 0; width: 4.5px; height: 4.5px; background: #d4af37; border-radius: 50%; }
.explorer_flag_banner_rec { position: absolute; left: 3.5px; top: 3px; width: 18px; height: 11px; background: linear-gradient(135deg, #dc2626 40%, #ffffff 40%, #ffffff 60%, #dc2626 60%); border: 0.5px solid #fff; }
.explorer_flag_banner_adv { position: absolute; left: 3.5px; top: 3px; width: 18px; height: 11px; background: linear-gradient(135deg, #16a34a 40%, #ffffff 40%, #ffffff 60%, #16a34a 60%); border: 0.5px solid #fff; }
.explorer_flag_banner_spec { position: absolute; left: 3.5px; top: 3px; width: 18px; height: 11px; background: linear-gradient(135deg, #2563eb 40%, #ffffff 40%, #ffffff 60%, #2563eb 60%); border: 0.5px solid #fff; }
.explorer_lightbox_overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: transparent ; z-index: 30000; justify-content: center; align-items: center; overflow: auto; cursor: pointer; }
.explorer_lightbox_img { max-width: 90%; max-height: 90%; transition: transform 0.25s ease; cursor: zoom-in; }
.explorer_lightbox_close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 40px; font-weight: bold; cursor: pointer; }
.explorer_shipwreck_icon { font-size: 20px; -webkit-text-stroke: 0.5px #000; text-shadow: 0 1px 3px #000; }
.explorer_shipwreck_shallow { color: #3b82f6; }
.explorer_shipwreck_advanced { color: #10b981; }
.explorer_shipwreck_technical { color: #d4af37; }
.explorer_popup_card { color: #fff; font-family: sans-serif; padding: 2px; min-width: 250px; }
.explorer_popup_header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; align-items: flex-start; }
.explorer_popup_body { flex: 1; }
.explorer_popup_title { font-size: 14px; text-transform: uppercase; color: var(--text_light); display: block; margin-bottom: 2px; }
.explorer_popup_cert { font-size: 11px; color: var(--brand_gold); display: block; font-weight: bold; margin-bottom: 6px; }
.explorer_popup_depth { font-size: 11px; color: var(--text_light); }
.explorer_popup_thumb { width: 65px; height: 65px; object-fit: cover; border-radius: 4px;  }
.explorer_gallery_thumb { aspect-ratio: 1; object-fit: cover; cursor: zoom-in; }
.explorer_gallery_label { font-size: 8px; }
.hero_slide_img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }/* DIVE SITE EXPLORER MAP VIEWPORT & EXPANSION STATES */
.explorer_map_viewport { width: 100%; height: 250px; transition: height 0.4s ease; border-radius: 6px; background: var(--glass_card_bg); position: relative; overflow: hidden; }
.explorer_map_expanded { height: 550px; }
.explorer_map_glass_box { background: rgba(6, 18, 36, 0.55) ; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(212, 175, 55, 0.35) ; border-radius: 8px; overflow: hidden; }/* Refactor V10.0 - Single Violation Utilities */
.modal_close_warning { filter: invert(1) sepia(1) saturate(5) hue-rotate(350deg); }
.policy_banner_title { font-size: 0.8rem; }
/* Refactor V10.0 - Gap Utility */
.z_pattern_gap { gap: 50px; }
/* Refactor V10.0 - Batch 2 Utilities */
.footer_icon_sm { width: 24px; height: 24px; object-fit: contain; }
.footer_col_wide { flex: 1.5; min-width: 280px; }
.text_cyan_bright { color: #00ffca; }
.text_brand_gold { color: var(--brand-gold); }
.vault_textarea_sm { height: 65px; resize: none; }
.vault_textarea_md { height: 80px; resize: none; }/* Refactor V10.0 - Batch 3 Widget Utilities */
.widget_dark_card { background: transparent ;  }
.opacity-30 { opacity: 0.3; }/* Refactor V10.0 - 3-Violation Tier Utilities */
.bg_navy_dark { background: #0b111e; }
.vault_textarea_xs { height: 45px; resize: none; }
.table_text_sm { font-size: 0.85rem; }
.tx_time_text { font-size: 0.75rem; }
.tx_badge_text { font-size: 0.65rem; }
.vault_actions_row { margin-top: 30px; display: flex; gap: 15px; }
.flex_2 { flex: 2; }
.vault_cancel_btn { background: var(--brand_navy); flex: 1; text-align: center; }/* Refactor V10.0 - 4-Violation Tier Utilities */
.tab_content_min_height { min-height: 520px; }
.hero_preview_img { max-height: 180px; }
.border_dark_subtle { border-color: #333 ; }
.border_danger_subtle { border-color: #ff4444 ; }
.text_brand_blue { color: var(--brand-blue); }
.bg_dark_pitch { background: var(--brand_navy)111; }
.border_brand_gold { border-color: var(--brand-gold) ; }
.auth_section_padding { padding: 80px 0; min-height: 90vh; }
.auth_card_container { max-width: 550px; margin: 0 auto; }
.auth_title_padding { padding-bottom: 20px; }
.grid_2col_gap { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.auth_wrapper_centered { display: flex; align-items: center; justify-content: center; padding-top: 100px; }
.auth_card_compact { max-width: 450px; width: 100%; }
.text_center_pb20 { text-align: center; padding-bottom: 20px; }
.auth_alert_danger { background: rgba(239, 68, 68, 0.1); border: 1px solid #ef4444; color: #ef4444; padding: 10px; border-radius: 8px; margin-bottom: 20px; font-size: 0.85rem; }
.vault_field_box_mt { margin-top: 20px; }
.vault_actions_row_mt { display: flex; gap: 15px; margin-top: 20px; }/* Refactor V10.0 - 5-Violation Tier Utilities */
.dna_session_card {  border-radius: 5px; border: 1px solid #333; }
.label_nano { font-size: 9px; }
.credit_bar_label { font-size: 0.65rem; letter-spacing: 0.5px; }
.credit_bar_text { font-size: 0.65rem; }
.credit_bar_sublabel { font-size: 0.7rem; }
.flex_between_center { display: flex; justify-content: space-between; align-items: center; }
.vault_footer_divider { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.vault_back_btn { background: var(--brand_navy); display: block; text-align: center; color: white ; }
.floating_controls_dock { position: fixed; bottom: 25px; right: 25px; z-index: 99999; display: flex; gap: 10px; }
.fishing_widget_wrapper { width: 100%; padding: 5px; }
.fishing_card_body { background: #0F172A; border: 1px solid rgba(255, 255, 255, 0.15); padding: 15px; border-radius: 8px; }
.fishing_label { display: block; font-size: 0.8rem; font-weight: bold; color: var(--brand_gold); text-transform: uppercase; margin-bottom: 8px; }
.fishing_select { width: 100%; background: #1E293B; color: #fff; border: 1px solid rgba(255, 255, 255, 0.15); padding: 10px; border-radius: 6px; font-size: 0.85rem; margin-bottom: 12px; cursor: pointer; }
.fishing_btn { width: 100%; background: var(--brand_gold); color: #000; border: none; padding: 10px; font-size: 0.8rem; font-weight: bold; text-transform: uppercase; border-radius: 6px; cursor: pointer; }
.opacity-50 { opacity: 0.5; }/* Refactor V10.0 - 5-Violation Tier Utilities */
.dna_session_card {  border-radius: 5px; border: 1px solid #333; }
.label_nano { font-size: 9px; }
.credit_bar_label { font-size: 0.65rem; letter-spacing: 0.5px; }
.credit_bar_text { font-size: 0.65rem; }
.credit_bar_sublabel { font-size: 0.7rem; }
.flex_between_center { display: flex; justify-content: space-between; align-items: center; }
.vault_footer_divider { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.vault_back_btn { background: var(--brand_navy); display: block; text-align: center; color: white ; }
.floating_controls_dock { position: fixed !important; bottom: 25px !important; right: 25px !important; z-index: 99999 !important; display: flex !important; gap: 10px !important; }
.fishing_widget_wrapper { width: 100%; padding: 5px; }
.fishing_card_body { background: #0F172A; border: 1px solid rgba(255, 255, 255, 0.15); padding: 15px; border-radius: 8px; }
.fishing_label { display: block; font-size: 0.8rem; font-weight: bold; color: var(--brand_gold); text-transform: uppercase; margin-bottom: 8px; }
.fishing_select { width: 100%; background: #1E293B; color: #fff; border: 1px solid rgba(255, 255, 255, 0.15); padding: 10px; border-radius: 6px; font-size: 0.85rem; margin-bottom: 12px; cursor: pointer; }
.fishing_btn { width: 100%; background: var(--brand_gold); color: #000; border: none; padding: 10px; font-size: 0.8rem; font-weight: bold; text-transform: uppercase; border-radius: 6px; cursor: pointer; }
.opacity-50 { opacity: 0.5; }
.pricing_sched_title { font-size: 1.1rem; margin: 0; }
.admin_card_glass { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.08); }
.bg_dark_translucent { background: transparent ; }
.border_amber_accent { border-color: var(--brand_gold) ; }
.bg_dark_subtle { background: transparent ; }/* Refactor V10.0 - 6-Violation Tier Utilities */
.text_nano_11 { font-size: 11px; }
.vault_textarea_lg { height: 120px; resize: none; }
.preview_box_200 { max-width: 200px; }
.preview_img_hero { width: 100%; height: auto; max-height: 90px; object-fit: cover; }
.preview_box_120 { max-width: 120px; }
.preview_img_logo { width: 100%; height: auto; max-height: 90px; object-fit: contain; }
.contact_map_box { min-height: 400px; flex: 1; }
.map_iframe_full { width: 100%; height: 100%; min-height: 400px; border: none; display: block; }
.flex_1 { flex: 1; }

.modal-content .form-control:focus,
.public_checkout_card .form-control:focus {
    background-color: rgba(255, 255, 255, 0.05) ;
    color: #001f42 ;
    border-color: #3b82f6 ;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) !important;
}


.modal-content .form-control,
.modal-content .form-select,
.modal-content select,
.modal-content input,
.modal-content textarea {
    background-color: rgba(255, 255, 255, 0.05) ;
    color: #f8fafc ;
    border: 1px solid rgba(255, 255, 255, 0.15) ;
}
.modal-content .form-control:focus,
.modal-content input:focus,
.modal-content select:focus {
    background-color: rgba(255, 255, 255, 0.05) ;
    color: #ffffff ;
    border-color: var(--brand_gold) ;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.20) !important;
}

/* Refactor V10.0 - Public Adventure & Modal Brand Architecture */
.vendor_card_glass { background: transparent ; border: 1px solid rgba(255, 255, 255, 0.08) ; }
.vendor_thumb_box { height: 210px !important; position: relative !important; overflow: hidden !important; background: var(--brand_navy) ; }
.vendor_gallery_split { width: 50% !important; height: 100% !important; object-fit: cover !important; }
.vendor_gallery_main { width: 65% !important; height: 100% !important; }
.vendor_gallery_side { width: 35% !important; height: 100% !important; display: flex !important; flex-direction: column !important; gap: 2px !important; }
.vendor_gallery_side_img { width: 100% !important; height: 50% !important; object-fit: cover !important; }
.badge_vendor_gold { font-size: 11px !important; border: 1px solid rgba(212, 175, 55, 0.4) ; z-index: 4 !important; }
.badge_vendor_info { font-size: 11px !important; border: 1px solid rgba(45, 212, 191, 0.4) ; z-index: 4 !important; }
.badge_vendor_tag { font-size: 10px !important; z-index: 4 !important; }
.text_nano_gold { font-size: 11px !important; color: var(--brand_gold) ; }
.vendor_deal_box { background: rgba(212, 175, 55, 0.10) ; border: 1px dashed var(--brand_gold) ; }
.btn_vendor_booking { font-size: 11px !important; }
.btn_vendor_dining { background: var(--brand_teal) ; color: #000000 ; font-weight: bold !important; font-size: 11px !important; }
.btn_vendor_outline { font-size: 11px !important; }
.btn_vendor_disabled { opacity: 0.6 ; cursor: not-allowed !important; }
.hero_title_gold { color: var(--brand_gold) ; }
.hero_sub_white { color: var(--text_light) ; }
.empty_adventure_box { background: transparent ; }

/* Refactor V10.0 - Official Brand Navy Glass System for Modals & Controls */
.tribe_modal_navy_glass {
    background-color: transparent;
    color: #ffffff ;
    border: 1px solid rgba(212, 175, 55, 0.3) ;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}
.tribe_modal_header_navy {
    background-color: transparent ;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3) !important;
}
.tribe_input_navy {
    background-color: transparent ;
    color: #ffffff ;
    border: 1px solid rgba(255, 255, 255, 0.2) ;
}
.tribe_input_navy:focus {
    background-color: transparent ;
    color: #ffffff ;
    border-color: var(--brand_gold) ;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3) !important;
}
.text_gold_brand {
    color: var(--brand_gold) ;
}

/* Refactor V10.0 - Universal Public & Modal Glassmorphism */
.public_modal_glass {
    background: var(--glass_card_bg) ;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(212, 175, 55, 0.35) ;
    color: #ffffff ;
}
.public_modal_header {
    background: transparent ;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3) !important;
}
.label_gold_brand {
    color: var(--brand_gold) ;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
.public_input_navy {
    background-color: transparent ;
    color: #ffffff ;
    border: 1px solid rgba(255, 255, 255, 0.2) ;
}
.public_input_navy:focus {
    background-color: transparent ;
    color: #ffffff ;
    border-color: var(--brand_gold) ;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3) !important;
}
.public_summary_navy_glass {
    background: transparent ;
    backdrop-filter: none;
    border: 1px solid rgba(212, 175, 55, 0.3) ;
    border-radius: 8px !important;
}

/* Refactor V10.0 - Clean Single-Class Brand Utilities */
.public_modal_glass {
    background: var(--glass_card_bg) ;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(212, 175, 55, 0.35) ;
    color: #ffffff ;
}
.public_modal_header {
    background: transparent ;
    border-bottom: 1px solid rgba(212, 175, 55, 0.35) !important;
}
.label_gold_brand {
    color: var(--brand_gold) ;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
.public_input_navy {
    background-color: transparent ;
    color: #ffffff ;
    border: 1px solid rgba(255, 255, 255, 0.20) ;
}
.public_input_navy:focus {
    background-color: transparent ;
    color: #ffffff ;
    border-color: var(--brand_gold) ;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.30) !important;
}
.public_summary_navy_glass {
    background: transparent ;
    backdrop-filter: none;
    border: 1px solid rgba(212, 175, 55, 0.35) ;
    border-radius: 8px !important;
}
.btn_gold_action {
    background: var(--brand_gold) ;
    color: #000000 ;
    border: none ;
    border-radius: 6px !important;
}

/* Refactor V10.0 - Official Brand CTA Button (Navy Fill + Gold Border + White Text) */



/* Refactor V10.0 - Universal Public Glassmorphic Design System */
.public_modal_glass {
    background: transparent ;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(212, 175, 55, 0.35) ;
    color: #ffffff ;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5) !important;
}
.public_modal_header {
    background: transparent ;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.30) !important;
}
.public_input_navy {
    background-color: transparent ;
    backdrop-filter: none;
    color: #ffffff ;
    border: 1px solid rgba(255, 255, 255, 0.18) ;
}
.public_input_navy:focus {
    background-color: transparent ;
    color: #ffffff ;
    border-color: var(--brand_gold) ;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.30) !important;
}
.public_summary_navy_glass {
    background: transparent ;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(212, 175, 55, 0.30) ;
    border-radius: 8px !important;
}
/* ==========================================================================
   TIER 1 GLOBAL COMPONENT: SUPER ADMIN FLOATING DOCK (PROTOCOL V14.0)
   ========================================================================== */
html body .hero-floating-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    gap: 10px;
    align-items: center;
}
html body .hero-floating-controls a.hero-floating-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease-in-out;
}
html body .hero-floating-controls a.hero-floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}
html body .hero-floating-controls a.hero-floating-btn-admin {
    background-color: var(--dock-admin-bg);
    color: #FFFFFF;
    border: 1px solid var(--dock-admin-border);
}
html body .hero-floating-controls a.hero-floating-btn-tribe {
    background-color: var(--dock-tribe-bg);
    color: #FFFFFF;
    border: 1px solid var(--dock-tribe-border);
}
html body .hero-floating-controls a.hero-floating-btn-pro {
    background-color: var(--dock-pro-bg);
    color: var(--dock-pro-gold);
    border: 1px solid var(--dock-pro-gold);
}/* TRIP CARD FALLBACK MEDIA TOKEN */
.trip-fallback-media {
    background-color: #0f172a;
    color: #d4af37;
}
/* ==========================================================================
   TYPEAHEAD AUTOCOMPLETE COMPONENT (DECOUPLED FROM BLADE)
   ========================================================================== */
.typeahead-wrapper {
    position: relative;
    width: 100%;
}
.typeahead-input {
    font-size: 13px;
}
.typeahead-button {
    font-size: 12px;
}
.typeahead-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--glass-bg, rgba(10, 17, 24, 0.95));
    backdrop-filter: blur(12px);
    border: 1px solid var(--brand_gold);
    border-top: none;
    border-radius: 0 0 6px 6px;
    z-index: 1050;
    max-height: 240px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}
.typeahead-item {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text_light);
    cursor: pointer;
    transition: background-color 0.15s ease, border-left 0.15s ease;
}
.typeahead-item:last-child {
    border-bottom: none;
}
.typeahead-item:hover,
.typeahead-item.active {
    background-color: rgba(212, 175, 55, 0.15);
    border-left: 3px solid var(--brand_gold);
    color: var(--text_light);
}



/* ==========================================================================
   LEAFLET MAP POPUP & EXPEDITION ROADMAP STYLING (TOKENIZED, 0 !IMPORTANT)
   ========================================================================== */
html body .leaflet-control-attribution {
    display: none;
}
html body .leaflet-popup-content-wrapper {
    background: rgba(0, 31, 66, 0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--brand_gold);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}
html body .leaflet-popup-tip {
    background: rgba(0, 31, 66, 0.85);
    border: 1px solid var(--brand_gold);
}
html body .leaflet-popup-content {
    margin: 0;
    line-height: 1.4;
}
html body .leaflet-popup-tip {
    background: rgba(0, 31, 66, 0.85);
    border: 1px solid var(--brand_gold);
}
html body .roadmap-map-popup-container {
    color: var(--text_light);
    font-family: system-ui, -apple-system, sans-serif;
    padding: 0;
    width: 240px;
}
html body .roadmap-popup-thumb {
    width: 100%;
    height: 115px;
    border-radius: 6px 6px 0 0;
    background-size: cover;
    background-position: center;
    background-color: #020b18;
}
html body .roadmap-popup-body {
    padding: 10px;
}
html body .roadmap-popup-day {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--brand_gold);
    display: block;
    margin-bottom: 2px;
}
html body .roadmap-popup-title {
    font-size: 0.875rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
    color: var(--text_light);
    font-weight: 900;
}
html body .roadmap-popup-tagline {
    font-size: 0.725rem;
    color: #cbd5e1;
    line-height: 1.4;
    margin-bottom: 6px;
    font-weight: 500;
}
html body .roadmap-popup-meta {
    font-size: 0.7rem;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 6px;
    margin-top: 6px;
    line-height: 1.5;
}
html body .roadmap-popup-meta strong {
    color: var(--text_light);
}
html body .port-map-popup-container {
    color: var(--text_light);
    font-family: system-ui, -apple-system, sans-serif;
    padding: 10px;
    min-width: 180px;
}
html body .port-popup-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--brand_gold);
    display: block;
    margin-bottom: 2px;
}
html body .port-popup-title {
    font-size: 0.825rem;
    text-transform: uppercase;
    display: block;
    color: var(--text_light);
    font-weight: 900;
}
html body .port-popup-sub {
    color: #cbd5e1;
    display: block;
    margin-top: 2px;
    font-size: 0.7rem;
}
/* ==========================================================================
   LIVEABOARD DESTINATION INDEX STYLING (TOKENIZED, 0 !IMPORTANT)
   ========================================================================== */
html body .country-tile-card {
    border: 1px solid rgba(212, 175, 55, 0.25);
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    background: rgba(6, 18, 36, 0.40);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
html body .country-tile-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand_gold);
}
html body .country-badge-active {
    font-size: 0.6875rem;
    font-weight: 900;
    background: var(--glass_card_bg) ;
    color: var(--brand_gold);
    border: 1px solid var(--brand_gold);
    border-radius: 4px;
    letter-spacing: 0.5px;
}
html body .page_title_gold {
    color: var(--brand_gold);
    font-weight: 900;
    text-transform: uppercase;
}
html body .country_tile_title {
    font-size: 1.75rem;
    letter-spacing: 0.5px;
    color: var(--brand_gold);
}
html body .tile_icon_gold {
    color: var(--brand_gold);
}
html body .tile_rating_star {
    color: var(--brand_gold);
}
/* ==========================================================================
   MARKETPLACE & MAP POPUP STYLING (TOKENIZED, 0 !IMPORTANT)
   ========================================================================== */
html body .marketplace_map_glass {
    background: rgba(6, 18, 36, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 8px;
    overflow: hidden;
}
html body .map_notice_gold {
    color: var(--brand_gold);
}
html body .vessel_card_body {
    background: #001227;
    min-height: 185px;
    font-family: system-ui, -apple-system, sans-serif;
}
html body .vessel_price_gold {
    color: var(--brand_gold);
    font-weight: 900;
}
html body .marketplace-map-popup-container {
    color: var(--text_light);
    font-family: system-ui, -apple-system, sans-serif;
    padding: 10px;
    min-width: 220px;
}
html body .marketplace-popup-title {
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--text_light);
    display: block;
    margin-bottom: 2px;
    font-weight: 900;
}
html body .marketplace-popup-sub {
    font-size: 0.725rem;
    color: var(--brand_gold);
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
}
html body .marketplace-popup-link {
    display: block;
    text-align: center;
    background: var(--brand_navy);
    color: var(--text_light);
    padding: 6px;
    font-size: 0.65rem;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid var(--brand_gold);
    border-radius: 4px;
    text-transform: uppercase;
    margin-top: 8px;
}
/* ==========================================================================
   RESORT DETAIL SHOWCASE STYLING (TOKENIZED, 0 !IMPORTANT)
   ========================================================================== */
html body .resort-detail-canvas {
    background: transparent;
    min-height: 100vh;
}
html body .resort-header-bar {
    background: transparent;
    padding-top: 15px;
    padding-bottom: 10px;
}
html body .resort-hero-viewport {
    height: 300px;
    position: relative;
    overflow: hidden;
    background: transparent;
}
html body .resort-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(11,17,30,0.1) 0%, rgba(11,17,30,0.70) 80%, rgba(11,17,30,0.90) 100%);
    z-index: 2;
}
html body .resort-spec-strip {
    background: transparent;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    padding: 12px 0;
}
html body .resort-filter-dock {
    background: rgba(6, 18, 36, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 8px;
    width: fit-content;
    margin: 0 auto;
}
html body .resort-card-glass {
    background: rgba(6, 18, 36, 0.40);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 8px;
}
html body .resort-inner-glass {
    background: rgba(11, 17, 30, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(212, 175, 55, 0.20);
    border-radius: 6px;
}
html body .resort-badge-gold {
    background: var(--glass_card_bg) ;
    border: 1px solid var(--brand_gold);
    color: var(--brand_gold);
    border-radius: 4px;
}
html body .resort-section-title {
    color: var(--brand_gold);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.25);
    padding-bottom: 8px;
    margin-bottom: 16px;
}

/* ==========================================================================
   RESORT INDEX SHOWCASE STYLING (TOKENIZED, 0 !IMPORTANT)
   ========================================================================== */
html body .resort_tile_card {
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
html body .resort_tile_card:hover {
    border-color: var(--brand_gold);
    transform: translateY(-4px);
}
html body .resort_badge_active {
    font-size: 12px;
    font-weight: 900;
    background: var(--glass_card_bg);
    color: var(--brand_gold);
    border: 1px solid var(--brand_gold);
    border-radius: 4px;
    letter-spacing: 0.5px;
}
html body .resort_badge_disabled {
    font-size: 12px;
    font-weight: 900;
    background: #00122a;
    color: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    letter-spacing: 0.5px;
}
html body .resort_hero_gradient {
    height: 85%;
    background: linear-gradient(to top, rgba(0, 12, 28, 0.99) 0%, rgba(0, 21, 48, 0.8) 45%, rgba(0, 43, 92, 0.3) 70%, transparent 100%);
    pointer-events: none;
}
html body .resort_card_title {
    font-size: 1.9rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: var(--brand_gold);
}
html body .resort_card_title.title_disabled {
    color: rgba(255, 255, 255, 0.4);
}
html body .resort_card_desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text_light);
    font-weight: 500;
    opacity: 1.0;
}
html body .resort_card_desc.desc_disabled {
    opacity: 0.4;
}
html body .resort_card_footer {
    font-size: 14px;
    font-weight: 800;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 10px;
    color: var(--text_light);
}
html body .resort_icon_gold {
    color: var(--brand_gold);
}
html body .resort_rating_gold {
    color: var(--brand_gold);
}
html body .resort_text_muted {
    color: rgba(255, 255, 255, 0.3);
}
/* ==========================================================================
   RESORT MARKETPLACE SHOWCASE STYLING (TOKENIZED, 0 !IMPORTANT)
   ========================================================================== */
html body .hero_title_gold {
    color: var(--brand_gold);
}
html body .resort_back_link {
    font-size: 14px;
    color: var(--text_light);
    letter-spacing: 0.5px;
}
html body .resort_market_heading {
    color: var(--brand_gold);
    font-size: 1.6rem;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}
html body .resort_market_sub {
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: var(--text_light);
}
html body .resort_market_divider {
    width: 60px;
    height: 2px;
    background: rgba(212, 175, 55, 0.35);
    margin: 12px auto 6px;
}
html body .resort_map_notice {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--brand_gold);
}
html body .resort_world_map_container {
    height: 250px;
    border: 1px solid var(--brand_gold);
    background: #0b111e;
    z-index: 1;
    position: relative;
    transition: height 0.4s ease-in-out;
}
html body .resort_map_legend_box {
    background: rgba(6, 18, 36, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.35);
    display: none;
}
html body .resort_market_card {
    background: rgba(6, 18, 36, 0.60);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 8px;
}
html body .resort_market_badge {
    top: 15px;
    left: 15px;
    border: 1px solid var(--brand_gold);
    font-size: 9px;
    padding: 5px 10px;
    letter-spacing: 0.5px;
    z-index: 10;
    color: var(--brand_gold);
}
html body .resort_market_rating {
    top: 15px;
    right: 15px;
    font-size: 11px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
    color: var(--brand_gold);
}
html body .resort_card_gradient_overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
    z-index: 2;
}
html body .resort_card_title_gold {
    font-size: 1.25rem;
    letter-spacing: 0.3px;
    color: var(--brand_gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}
html body .resort_location_label {
    font-size: 11px;
    color: var(--brand_gold);
}
html body .resort_coming_soon {
    letter-spacing: 0.5px;
    color: var(--brand_gold);
}
html body .resort-market-popup-container {
    color: var(--text_light);
    font-family: system-ui, -apple-system, sans-serif;
    padding: 8px;
    min-width: 200px;
}
html body .resort-market-popup-title {
    font-size: 13px;
    text-transform: uppercase;
    color: var(--text_light);
    display: block;
    margin-bottom: 2px;
    font-weight: 900;
}
html body .resort-market-popup-sub {
    font-size: 11px;
    color: var(--brand_gold);
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}
html body .resort-market-popup-btn {
    display: block;
    text-align: center;
    background: var(--brand_navy);
    color: var(--text_light);
    padding: 6px;
    font-size: 10px;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid var(--brand_gold);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
/* ==========================================================================
   CHECKOUT & DETAIL JS TEMPLATE LITERAL STYLING (TOKENIZED, 0 !IMPORTANT)
   ========================================================================== */
html body .checkout_fee_row {
    font-size: 13px;
}
html body .checkout_fee_price_danger {
    color: #ef4444;
}
html body .checkout_breakdown_header {
    color: var(--brand_gold);
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
html body .detail_addon_name_item {
    display: block;
    font-size: 12px;
    color: var(--text_light);
    font-weight: 700;
    margin-top: 5px;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
}
/* ==========================================================================
   RESORT BARE HOTEL MAP MARKER STYLING (TOKENIZED, 0 !IMPORTANT)
   ========================================================================== */
html body .resort-bare-hotel-marker i {
    font-size: 24px;
    -webkit-text-stroke: 0.75px #000000;
    text-shadow: 0.5px 0.5px 0 #000000, -0.5px -0.5px 0 #000000, 0.5px -0.5px 0 #000000, -0.5px 0.5px 0 #000000;
}
/* ==========================================================================
   RESORT CHECKOUT STYLING (TOKENIZED, 0 !IMPORTANT)
   ========================================================================== */
html body .resort-checkout-canvas {
    background: transparent;
    min-height: 100vh;
}
html body .resort-checkout-card {
    background: rgba(6, 18, 36, 0.40);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 8px;
}
html body .resort-guest-card {
    background: rgba(11, 17, 30, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(212, 175, 55, 0.20);
    border-radius: 6px;
}
html body .resort-input-glass {
    background: rgba(6, 18, 36, 0.60);
    color: var(--text_light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
html body .resort-input-glass:focus {
    border-color: var(--brand_gold);
    outline: none;
}
/* ==========================================================================
   TRAVEL INDEX LANDING PAGE STYLING (TOKENIZED, 0 !IMPORTANT)
   ========================================================================== */
html body .hero_overlay .hero_title {
    color: var(--brand_gold);
}
html body .hero_overlay .hero_sub {
    color: var(--text_light);
}
html body .pillar_block h3 {
    color: var(--brand_gold);
}
html body .pillar_block p {
    color: var(--text_light);
}
html body .welcome_text h2 {
    color: var(--brand_gold);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}
html body .welcome_text p {
    color: var(--text_light);
    font-weight: 400;
}
html body .featured_img.spotlight_border {
    border: 1px solid rgba(212, 175, 55, 0.35);
}
html body .travel_feature_heading {
    color: var(--brand_gold);
    font-size: 1.85rem;
    letter-spacing: 0.5px;
}
html body .travel_feature_heading i {
    color: var(--brand_gold);
    font-size: 1.75rem;
}
html body .travel_feature_sub {
    color: var(--text_light);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.6;
}
html body .travel_feature_display_img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 380px;
    border: 1px solid rgba(212, 175, 55, 0.35);
}
html body .travel_pending_asset_box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
html body .travel_feature_img_wrapper {
    max-width: 700px;
    overflow: hidden;
    border-radius: 8px;
}
/* ==========================================================================
   LIVEABOARD INDEX PAGE STYLING (TOKENIZED, 0 !IMPORTANT)
   ========================================================================== */
html body .liveaboard_dest_img {
    width: 100%;
    height: 295px;
    object-fit: cover;
    display: block;
}
html body .liveaboard_card_overlay {
    height: 85%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
}
html body .liveaboard_card_footer {
    font-size: 13.5px;
    font-weight: 700;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 10px;
}
/* Destination Tile Title & Icon Styling */
html body .country_tile_title,
html body .country_tile_title a {
    color: var(--brand_gold);
    text-decoration: none;
}
html body .tile_icon_gold {
    color: var(--brand_gold);
}






/* ==========================================================================
   LIVEABOARD MARKETPLACE STYLING (TOKENIZED, V15.1 COMPLIANT)
   ========================================================================== */
html body .marketplace_map_glass {
    border-radius: 8px;
    background: var(--glass_card_bg) ;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
html body .map_notice_gold {
    color: var(--brand_gold);
}
html body .map_legend_box {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 12px;
    color: var(--text_light);
}
html body .hotel_icon_teal { color: #2dd4bf; }
html body .route_icon_gold { color: var(--brand_gold); }
html body .gold_text_span { color: var(--brand_gold); }
html body .star_icon_gold { color: var(--brand_gold); }
html body .anchor_icon_gold { color: var(--brand_gold); }
html body .vessel_card_container {
    background: #0b111e;
    
    border-radius: 8px;
}
html body .vessel_badge_navy {
    top: 15px;
    left: 15px;
    background: var(--brand_navy);
    border: 1px solid var(--brand_gold);
    font-size: 11px;
    padding: 6px 12px;
    letter-spacing: 0.5px;
    z-index: 10;
}
html body .vessel_rating_box {
    top: 15px;
    right: 15px;
    font-size: 12px;
    background: var(--brand_navy);
    border: 1px solid var(--brand_gold);
    z-index: 10;
}
html body .vessel_title_text {
    font-size: 1.35rem;
    letter-spacing: 0.3px;
    color: var(--text_light);
}
html body .vessel_port_info {
    font-size: 13.5px;
    color: var(--text_light);
    line-height: 1.5;
}
html body .port_sub_text {
    font-size: 12.5px;
    color: #e2e8f0;
    font-weight: 500;
}
html body .vessel_specs_row {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
html body .vessel_spec_badge {
    font-size: 9.5px;
    background: rgba(212, 175, 55, 0.05);
    color: var(--brand_gold);
    border: 1px solid rgba(212, 175, 55, 0.20);
}
html body .vessel_trips_container {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
html body .custom_vessel_tray {
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
html body .urgency_badge_green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25);
}
html body .urgency_badge_yellow {
    background: rgba(255, 234, 0, 0.07);
    color: #ffea00;
    border: 1px solid rgba(255, 234, 0, 0.3);
}
html body .urgency_badge_red {
    background: rgba(220, 38, 38, 0.12);
    color: #ef4444;
    border: 1px solid rgba(220, 38, 38, 0.4);
    font-weight: 800;
}
html body .vessel_trip_row {
    background: #002244;
    border: 1px solid #003366;
}
html body .trip_date_text {
    font-size: 14px;
    color: var(--text_light);
    font-weight: 900;
}
html body .trip_duration_text {
    font-size: 11.5px;
    color: #cbd5e1;
    font-weight: 700;
}
html body .vessel_price_text {
    font-size: 15px;
    font-weight: 900;
    color: var(--brand_gold);
}
html body .trip_price_sub {
    font-size: 9.5px;
    color: #cbd5e1;
    font-weight: 700;
}
html body .vessel_cta_btn {
    padding: 0 16px;
    font-size: 11px;
    height: 36px;
    border-radius: 4px;
    font-weight: 900;
    margin: auto 0;
}
/* Leaflet Map Marker Sizing & Stacking Rules */
html body .leaflet-marker-icon i.fa-ship,
html body .map_icon_vessel_ship {
    font-size: 26px;
    display: inline-block;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.8));
}
html body .leaflet-marker-icon i.fa-hotel,
html body .map_icon_hotel_teal {
    font-size: 22px;
    color: #2dd4bf;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.8));
}
html body .vessel_video_ratio_box {
    width: 100%;
    aspect-ratio: 16 / 6;
    position: relative;
    overflow: hidden;
    background: var(--glass_card_bg) ;
}
html body .vessel_iframe_cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border: none;
}/* ==========================================================================
   V15.1 LIVEABOARD DETAIL EXTENSIONS (AUTOMATED APPEND)
   ========================================================================== */
.hero-no-shadow { box-shadow: none; }
.banner-gold-announcement { background: var(--brand_gold); color: #000000; font-size: 16px; line-height: 1.6; font-weight: 800; letter-spacing: 0.2px; }
.text-gold { color: var(--brand_gold); }
.text-gold-heading { color: var(--brand_gold); font-weight: 900; letter-spacing: 0.5px; text-shadow: none; }
.text-gold-label { color: var(--brand_gold); font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: 0.5px; }
.text-white-bold { color: var(--text_light); font-weight: 700; }
.border-translucent-faint { border-color: rgba(255, 255, 255, 0.1); }
.border-translucent-light { border-color: rgba(255, 255, 255, 0.15); }
.border-gold { border-color: var(--brand_gold); }
.bg-translucent-dark { background: transparent ; text-shadow: none; }
/* V20 Collision Cleaned */
.badge-complimentary-gold { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(212, 175, 55, 0.5); color: var(--text_light); font-size: 11px; }


.modal-schematic-backdrop { background: transparent ; z-index: 999999; }
.modal-video-backdrop { background: transparent ; z-index: 1000001; }
html body .vessel_sub_panel h1,
html body .vessel_sub_panel h3,
html body .vessel_sub_panel h4,
html body .vessel_sub_panel h5 { text-shadow: none; }
html body .detail_tab_btn.active { color: var(--brand_gold); }
/* ==========================================================================
   V15.1 RESORT MARKETPLACE EXTENSIONS
   ========================================================================== */
.border-none { border: none ; }
.text-gold { color: var(--brand_gold); }
.text-white-faint { color: rgba(255, 255, 255, 0.7); font-weight: normal; font-size: 11px; }
.icon-glow-green { color: #10b981; font-size: 13px; filter: drop-shadow(0 0 3px #10b981); }
.icon-glow-blue { color: #3b82f6; font-size: 13px; filter: drop-shadow(0 0 3px #3b82f6); }
.icon-glow-gold { color: var(--brand_gold); font-size: 13px; filter: drop-shadow(0 0 3px #d4af37); }
/* Scuba Vendor Card Component Tokens */
.card.scuba-vendor-card {
    
    
    box-shadow: none;
}
.scuba-vendor-media {
    background: var(--glass_card_bg) ;
}
.scuba-vendor-badge-price {
    background: transparent ;
    color: var(--brand_gold);
    border: 1px solid rgba(212, 175, 55, 0.4);
}
.scuba-vendor-badge-info {
    background: transparent ;
    color: #0dcaf0;
    border: 1px solid rgba(13, 202, 240, 0.4);
}
.scuba-vendor-badge-recommended {
    background-color: var(--brand_gold);
    color: #000000;
}
.scuba-vendor-location {
    color: #c5a059;
}
.scuba-vendor-promo {
    background-color: rgba(212, 175, 55, 0.10);
    border: 1px dashed var(--brand_gold);
}
.scuba-vendor-promo-text {
    color: var(--brand_gold);
}
.scuba-vendor-promo-code {
    background: var(--glass_card_bg) ;
    color: var(--brand_gold);
}
.scuba-vendor-btn-voucher {
    background-color: #10b981;
    color: var(--text_light);
}/* V16.1 GLASS SUB-CONTAINERS (PREVENTS BACKGROUND STACKING) */
.glass-subcard {
    background: rgba(255, 255, 255, 0.03) ;
    border: 1px solid rgba(255, 255, 255, 0.1) ;
    backdrop-filter: blur(8px);
    border-radius: 6px;
}
.glass-subcard-gold {
    background: rgba(18, 18, 18, 0.65) ;
    border: 1px solid rgba(212, 175, 55, 0.3) ;
    backdrop-filter: blur(8px);
    border-radius: 6px;
}
.liveaboard_card_media_tray {
    width: 100%;
    height: 160px;
    background: transparent ;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* UNIFIED V16.1 GLASS CONTAINER RULES */
.bg-glass-card { background: var(--glass_card_bg) ; border: var(--glass_card_border) ; backdrop-filter: blur(12px); border-radius: 8px; }
.glass-subcard { background: transparent ; border: var(--glass_subcard_border) ; border-radius: 6px; }
.vessel_sub_panel { background: var(--glass_card_bg) ; border: var(--glass_card_border) ; border-radius: 8px; }

/* V16.1 LAYOUT & ALIGNMENT RESETS */
.vessel_sub_panel { padding: 1.5rem ; margin-bottom: 2rem !important; box-sizing: border-box; }
.bg-glass-card { box-sizing: border-box; }
.detail_tab_btn { white-space: nowrap; font-family: system-ui, -apple-system, sans-serif; }
#vessel_detail_map { border-radius: 8px; overflow: hidden; }


/* ==========================================================================
   RECONSTRUCTED SYSTEM STYLES FOR PUBLIC TRAVEL VIEWS
   ========================================================================== */

.text-gold-heading, .text-gold { color: var(--brand_gold) ; }
.text-white-heading { color: #ffffff ; }
.border-gold { border-color: var(--brand_gold) ; }
.border-gold-subtle { border-color: rgba(212, 175, 55, 0.25) ; }

.detail_tab_btn {
    color: rgba(255, 255, 255, 0.6) ;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 800;
    padding: 10px 18px ;
    border: none ;
    border-bottom: 2px solid transparent !important;
    transition: all 0.25s ease-in-out;
    white-space: nowrap;
    background: transparent ;
}
.detail_tab_btn:hover { color: #ffffff ; opacity: 0.9; }
.detail_tab_btn.active {
    color: var(--brand_gold) ;
    border-bottom: 2px solid var(--brand_gold) !important;
    opacity: 1.0 ;
}

.vessel_sub_panel {
    background: var(--glass_card_bg, rgba(255, 255, 255, 0.05)) ;
    border: var(--glass_card_border, 1px solid rgba(255, 255, 255, 0.12)) ;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 8px;
    padding: 1.5rem ;
    margin-bottom: 2rem !important;
    box-sizing: border-box;
}
.bg-glass-card {
    background: var(--glass_card_bg, rgba(255, 255, 255, 0.05)) ;
    border: var(--glass_card_border, 1px solid rgba(255, 255, 255, 0.12)) ;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 8px;
}
.glass-subcard {
    background: rgba(255, 255, 255, 0.02) ;
    border: 1px solid rgba(255, 255, 255, 0.08) ;
    border-radius: 6px;
}

.border.rounded.cursor-pointer { transition: border-color 0.2s ease, transform 0.2s ease; }
.border.rounded.cursor-pointer:hover { border-color: var(--brand_gold) ; transform: scale(1.04); }

.vessel_sub_panel table, .vessel_sub_panel .table { color: #ffffff ; }
.vessel_sub_panel td, .vessel_sub_panel th { border-color: rgba(255, 255, 255, 0.1) ; }


/* ==========================================================================
   NATURAL CASCADE COMPONENT POLISH (NO !IMPORTANT)
   ========================================================================== */

/* 1. Dropdowns & Select Options */
body select, body .form-select {
    background-color: var(--brand_navy);
    color: var(--text_light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
body select option {
    background-color: var(--brand_navy);
    color: var(--text_light);
}
body select option:hover,
body select option:focus {
    background-color: var(--brand_gold);
    color: #000000;
}

/* 2. CTA & Action Buttons */



/* 3. Modal Backdrops & Cards */
body .modal-content {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text_light);
}
body .modal-header, body .modal-footer {
    border-color: rgba(255, 255, 255, 0.1);
}

/* ==============================================================================
   V18.2 MASTER ENGINE FIXES: SHARP VIDEO & SINGLE-LAYER GLASS
   ============================================================================== */
/* Prevent Double-Glass Frosting (Cloudy wash on nested cards) */
.bg-glass-card .bg-glass-card,
.bg-glass-card .section-card,
.bg-glass-card .card-body {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
/* High-Contrast Select Dropdowns Across All Views */
select option {
    background-color: var(--brand_navy);
    color: var(--text_light);
}

/* ==============================================================================
   V18.2 SINGLE-BLUR GLASS ARCHITECTURE
   ============================================================================== */
.bg-glass-card {
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
/* Force child panels to zero blur so they never re-blur the parent */
.bg-glass-card .section-card,
.bg-glass-card .p-3,
.bg-glass-card .p-4,
.bg-glass-card .card-body {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: rgba(0, 0, 0, 0.15);
    
}
/* Standby Accent Fills (Turn on by adding class="panel-gold" to any inner div) */
.bg-glass-card .panel-gold {
    background-color: rgba(212, 175, 55, 0.18);
    border-color: rgba(212, 175, 55, 0.40);
}

/* ==============================================================================
   V18.2 ZERO-BACKGROUND UNIFORM GLASS (NO NAVY TINT, NO INNER FILL, NO IMPORTANT)
   ============================================================================== */
/* Main Card: Neutral dark glass without navy/blue hex tinting */
.bg-glass-card {
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
/* Inner Child Panels: Zero background color, zero blur */
.bg-glass-card .section-card,
.bg-glass-card .p-3,
.bg-glass-card .p-4,
.bg-glass-card .card-body {
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    
}
/* V19 ENTERPRISE GOLD CONTROL & GLASS RESETS */
body #vendorBookingModalGold .modal-content {
    background: transparent;
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
body #vendorBookingModalGold .vault-select,
body #vendorBookingModalGold .vault-input {
    height: 44px;
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    box-sizing: border-box;
    background: transparent;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text_light);
    border-radius: 6px;
}

/* ==========================================================================
   V19 ENTERPRISE GOLD - TRAVEL MARKETPLACE SCOPE (GLOBAL_STYLE.CSS)
   ========================================================================== */
/* Hero Media Viewports & Overlays */
body .hero_slide {
    position: relative;
    background-size: cover;
    background-position: center;
}
body .vessel_hero_viewport,
body .resort-card-hero-box {
    height: 200px;
    overflow: hidden;
}
/* Map Containers & Legend State Toggles (Zero !important) */
body #vessel_route_map,
body #resort_world_map {
    height: 250px;
    transition: height 0.4s ease-in-out;
}
body #map-legend-box {
    display: none;
    background: rgba(0, 12, 29, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}
body #map-legend-box.active {
    display: flex;
}
/* Single-Layer Glass Cards (Lock 10) */
body .vessel_card_container,
body .resort_market_card {
    background: rgba(0, 12, 29, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}
body .vessel-trip-info-block {
    line-height: 1.3;
    flex-grow: 1;
    min-width: 0;
}
body .resort-back-link {
    font-size: 14px;
    letter-spacing: 0.5px;
}
html body #vessel_main_display {
    height: 380px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-bottom: 3px solid var(--brand_gold);
}

/* Fallback viewport styles for video & placeholder slots */
html body .operator-video-viewport {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

html body .operator-placeholder-viewport {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand_gold);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}/* V20 ENTERPRISE GOLD - GLOBAL DOMAIN GLASS TOKENS */
.global-glass-pane {
    background: var(--global-glass-bg);
    backdrop-filter: blur(var(--global-glass-blur));
    -webkit-backdrop-filter: blur(var(--global-glass-blur));
    border: 1px solid var(--brand_gold);
}
/* V20 Semantic Explorer Tokens */
.explorer-search-input {
    color: var(--text_light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(15, 23, 42, 0.8);
    border-radius: 6px;
}
.explorer-search-input:focus {
    color: var(--text_light);
    background: rgba(15, 23, 42, 0.95);
    border-color: var(--brand_gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}
.explorer-map-frame {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    border: 1px solid var(--brand_gold);
    background: rgba(15, 23, 42, 0.9);
    position: relative;
    overflow: hidden;
    transition: height 0.4s ease-in-out;
}
    
/* V20 ENTERPRISE GOLD - CANONICAL GLOBAL GLASS PANE TOKEN */
.bg-glass-pane {
    background: var(--global-glass-bg);
    backdrop-filter: blur(var(--global-glass-blur));
    -webkit-backdrop-filter: blur(var(--global-glass-blur));
    border: 1px solid var(--brand_gold);
}/* V20 CANONICAL DROPDOWN OPTION TOKENS */
select option, .vault-input option, .form-select option {
    background-color: var(--brand_navy);
    color: var(--text_light);
    padding: 10px 14px;
    font-size: 13px;
}
select option:disabled, .vault-input option:disabled {
    color: rgba(255, 255, 255, 0.5);
    background-color: var(--brand_navy);
}/* V20 ENTERPRISE GOLD - CANONICAL SELECT & OPTION TOKEN OVERRIDES */
body select, body .form-select, select.vault-input {
    background-color: var(--brand_navy);
    color: var(--text_light);
    border: 1px solid var(--brand_gold);
}
select option, .vault-input option, .form-select option {
    background-color: var(--brand_navy);
    color: var(--text_light);
}
select option:disabled, .vault-input option:disabled, .form-select option:disabled {
    color: rgba(255, 255, 255, 0.45);
    background-color: var(--brand_navy);
}


/* 3. Destructive / Danger (.btn-action-danger) */
.btn-action-danger {
    background: #dc3545;
    border: 1px solid #dc3545;
    color: var(--text_light);
    transition: all 0.3s ease;
    border-radius: 4px;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    /* Updated Geometry */
    font-size: 14px;
    padding: 10px 24px;
    line-height: 1.5;
    text-align: center;
    font-weight: 700;
}
.btn-action-danger:hover {
    background: #bb2d3b;
    border-color: #bb2d3b;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
    color: var(--text_light);
}
/* 4. Ghost Navigation (.btn-action-ghost) */
.btn-action-ghost {
    background: transparent;
    border: 1px solid var(--text_muted);
    color: var(--text_light);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    padding: 10px 24px;
    line-height: 1.5;
    text-align: center;
    border-radius: 4px;
    font-weight: 600;
}
.btn-action-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--text_light);
    color: var(--text_light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}/* =========================================
   V20 PROTOCOL: COURSE CATALOG GLASS RULES
   ========================================= */

/* ==========================================================================
   4.4 CHARTER TRIP REQUEST MODAL COMPONENT (V20 TOKENIZED)
   ========================================================================== */
.charter_modal_card {
    max-width: 580px;
}

.charter_input_navy {
    background-color: var(--brand_navy);
    color: var(--text_light);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color-scheme: dark;
}

.charter_input_navy:focus {
    background-color: var(--brand_navy);
    border-color: var(--brand_gold);
    color: var(--text_light);
    outline: none;
}

.charter_input_navy option {
    background-color: var(--brand_navy);
    color: var(--text_light);
}
/* ==========================================================================
   V20 PROTOCOL: DEDICATED MODAL UTILITY CLUSTER
   ========================================================================== */
.explorer_modal_card {
    max-height: 90vh;
    overflow-y: auto;
    width: 90%;
    max-width: 900px;
}

.charter_modal_card {
    max-width: 580px;
}

.charter_input_navy {
    background-color: var(--brand_navy);
    color: var(--text_light);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color-scheme: dark;
}

.charter_input_navy:focus {
    background-color: var(--brand_navy);
    border-color: var(--brand_gold);
    color: var(--text_light);
    outline: none;
}

.charter_input_navy option {
    background-color: var(--brand_navy);
    color: var(--text_light);
}

.modal_body_copy_sm {
    max-width: 440px;
}
















/* =========================================================
   V20 PROTOCOL: COURSE CATALOG SEMANTIC GLASS ARCHITECTURE
   ========================================================= */
.catalog_search_wrapper {
    max-width: 500px;
}
.catalog_search_icon {
    left: 20px;
    top: 18px;
    font-size: 1.1rem;
    color: var(--brand_gold);
}
.catalog-search-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--brand_gold);
    font-weight: 600;
}
.catalog-search-input::placeholder {
    color: var(--brand_gold);
    opacity: 0.8;
}
.catalog-search-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--brand_gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    color: var(--brand_gold);
}
.master-category-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
}
.btn-accordion-glass {
    background: transparent;
    color: var(--brand_gold);
}
.btn-accordion-glass:not(.collapsed) {
    background: rgba(0, 43, 92, 0.6);
    color: var(--text_light);
    box-shadow: none;
}
.btn-manual-accordion {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text_light);
}
.btn-manual-accordion:not(.collapsed) {
    background: rgba(212, 175, 55, 0.15);
    color: var(--brand_gold);
    box-shadow: none;
}
.course_card_row {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}
.matrix_wrapper {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
}/* V20 Leaflet Popup & Modal Skinning */
.leaflet-popup-v20-container { width: 240px; padding: 0; font-family: system-ui, -apple-system, sans-serif; }
.leaflet-popup-v20-img { width: 100%; height: 115px; border-radius: 4px 4px 0 0; object-fit: cover; display: block; margin-bottom: 8px; }
.leaflet-popup-v20-body { padding: 0 6px 6px 6px; }
.leaflet-popup-v20-meta { font-size: 9px; text-transform: uppercase; font-weight: 800; color: var(--brand_gold); display: block; margin-bottom: 1px; }
.leaflet-popup-v20-title { font-size: 14px; text-transform: uppercase; display: block; margin-bottom: 3px; color: #111827; }
.leaflet-popup-v20-desc { font-size: 11.5px; color: #4B5563; line-height: 1.4; margin-bottom: 6px; font-weight: 500; }
.leaflet-popup-v20-footer { font-size: 11px; color: #1F2937; border-top: 1px solid #E5E7EB; padding-top: 5px; margin-top: 5px; line-height: 1.5; }
/* V20 Fullscreen Media Modals */
.modal-zoom-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 999999; overflow: auto; cursor: default; background: rgba(0,0,0,0.85); }
.modal-zoom-close { position: fixed; top: 20px; right: 25px; font-size: 38px; user-select: none; z-index: 1000000; }
.modal-zoom-img { max-width: 92%; max-height: 92%; object-fit: contain; border: 2px solid rgba(255,255,255,0.18); border-radius: 4px; transition: all 0.2s ease-in-out; cursor: zoom-in; }
.modal-zoom-img.is-magnified { max-width: 250%; max-height: none; width: 190%; height: auto; cursor: zoom-out; }
.video-modal-container { width: 100%; max-width: 960px; aspect-ratio: 16 / 9; border: 2px solid rgba(255,255,255,0.1); border-radius: 6px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }


/* Global Leaflet Dark Glass Container Overrides (Zero !important) */
html body .leaflet-popup-content-wrapper {
    background: rgba(0, 31, 66, 0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--brand_gold);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}
html body .leaflet-popup-tip {
    background: rgba(0, 31, 66, 0.85);
    border: 1px solid var(--brand_gold);
}
/* Global Tokenized Popup & Glass Card Classes */
html body .global-popup-v20-container { width: 230px; padding: 2px; font-family: system-ui, -apple-system, sans-serif; background: transparent; }
html body .global-popup-v20-img { width: 100%; height: 110px; border-radius: 6px 6px 0 0; object-fit: cover; display: block; margin-bottom: 6px; }
html body .global-popup-v20-body { padding: 4px 6px 6px 6px; }
html body .global-popup-v20-meta { font-size: 10px; text-transform: uppercase; font-weight: 800; color: var(--brand_gold); display: block; margin-bottom: 2px; letter-spacing: 0.5px; }
html body .global-popup-v20-title { font-size: 13.5px; text-transform: uppercase; font-weight: 700; display: block; margin-bottom: 3px; color: var(--text_light); text-shadow: 0 1px 2px rgba(0,0,0,0.8); }
html body .global-popup-v20-desc { font-size: 11.5px; color: #cbd5e1; line-height: 1.4; margin-bottom: 6px; font-weight: 500; }
html body .global-popup-v20-footer { font-size: 11px; color: #e2e8f0; border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 5px; margin-top: 5px; line-height: 1.5; }
html body .vessel_card_container,
html body .resort_market_card,
html body .global-v20-card {
    background: rgba(0, 31, 66, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* V20 CANONICAL HAMBURGER & FOOTER TOKEN OVERRIDES */
.navbar-toggler, .navbar-toggler-icon, .hamburger-icon-line {
    border-color: var(--brand_gold) !important;
    color: var(--brand_gold) !important;
}
.footer_links li a, .footer_links i, .footer-icon {
    color: var(--text_light);
    transition: color 0.25s ease;
}
.footer_links li a:hover, .footer_links i:hover, .footer-icon:hover {
    color: var(--brand_gold);
}


/* =========================================================
   V20 PROTOCOL: CANONICAL 3-BUTTON ARCHITECTURE
   ========================================================= */
/* 1. PRIMARY CTA STANDARD */
.cta_btn {
    background-color: var(--brand_navy);
    border: 2px solid var(--brand_gold);
    color: var(--text_light);
    transition: all 0.3s ease;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-block;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    padding: 12px 28px;
    line-height: 1.5;
    text-align: center;
    letter-spacing: 0.5px;
}
.cta_btn:hover {
    background-color: var(--brand_navy);
    border-color: var(--text_light);
    color: var(--text_light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.cta_btn i {
    color: var(--brand_gold);
    transition: color 0.3s ease;
}
.cta_btn:hover i {
    color: var(--text_light);
}
/* 2. SECONDARY GHOST STANDARD */
.btn-action-ghost {
    background: transparent;
    border: 1px solid var(--text_muted);
    color: var(--text_light);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    padding: 10px 24px;
    line-height: 1.5;
    text-align: center;
    border-radius: 4px;
    font-weight: 600;
}
.btn-action-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--text_light);
    color: var(--text_light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
/* 3. DESTRUCTIVE DANGER STANDARD */
.btn-action-danger {
    background-color: #dc3545;
    border: 1px solid #dc3545;
    color: var(--text_light);
    transition: all 0.3s ease;
    border-radius: 4px;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    padding: 10px 24px;
    line-height: 1.5;
    text-align: center;
    font-weight: 700;
}
.btn-action-danger:hover {
    background-color: #bb2d3b;
    border-color: #b02a37;
    color: var(--text_light);
    transform: translateY(-1px);
}

/* Canonical Tokenized Gold Utilities */
.text-gold, .text-gold-heading, .text-gold-label, .hero_title_gold, .gold_text_span, .star_icon_gold, .anchor_icon_gold, .route_icon_gold {
    color: var(--brand_gold) !important;
}
.border-gold {
    border-color: var(--brand_gold) !important;
}
.bg-gold {
    background-color: var(--brand_gold) !important;
}

/* ==========================================================================
   PRO CHARTER ROSTER & DIVER AVATAR STYLES
   ========================================================================== */
#widget-pro-charter-roster img {
    max-width: 100%;
    height: auto;
}
.widget_diver_avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #d4af37;
    background-color: #1a1a1a;
}
.widget_card {
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    transition: all 0.25s ease-in-out;
}
.widget_card.active,
.widget_card.selected,
.widget_card:hover {
    border-color: #28a745 !important;
    box-shadow: 0 0 12px rgba(40, 167, 69, 0.35);
}
.widget_diver_name {
    font-size: 0.9rem;
    font-weight: 600;
}
.widget_diver_cert {
    font-size: 0.75rem;
    color: #e0e0e0;
}


/* ==========================================================================
   PRO CHARTER ROSTER - ACTIVE BADGE STYLE (V20 COMPLIANT)
   ========================================================================== */
#widget-pro-charter-roster .badge-roster-active {
    border: 1px solid #28a745;
    color: #28a745;
}


/* PRIVATE GROUP BADGE (DARK GREEN) */
#widget-pro-charter-roster .badge-private-group {
    background-color: #14532d;
    color: #ffffff;
}


/* ==========================================================================
   V20 ENTERPRISE GOLD: LIVEABOARD MARKETPLACE TOKENIZED RULES
   ========================================================================== */
html body.public-domain .marketplace_route_map,
html body .marketplace_route_map {
    width: 100%;
    height: 250px;
    transition: height 0.35s ease;
}
html body.public-domain .marketplace_route_map.map_expanded,
html body .marketplace_route_map.map_expanded {
    height: 550px;
}
html body.public-domain .map_notice_unlocked,
html body .map_notice_unlocked {
    color: var(--status_emerald);
}
html body.public-domain .media-viewport-container,
html body .media-viewport-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--glass_card_bg);
}
html body.public-domain .vessel_video_ratio_box.media-viewport-container,
html body .vessel_video_ratio_box.media-viewport-container,
html body .vessel_video_ratio_box {
    height: 165px;
    min-height: 165px;
    max-height: 165px;
    aspect-ratio: auto;
    flex-shrink: 0;
}
html body .custom_vessel_tray {
    max-height: 310px;
}
html body.public-domain .admin_dark_viewport,
html body .admin_dark_viewport {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass_card_bg);
    color: var(--brand_gold);
    font-size: 2rem;
}
html body.public-domain .vessel_trip_meta_col,
html body .vessel_trip_meta_col {
    line-height: 1.3;
    flex: 1 1 165px;
    min-width: 0;
}
html body.public-domain .fleet_color_0,
html body .fleet_color_0 {
    color: var(--fleet_track_0);
}
html body.public-domain .fleet_color_1,
html body .fleet_color_1 {
    color: var(--fleet_track_1);
}
html body.public-domain .fleet_color_2,
html body .fleet_color_2 {
    color: var(--fleet_track_2);
}
html body.public-domain .fleet_color_3,
html body .fleet_color_3 {
    color: var(--fleet_track_3);
}
html body.public-domain .fleet_color_4,
html body .fleet_color_4 {
    color: var(--fleet_track_4);
}
/* ==========================================================================
   V20 ENTERPRISE GOLD: ISOLATED WAIVER PACKET SCOPE (100% TOKENIZED, 0 !IMPORTANT)
   Skinning Hook: Override --waiver-* tokens on body.waiver_packet_canvas per operator
   ========================================================================== */
body.waiver_packet_canvas {
    --waiver-bg: var(--page_bg);
    --waiver-surface: var(--global-glass-bg);
    --waiver-subsurface: var(--global-glass-bg);
    --waiver-navy: var(--brand_navy);
    --waiver-accent: var(--brand_gold);
    --waiver-text: var(--text_light);
    --waiver-muted: var(--text_muted);
    --waiver-ok: var(--status_emerald);
    --waiver-danger: var(--dock-admin-bg);
    background-color: var(--waiver-bg);
    background-image: var(--public-page-bg);
    color: var(--waiver-text);
    margin: 0;
    padding: 0;
}
.waiver_packet_container {
    max-width: 960px;
    margin: 0 auto;
    padding: 28px 16px 60px;
}
.waiver_card {
    background: var(--waiver-surface);
    backdrop-filter: blur(var(--global-glass-blur));
    -webkit-backdrop-filter: blur(var(--global-glass-blur));
    border: 1px solid var(--waiver-accent);
    border-radius: 8px;
}
.waiver_card_header {
    background: var(--waiver-subsurface);
    border-bottom: 1px solid var(--waiver-accent);
    padding: 14px 20px;
    border-radius: 8px 8px 0 0;
}
.waiver_subcard {
    background: var(--waiver-subsurface);
    border: 1px solid var(--waiver-muted);
    border-radius: 6px;
}
.waiver_title {
    color: var(--waiver-accent);
    font-weight: 800;
}
.waiver_label {
    color: var(--waiver-accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    display: block;
}
.waiver_copy {
    color: var(--waiver-text);
    font-weight: 600;
}
.waiver_badge {
    background-color: var(--waiver-accent);
    color: var(--waiver-bg);
    font-weight: 800;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
}
.waiver_badge_ok {
    background-color: var(--waiver-ok);
    color: var(--waiver-text);
    font-weight: 800;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
}
.waiver_badge_danger {
    background-color: var(--waiver-danger);
    color: var(--waiver-text);
    font-weight: 800;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
}
body.waiver_packet_canvas .form-control.waiver_input,
body.waiver_packet_canvas .form-select.waiver_input {
    background-color: var(--waiver-navy);
    color: var(--waiver-text);
    border: 1px solid var(--waiver-accent);
    font-weight: 600;
}
body.waiver_packet_canvas .form-control.waiver_input:focus,
body.waiver_packet_canvas .form-select.waiver_input:focus {
    background-color: var(--waiver-navy);
    color: var(--waiver-text);
    border-color: var(--waiver-text);
    outline: none;
    box-shadow: none;
}
body.waiver_packet_canvas .form-control.waiver_input.waiver_input_missing {
    border: 2px solid var(--waiver-danger);
}
.waiver_alert_missing {
    background: var(--waiver-subsurface);
    border: 1px solid var(--waiver-danger);
    color: var(--waiver-text);
    border-radius: 6px;
}
.waiver_btn_primary {
    background-color: var(--waiver-navy);
    border: 2px solid var(--waiver-accent);
    color: var(--waiver-text);
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    padding: 10px 22px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}
.waiver_btn_ghost {
    background: transparent;
    border: 1px solid var(--waiver-muted);
    color: var(--waiver-text);
    font-weight: 600;
    border-radius: 4px;
    padding: 6px 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}
.waiver_scroll_box {
    max-height: 280px;
    overflow-y: auto;
    white-space: pre-wrap;
    line-height: 1.7;
    color: var(--waiver-text);
}
.waiver_initials_field {
    width: 80px;
}
.waiver_pdf_frame {
    width: 100%;
    height: 420px;
    border: 0;
    background: var(--waiver-bg);
}
.waiver_sig_surface {
    height: 160px;
    background: var(--waiver-text);
    border: 2px solid var(--waiver-accent);
    border-radius: 6px;
    overflow: hidden;
}
.waiver_sig_canvas {
    width: 100%;
    height: 160px;
    touch-action: none;
    cursor: crosshair;
}
.is-hidden {
    display: none;
}
body.waiver_packet_canvas .iti {
    width: 100%;
}
body.waiver_packet_canvas .iti__country-list {
    background-color: var(--waiver-navy);
    border: 1px solid var(--waiver-accent);
    color: var(--waiver-text);
    z-index: 1050;
}
body.waiver_packet_canvas .iti__country {
    color: var(--waiver-text);
}

/* =========================================================================
   UNIVERSAL OPERATOR WIDGET OVERLAY & DAY-CHARTER MANIFEST (V20 COMPLIANT)
   ========================================================================= */
.operator_embed_body header,
.operator_embed_body nav,
.operator_embed_body footer {
    display: none;
}
.operator_widget_filter_open {
    display: block;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--brand_gold);
}
.operator_hidden_block {
    display: none;
}
.operator_modal_backdrop {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}
.operator_site_modal_box {
    margin: 5% auto;
    width: 90%;
    max-width: 850px;
    position: relative;
}
.operator_vessel_modal_box {
    margin: 3% auto;
    width: 95%;
    max-width: 1000px;
    position: relative;
}
.operator_site_hero {
    height: 320px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.operator_vessel_hero {
    height: 380px;
    position: relative;
    border-bottom: 3px solid var(--brand_gold);
}
.operator_site_video_frame {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
}
.operator_site_hero_caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 10;
    pointer-events: none;
}
.operator_modal_close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #ffffff;
    font-size: 36px;
    cursor: pointer;
    z-index: 11;
}
.manifest_shell {
    max-width: 1680px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem 1rem;
    color: var(--waiver-text);
}
.manifest_card {
    background-color: var(--waiver-card-bg);
    border: 1px solid var(--waiver-border-subtle);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.manifest_stat_box {
    background-color: var(--waiver-surface);
    border: 1px solid var(--waiver-border-subtle);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    text-align: center;
}
html body.public-domain .manifest_intrusion_wrap,
html body.scuba-app-body .manifest_intrusion_wrap {
    background-color: var(--dock-admin-bg);
    border-color: var(--dock-admin-border);
    color: var(--text_light);
}
html body.public-domain .security-intrusion-banner,
html body.scuba-app-body .security-intrusion-banner {
    background-color: var(--waiver-card-bg);
    border: 1px solid var(--dock-admin-border);
    color: var(--text_light);
}
html body.public-domain .security-intrusion-banner code,
html body.public-domain .manifest_intrusion_wrap code,
html body.scuba-app-body .security-intrusion-banner code,
html body.scuba-app-body .manifest_intrusion_wrap code {
    background-color: var(--page_bg);
    color: var(--brand_gold);
    padding: 1px 5px;
    border-radius: 3px;
    font-weight: 700;
}
html body.public-domain .manifest_crew_warning_banner,
html body.scuba-app-body .manifest_crew_warning_banner {
    background-color: var(--dock-admin-bg);
    border: 1.5px solid var(--dock-admin-border);
    color: var(--text_light);
}
html body.public-domain .manifest_crew_warning_banner .btn,
html body.scuba-app-body .manifest_crew_warning_banner .btn {
    background-color: var(--text_light);
    border-color: var(--text_light);
    color: var(--page_bg);
    font-weight: 700;
}
html body.public-domain .manifest_card.manifest_border_gold,
html body.scuba-app-body .manifest_card.manifest_border_gold {
    border-color: var(--brand_gold);
    border-width: 1.5px;
}
html body.public-domain .manifest_accent_gold,
html body.public-domain .manifest_stat_box.manifest_accent_gold,
html body.scuba-app-body .manifest_accent_gold,
html body.scuba-app-body .manifest_stat_box.manifest_accent_gold {
    background-color: var(--waiver-card-bg);
    border: 1.5px solid var(--brand_gold);
}
html body.public-domain .manifest_accent_emerald,
html body.public-domain .manifest_stat_box.manifest_accent_emerald,
html body.scuba-app-body .manifest_accent_emerald,
html body.scuba-app-body .manifest_stat_box.manifest_accent_emerald {
    background-color: var(--op-slot-open-bg);
    border: 1.5px solid var(--status_emerald);
}
html body.public-domain .manifest_subsurface_gold,
html body.scuba-app-body .manifest_subsurface_gold {
    background-color: var(--waiver-subsurface);
    border: 1px solid var(--waiver-border-subtle);
}
html body.public-domain .manifest_subsurface_subtle,
html body.scuba-app-body .manifest_subsurface_subtle {
    background-color: var(--waiver-subsurface);
    border: 1px solid var(--op-cal-border-subtle);
}
html body.public-domain .manifest_subsurface_box,
html body.scuba-app-body .manifest_subsurface_box {
    background-color: var(--waiver-subsurface);
}
html body.public-domain .manifest_divider_dashed,
html body.scuba-app-body .manifest_divider_dashed {
    border-top: 1px dashed var(--op-cal-border-subtle);
}
.manifest_avatar {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--waiver-accent);
}
.manifest_avatar_placeholder {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background-color: var(--waiver-surface);
    border: 1px solid var(--waiver-accent);
    color: var(--waiver-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.manifest_avatar_lg {
    width: 84px;
    height: 84px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--waiver-accent);
    flex-shrink: 0;
}
.manifest_avatar_lg_placeholder {
    width: 84px;
    height: 84px;
    border-radius: 12px;
    background-color: var(--waiver-surface);
    border: 2px solid var(--waiver-accent);
    color: var(--waiver-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}
.manifest_cert_thumb {
    width: 72px;
    height: 46px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid var(--waiver-border-subtle);
}
.manifest_gear_pill {
    display: inline-block;
    background-color: var(--waiver-surface);
    border: 1px solid var(--waiver-accent);
    color: var(--waiver-text);
    border-radius: 6px;
    padding: 0.2rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    margin: 0.15rem;
}
.manifest_source_direct {
    background-color: var(--waiver-accent);
    color: var(--waiver-bg);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}
.manifest_source_platform {
    background-color: var(--waiver-surface);
    border: 1px solid var(--waiver-border-subtle);
    color: var(--waiver-muted);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}
@media print {
    .no_print {
        display: none;
    }
    .manifest_shell {
        padding: 0;
        max-width: 100%;
    }
}
/* === V20 SKINNABLE OPERATOR FLEET CALENDAR ENGINE === */
:root {
    --op-cal-bg: rgba(6, 18, 36, 0.92);
    --op-cal-cell-bg: rgba(17, 28, 51, 0.92);
    --op-cal-cell-hover: rgba(30, 58, 138, 0.35);
    --op-cal-border: rgba(212, 175, 55, 0.28);
    --op-cal-border-subtle: rgba(255, 255, 255, 0.12);
    /* AM = Blue / Teal */
    --op-slot-am-bg: #0D5C8C;
    --op-slot-am-border: var(--brand_teal);
    --op-slot-am-text: var(--text_light);
    /* PM = Gold / White */
    --op-slot-pm-bg: #002B5C;
    --waiver-bg: var(--page_bg);
    --waiver-surface: rgba(0, 43, 92, 0.55);
    --waiver-subsurface: rgba(6, 18, 36, 0.85);
    --waiver-card-bg: rgba(6, 18, 36, 0.90);
    --waiver-border-subtle: rgba(212, 175, 55, 0.35);
    --waiver-navy: var(--brand_navy);
    --waiver-accent: var(--brand_gold);
    --waiver-text: var(--text_light);
    --waiver-muted: var(--text_muted);
    --waiver-ok: var(--status_emerald);
    --waiver-danger: var(--dock-admin-bg);
    --op-slot-pm-border: var(--brand_gold);
    --op-slot-pm-text: var(--text_light);
    /* NIGHT = Black & White */
    --op-slot-night-bg: #05070B;
    --op-slot-night-border: #FFFFFF;
    --op-slot-night-text: #FFFFFF;
    /* OPEN HOLE = Subtle Emerald / Slate */
    --op-slot-open-bg: rgba(16, 185, 129, 0.07);
    --op-slot-open-border: rgba(16, 185, 129, 0.35);
    --op-slot-open-text: rgba(255, 255, 255, 0.78);
}
.scheduler_panel_hidden {
    display: none;
}
.op_fleet_cal_shell {
    background-color: var(--op-cal-bg);
    border: 1px solid var(--op-cal-border);
    border-radius: 12px;
    padding: 1.25rem;
}
.op_fleet_cal_toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--op-cal-border-subtle);
}
.op_fleet_cal_month_title {
    min-width: 210px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand_gold);
    letter-spacing: 0.5px;
}
.op_fleet_legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}
.op_legend_item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
}
.op_legend_am {
    background-color: var(--op-slot-am-bg);
    border: 1px solid var(--op-slot-am-border);
    color: var(--op-slot-am-text);
}
.op_legend_pm {
    background-color: var(--op-slot-pm-bg);
    border: 1px solid var(--op-slot-pm-border);
    color: var(--op-slot-pm-text);
}
.op_legend_night {
    background-color: var(--op-slot-night-bg);
    border: 1px solid var(--op-slot-night-border);
    color: var(--op-slot-night-text);
}
.op_legend_open {
    background-color: var(--op-slot-open-bg);
    border: 1px dashed var(--op-slot-open-border);
    color: var(--op-slot-open-text);
}
.op_fleet_weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 8px;
}
.op_fleet_weekday {
    text-align: center;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--brand_gold);
    background-color: var(--op-cal-cell-bg);
    border: 1px solid var(--op-cal-border-subtle);
    border-radius: 6px;
    padding: 0.5rem 0.25rem;
}
.op_fleet_grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}
@media (max-width: 992px) {
    .op_fleet_weekdays {
        display: none;
    }
    .op_fleet_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 576px) {
    .op_fleet_grid {
        grid-template-columns: 1fr;
    }
}
.op_fleet_day_cell {
    min-height: 155px;
    background-color: var(--op-cal-cell-bg);
    border: 1px solid var(--op-cal-border-subtle);
    border-radius: 8px;
    padding: 0.55rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.op_fleet_day_empty {
    background-color: transparent;
    border: 1px dashed var(--op-cal-border-subtle);
    opacity: 0.3;
    min-height: 155px;
}
.op_fleet_day_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--op-cal-border-subtle);
}
.op_fleet_day_num {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text_light);
}
.op_fleet_day_dow {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text_muted);
    text-transform: uppercase;
}
.op_slot_pill {
    width: 100%;
    text-align: left;
    border-radius: 6px;
    padding: 0.38rem 0.5rem;
    font-size: 0.72rem;
    line-height: 1.25;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.op_slot_pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
}
.op_slot_booked_am {
    background-color: var(--op-slot-am-bg);
    border: 1px solid var(--op-slot-am-border);
    color: var(--op-slot-am-text);
}
.op_slot_booked_pm {
    background-color: var(--op-slot-pm-bg);
    border: 1px solid var(--op-slot-pm-border);
    color: var(--op-slot-pm-text);
}
.op_slot_booked_night {
    background-color: var(--op-slot-night-bg);
    border: 1px solid var(--op-slot-night-border);
    color: var(--op-slot-night-text);
}
.op_slot_open_btn {
    background-color: var(--op-slot-open-bg);
    border: 1px dashed var(--op-slot-open-border);
    color: var(--op-slot-open-text);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
}
.op_slot_open_btn:hover {
    border-style: solid;
    border-color: var(--status_emerald);
    color: var(--text_light);
}
.op_slot_top_line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 800;
}
.op_slot_site_line {
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.op_modal_backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(2, 10, 22, 0.85);
    backdrop-filter: blur(5px);
    z-index: 10000;
    align-items: flex-start;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}
.op_modal_backdrop.active {
    display: flex;
}
.op_modal_dialog {
    background-color: var(--op-cal-bg);
    border: 2px solid var(--brand_gold);
    border-radius: 12px;
    width: 100%;
    max-width: 680px;
    padding: 1.5rem;
    color: var(--text_light);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8);
    margin: auto;
}
.op_day_check_grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}
.op_day_check_item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0.45rem 0.25rem;
    background-color: var(--op-cal-cell-bg);
    border: 1px solid var(--op-cal-border-subtle);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}
.op_input_narrow {
    max-width: 110px;
}
.op_embed_frame_preview {
    width: 100%;
    height: 900px;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}
.manifest_shell .waiver_input,
.op_modal_backdrop .waiver_input,
.manifest_shell .form-control.waiver_input,
.manifest_shell .form-select.waiver_input,
.op_modal_backdrop .form-control.waiver_input,
.op_modal_backdrop .form-select.waiver_input {
    background-color: var(--brand_navy);
    color: var(--text_light);
    border: 1px solid var(--brand_gold);
    font-weight: 600;
}
.waiver_btn_submit {
    background-color: var(--brand_navy);
    border: 2px solid var(--brand_gold);
    color: var(--text_light);
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 6px;
}
.waiver_btn_submit:hover {
    background-color: var(--brand_gold);
    color: var(--page_bg);
}
/* === V20 SKINNABLE OPERATOR TABLE & BOX TOKENS === */
:root {
    --op-table-bg: rgba(0, 43, 92, 0.45);
    --op-table-striped-bg: rgba(0, 43, 92, 0.65);
    --op-table-hover-bg: rgba(13, 92, 140, 0.55);
    --op-table-header-bg: rgba(0, 43, 92, 0.88);
    --op-table-border: rgba(212, 175, 55, 0.28);
    --op-read-box-bg: rgba(0, 43, 92, 0.50);
}
.manifest_shell .table-dark,
.manifest_shell .op_hub_table {
    --bs-table-bg: var(--op-table-bg);
    --bs-table-striped-bg: var(--op-table-striped-bg);
    --bs-table-hover-bg: var(--op-table-hover-bg);
    --bs-table-color: var(--text_light);
    --bs-table-border-color: var(--op-table-border);
    background-color: var(--op-table-bg);
    color: var(--text_light);
    border-color: var(--op-table-border);
}
.manifest_shell .table-dark th,
.manifest_shell .table-dark td {
    background-color: transparent;
    border-color: var(--op-table-border);
    color: var(--text_light);
}
.manifest_shell .table-dark thead th {
    background-color: var(--op-table-header-bg);
    color: var(--brand_gold);
    border-bottom: 2px solid var(--brand_gold);
}
.waiver_read_box {
    background-color: var(--op-read-box-bg);
    border: 1px solid var(--op-table-border);
    border-radius: 8px;
    padding: 1rem;
}

.manifest_cert_card_lg {
    width: 110px;
    height: 70px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid var(--waiver-accent);
    cursor: pointer;
    transition: transform 0.15s ease;
}
.manifest_cert_card_lg:hover {
    transform: scale(1.05);
}
.manifest_shell .manifest_num_col {
    width: 38px;
    white-space: nowrap;
}
.manifest_shell .manifest_diver_col {
    width: 18%;
    min-width: 165px;
    white-space: nowrap;
}
.manifest_shell .manifest_cert_col {
    width: 14%;
    min-width: 120px;
    text-align: center;
    white-space: nowrap;
}
.manifest_shell .manifest_rental_col {
    width: 44%;
    min-width: 280px;
}
.manifest_shell .manifest_waiver_col {
    width: 95px;
    text-align: center;
    white-space: nowrap;
}
.manifest_shell .manifest_checkin_col {
    width: 104px;
    text-align: center;
    white-space: nowrap;
}
.manifest_shell .form-select.waiver_input.manifest_checkin_select {
    width: 98px;
    min-width: 98px;
    max-width: 98px;
    display: inline-block;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    padding-left: 0.4rem;
    padding-right: 1.35rem;
}
.manifest_shell .manifest_gear_pill {
    display: inline-block;
    white-space: nowrap;
    margin-right: 4px;
    margin-bottom: 4px;
}.manifest_shell .waiver_input::placeholder {
    color: var(--text_muted);
    opacity: 1;
}
.manifest_shell .op_qr_box {
    background-color: var(--text_light);
    padding: 12px;
    border-radius: 10px;
    display: inline-block;
    border: 2px solid var(--brand_gold);
}
.manifest_shell .op_qr_img {
    width: 160px;
    height: 160px;
    display: block;
}
@media print {
    body.printing_qr_mode * {
        visibility: hidden;
    }
    body.printing_qr_mode .manifest_shell .hub-tab-pane .qr_print_active,
    body.printing_qr_mode .manifest_shell .hub-tab-pane .qr_print_active * {
        visibility: visible;
    }
    body.printing_qr_mode .manifest_shell .hub-tab-pane .qr_print_active .no_print,
    body.printing_qr_mode .manifest_shell .hub-tab-pane .qr_print_active .no_print * {
        display: none;
    }
    body.printing_qr_mode .manifest_shell .hub-tab-pane .waiver_read_box.qr_print_active {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        background-color: var(--text_light);
        color: var(--page_bg);
        border: 4px solid var(--page_bg);
        border-radius: 16px;
        padding: 48px 32px;
        text-align: center;
        box-shadow: none;
        z-index: 999999;
    }
    body.printing_qr_mode .manifest_shell .hub-tab-pane .qr_print_active span {
        color: var(--page_bg);
        font-size: 1.5rem;
        display: block;
        margin-bottom: 8px;
    }
    body.printing_qr_mode .manifest_shell .hub-tab-pane .qr_print_active h4 {
        color: var(--page_bg);
        font-size: 2.4rem;
        font-weight: 800;
        margin-bottom: 14px;
    }
    body.printing_qr_mode .manifest_shell .hub-tab-pane .qr_print_active p {
        color: var(--page_bg);
        font-size: 1.25rem;
        max-width: 540px;
        margin: 0 auto 24px auto;
    }
    body.printing_qr_mode .manifest_shell .hub-tab-pane .qr_print_active .op_qr_box {
        border: 4px solid var(--page_bg);
        padding: 20px;
        margin: 16px auto;
    }
    body.printing_qr_mode .manifest_shell .hub-tab-pane .qr_print_active .op_qr_img {
        width: 320px;
        height: 320px;
        margin: 0 auto;
    }
}

.op_glass_modal_content {
    --bs-modal-bg: rgba(6, 13, 24, 0.92);
    background: rgba(6, 13, 24, 0.92) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

@media print {
    @page { size: landscape; margin: 0.4in; }
}
.manifest_shell .op_brand_hero_logo {
    max-height: 115px;
    width: auto;
    object-fit: contain;
}
/* V20 MANIFEST MOBILE & ZOOM CONTAINMENT */
@media screen {
    .manifest_shell {
        width: 100%;
        max-width: 1680px;
        box-sizing: border-box;
        overflow-x: clip;
    }
    .manifest_card {
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: clip;
    }
    .manifest_table_wrap {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .manifest_shell .manifest_diver_col {
        width: 22%;
        min-width: 155px;
        white-space: normal;
    }
    .manifest_shell .manifest_cert_col {
        width: 18%;
        min-width: 130px;
        white-space: normal;
    }
    .manifest_shell .manifest_rental_col {
        width: auto;
        min-width: 140px;
    }
    .manifest_shell .manifest_waiver_col {
        width: 100px;
        min-width: 92px;
        white-space: nowrap;
    }
    .manifest_shell .manifest_checkin_col {
        width: 152px;
        min-width: 136px;
        white-space: normal;
    }
}
@media screen and (max-width: 767.98px) {
    .manifest_shell {
        padding: 0.75rem 0.5rem 2.5rem 0.5rem;
    }
    .manifest_card {
        padding: 0.9rem;
    }
    .manifest_shell [role="tablist"] > .btn {
        flex: 1 1 calc(50% - 0.5rem);
        font-size: 0.76rem;
        padding: 0.45rem 0.5rem !important;
        text-align: center;
    }
    .manifest_responsive_table thead {
        display: none;
    }
    .manifest_responsive_table,
    .manifest_responsive_table tbody {
        display: block;
        width: 100%;
    }
    .manifest_responsive_table tbody tr {
        display: block;
        width: 100%;
        background: rgba(15, 23, 42, 0.85);
        border: 1px solid var(--waiver-border-subtle, rgba(212, 175, 55, 0.35));
        border-radius: 10px;
        padding: 0.75rem;
        margin-bottom: 0.85rem;
    }
    .manifest_responsive_table tbody td {
        display: block;
        width: 100% !important;
        min-width: 0 !important;
        border: 0 !important;
        padding: 0.35rem 0 !important;
        text-align: left !important;
    }
    .manifest_responsive_table tbody td.manifest_num_col {
        display: inline-block;
        width: auto !important;
        font-size: 0.85rem;
        padding-bottom: 0.15rem !important;
    }
    .manifest_responsive_table tbody td.manifest_cert_col .d-flex.flex-column.align-items-center {
        align-items: flex-start !important;
    }
    .manifest_responsive_table tbody td.manifest_rental_col::before {
        content: "Rental Pull List: ";
        color: var(--brand_gold, #d4af37);
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        display: block;
        margin-bottom: 2px;
    }
    .manifest_responsive_table tbody td.manifest_waiver_col {
        padding-top: 0.4rem !important;
    }
    .manifest_responsive_table tbody td.manifest_checkin_col {
        border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
        margin-top: 0.4rem;
        padding-top: 0.65rem !important;
    }
    .manifest_responsive_table tbody td.manifest_checkin_col .form-select.manifest_checkin_select {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 0.35rem;
    }
    .manifest_responsive_table tbody td.manifest_checkin_col div[style*="max-width"] {
        max-width: 100% !important;
    }
}
/* v2-weight-select-fit */
select.vault-select, #weight_type, .guest-weight-type {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    text-overflow: ellipsis;
}
#rental_matrix_wrapper > div, #rental_matrix_wrapper .col-md-6 {
    min-width: 0;
}
/* === V20 PRO MASTER SCHEDULE & TWO-COLOR ACTIVITY DATE PICKER === */
#proMasterFullCalendarGrid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}
.pro-cal-dow-bar {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}
.pro-cal-dow-cell {
    background: #0f1d35;
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 6px;
    padding: 7px 4px;
    text-align: center;
    color: #f8fafc;
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.pro-cal-day-card {
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 8px;
    padding: 8px;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.pro-cal-day-card.is-today {
    background: #13223d;
    border: 2px solid #38bdf8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}
.pro-cal-day-card.is-past {
    opacity: 0.5;
}
.pro-cal-slot-btn {
    width: 100%;
    text-align: left;
    border-radius: 6px;
    padding: 6px 8px;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.15s ease, filter 0.12s ease;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.pro-cal-slot-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}
.pro-cal-slot-btn.is-linked-hover {
    box-shadow: 0 0 0 2px #facc15, 0 0 14px rgba(250, 204, 21, 0.7) !important;
    transform: translateY(-1px);
    z-index: 2;
}
.pro-cal-slot-open {
    background: rgba(22, 34, 56, 0.65);
    border: 1px dashed rgba(148, 163, 184, 0.3);
    color: #94a3b8;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 5px 8px;
}
.pro-cal-slot-open:hover {
    border-color: #38bdf8;
    background: #1e3152;
    color: #ffffff;
}
.pro-cal-win-pill {
    font-size: 0.66rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.7);
    color: #f8fafc;
}
.pro-cal-part-pill {
    font-size: 0.66rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
}
.pro-cal-slot-title {
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
}
.pro-cal-slot-sub {
    font-size: 0.7rem;
    line-height: 1.15;
    color: #f1f5f9;
}
.pro-cal-toolbar-box {
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.3);
}
.pro-cal-modal-shell {
    background: #0b1324;
}
/* Two-Color Activity Date Popout Calendar (Boat Blue vs Shore Green) */
.act-avail-popout {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 1055;
    width: 390px;
    max-width: 92vw;
    background: #0b1324;
    border: 1px solid #38bdf8;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.75);
}
.act-avail-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
}
.act-avail-day {
    background: #111c30;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 6px;
    padding: 4px 3px;
    min-height: 58px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.act-avail-day.is-past {
    opacity: 0.35;
    pointer-events: none;
}
.act-avail-day.is-selected {
    border: 2px solid #facc15;
}
.act-avail-slot-bar {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 3px;
    font-size: 0.58rem;
    font-weight: 800;
    line-height: 1.35;
    padding: 1px 2px;
    margin-top: 2px;
    text-align: center;
    cursor: pointer;
}
.act-avail-slot-open {
    background: rgba(30, 41, 59, 0.85);
    color: #cbd5e1;
    border: 1px dashed rgba(148, 163, 184, 0.35);
}
.act-avail-slot-open:hover {
    background: #334155;
    color: #ffffff;
    border-color: #facc15;
}
.act-avail-slot-boat {
    background: #0284c7;
    color: #ffffff;
}
.act-avail-slot-shore {
    background: #059669;
    color: #ffffff;
}
.act-legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    margin-right: 4px;
}
@media (max-width: 1199.98px) {
    .pro-cal-dow-bar, .pro-cal-empty-pad {
        display: none !important;
    }
    #proMasterFullCalendarGrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 767.98px) {
    #proMasterFullCalendarGrid {
        grid-template-columns: 1fr;
    }
    .pro-cal-day-card {
        min-height: auto;
    }
}/* Red-Tinted Conflict Heads-Up & Color-Coded Boat Trip Dropdown Options */
.act-conflict-alert-box {
    background: linear-gradient(135deg, rgba(127, 29, 29, 0.72) 0%, rgba(69, 10, 10, 0.90) 100%);
    border: 1px solid #ef4444;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.25);
}
#scheduled_trip_select option.trip-opt-open {
    background-color: #0f172a;
    color: #f8fafc;
}
#scheduled_trip_select option.trip-opt-busy-boat {
    background-color: #5c161e;
    color: #fecaca;
    font-weight: 700;
}
#scheduled_trip_select option.trip-opt-busy-shore {
    background-color: #582212;
    color: #fde68a;
    font-weight: 700;
}
