@import url('https://fonts.googleapis.com/css2?family=Teko:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   GLOBAL DESIGN VARIABLES & ARCHITECTURE
   ========================================================================== */
:root {
    --bg-deep: #020202;
    --red-main: #d31225; 
    --red-hover: #fa1930;
    --red-glow: rgba(211, 18, 37, 0.45);
    --text-white: #ffffff;
    --text-muted: #a6a6a6;
    
    /* Premium iOS Frosted Glass Physics Configuration */
    --ios-glass-bg: rgba(20, 20, 20, 0.65);
    --ios-glass-border: rgba(255, 255, 255, 0.08);
    --ios-glass-blur: blur(20px);
}

/* Base Resets */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    -webkit-tap-highlight-color: transparent; 
}
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-deep);
    background-image: 
        linear-gradient(rgba(211, 18, 37, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(211, 18, 37, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 50% 20%, rgba(211, 18, 37, 0.06), transparent 50%);
    background-size: 30px 30px, 30px 30px, 100% 100%;
    background-attachment: fixed;
    color: var(--text-white);
    overflow-x: hidden;
}

h1, h2, h3, .col-title { 
    font-family: 'Teko', sans-serif; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    font-style: italic; 
}

/* PREMIUM APPLE TRANSLUCENT GLASSMORPHISM CORE */
.premium-ios-card {
    background: var(--ios-glass-bg) !important;
    backdrop-filter: var(--ios-glass-blur) !important;
    -webkit-backdrop-filter: var(--ios-glass-blur) !important;
    border: 1px solid var(--ios-glass-border) !important;
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.6) !important;
    border-radius: 20px;
}

.glass-panel-inner {
    background: rgba(0, 0, 0, 0.4); 
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(211, 18, 37, 0.2); 
    border-radius: 12px;
}

/* ==========================================================================
   SCROLL ANIMATION ENGINE — IntersectionObserver-powered
   Synced for mobile & desktop. Elements start hidden, reveal on .visible.
   ========================================================================== */

/* Base hidden state — all fade-in elements start invisible */
.fade-in,
.fade-in-up {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.65s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

/* Hero content has its own entrance — override to translateY only */
.hero-content.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.2s,
        transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.2s;
}

/* Revealed state — added by IntersectionObserver */
.fade-in.visible,
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay variants — for package cards etc */
.fade-in.delay-1 { transition-delay: 0.08s; }
.fade-in.delay-2 { transition-delay: 0.18s; }
.fade-in.delay-3 { transition-delay: 0.28s; }
.fade-in.delay-4 { transition-delay: 0.38s; }

/* Mobile: reduce motion & shorten delay for smaller screens */
@media (max-width: 768px) {
    .fade-in,
    .fade-in-up {
        transform: translateY(18px);
        transition:
            opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1),
            transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    }
    .fade-in.delay-1 { transition-delay: 0.04s; }
    .fade-in.delay-2 { transition-delay: 0.10s; }
    .fade-in.delay-3 { transition-delay: 0.16s; }
    .fade-in.delay-4 { transition-delay: 0.22s; }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .fade-in,
    .fade-in-up {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #0d0d0d;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
                visibility 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

#preloader.fade-out { opacity: 0; visibility: hidden; }
.logo-wrapper { display: flex; justify-content: center; align-items: center; perspective: 1000px; }

.animated-logo {
    width: 200px; height: auto; opacity: 0;
    animation: logoEntrancePulse 2s cubic-bezier(0.25, 1, 0.5, 1) forwards,
                logoBreathing 2.5s ease-in-out infinite alternate 2s;
}

@keyframes logoEntrancePulse {
    0% { transform: scale(0.4) translateZ(-100px) translateY(30px); opacity: 0; filter: blur(15px) brightness(0.2); }
    100% { transform: scale(1) translateZ(0) translateY(0); opacity: 1; filter: blur(0px) brightness(1); }
}

@keyframes logoBreathing {
    0% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(211, 18, 37, 0.3)); }
    100% { transform: scale(1.06); filter: drop-shadow(0 0 25px rgba(211, 18, 37, 0.65)); }
}

/* ==========================================================================
   PREMIUM BUTTON ENGINE
   ========================================================================== */
.cta-btn, .book-btn, .pay-btn, .modern-straight-btn {
    text-decoration: none !important; 
    transform: none !important; 
    border-radius: 12px !important; 
    font-weight: 700 !important;
    letter-spacing: 1.5px;
    height: 50px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: linear-gradient(135deg, var(--red-main) 0%, #990c19 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.cta-btn span, .book-btn span, .pay-btn span, .modern-straight-btn span { 
    transform: none !important;
    text-decoration: none !important;
}

.cta-btn:hover, .book-btn:hover, .pay-btn:hover, .modern-straight-btn:hover {
    background: linear-gradient(135deg, var(--red-hover) 0%, var(--red-main) 100%) !important;
    box-shadow: 0 0 30px var(--red-glow), 0 8px 25px rgba(0, 0, 0, 0.6) !important;
    transform: translateY(-3px) scale(1.02) !important; 
    color: #ffffff !important;
}

.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 1000;
    background: #25D366; border-radius: 50%; width: 54px; height: 54px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3); 
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.whatsapp-float:hover { transform: scale(1.1) rotate(-8deg); }
.wa-icon { width: 30px; height: 30px; }

/* ==========================================================================
   LANDING SITE ARCHITECTURE LAYERS
   ========================================================================== */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 32px; position: fixed; width: 100%; top: 0; left: 0; z-index: 1000;
    border-top: none !important; border-left: none !important; border-right: none !important;
    border-bottom: 1px solid var(--ios-glass-border) !important; border-radius: 0;
    background: rgba(2, 2, 2, 0.92); backdrop-filter: blur(16px);
}
.logo-container { height: 42px; display: flex; align-items: center; flex-shrink: 0; }
.nav-logo { height: 100%; object-fit: contain; }

/* ── Nav links (desktop) ── */
.nav-links { list-style: none; display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--text-white); text-decoration: none; font-weight: 700; font-size: 13px; transition: 0.2s; text-transform: uppercase; font-style: italic; }
.nav-links a:hover { color: var(--red-main); text-shadow: 0 0 10px var(--red-glow); }

/* ── Hamburger button ── */
.hamburger-btn {
    display: none;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px; cursor: pointer;
    padding: 0; flex-shrink: 0;
    transition: background 0.2s;
}
.hamburger-btn span {
    display: block;
    width: 20px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25,1,0.5,1);
    transform-origin: center;
}
.hamburger-btn:hover { background: rgba(255,255,255,0.1); }
.hamburger-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-repeat: no-repeat; background-position: center center; z-index: 1; filter: contrast(0.95) brightness(0.8); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0.4), var(--bg-deep)); z-index: 2; }
.hero-content { position: relative; z-index: 3; padding: 0 20px; max-width: 800px; width: 100%; margin: 0 auto; }
.hero h1 { font-size: 72px; line-height: 1; margin-bottom: 12px; }
.hero h1 span { color: var(--red-main); text-shadow: 0 0 15px var(--red-glow); }
.hero p { font-size: 18px; color: #fff; margin-bottom: 35px; font-weight: 500; font-style: italic; }
.hero .cta-btn { width: auto; max-width: 260px; padding: 0 36px; margin: 0 auto; }

section { padding: 65px 20px 35px; max-width: 1200px; margin: 0 auto; position: relative; z-index: 5; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 48px; }
.section-title span { color: var(--red-main); }
.section-title p { color: var(--text-muted); font-size: 15px; font-style: italic; margin-top: 4px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; width: 100%; }
.about-text { padding: 35px; }
.about-text h3 { font-size: 28px; margin-bottom: 12px; }
.about-text p { font-size: 14.5px; color: #cdcdcd; line-height: 1.7; margin-bottom: 18px; }
.highlight-box { margin-top: 25px; padding: 22px; border-left: 4px solid var(--red-main); }
.highlight-box h4 { font-family: 'Inter', sans-serif; font-size: 16px; color: var(--red-main); margin-bottom: 8px; font-weight: 700; }
.drives-list { list-style: none; color: #ccc; }
.drives-list li { margin-bottom: 12px; padding-left: 24px; position: relative; }
.drives-list li::before { content: "►"; position: absolute; left: 0; color: var(--red-main); font-size: 12px; top: 2px; }

.package-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; align-items: stretch; width: 100%; }
.package-card { padding: 35px 22px; text-align: center; transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1); position: relative; display: flex; flex-direction: column; height: 100%; }
.package-card.featured { padding-top: 35px; }
.pkg-img-wrap {
    width: calc(100% + 44px);
    margin: -35px -22px 18px -22px;
    height: 170px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background: #0d0d0d;
}
.pkg-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    background: var(--red-main);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(211,18,37,0.5);
}
.package-card:hover { transform: translateY(-6px); border-color: var(--red-main) !important; box-shadow: 0 15px 35px rgba(0,0,0,0.7); }
.package-card h3 { font-size: 24px; min-height: 60px; display: flex; align-items: center; justify-content: center; margin-bottom: 5px; }
.price { font-size: 38px; font-weight: 700; color: var(--red-main); margin-bottom: 20px; font-style: italic; display: flex; align-items: baseline; justify-content: center; }
.gst-text { font-size: 13px; color: #555; font-weight: 500; font-style: normal; margin-left: 6px; }
.package-card ul { list-style: none; margin-bottom: 30px; text-align: left; font-size: 14px; flex-grow: 1; }
.package-card ul li { margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.03); padding-bottom: 8px; }
.package-card ul li::before { content: "✓ "; color: var(--red-main); font-weight: 700; margin-right: 4px; }
.package-card .book-btn { background: transparent !important; border: 1.5px solid var(--red-main) !important; color: var(--red-main) !important; margin-top: auto; }
.package-card .book-btn:hover { background: var(--red-main) !important; color: #fff !important; }

.featured { border: 1.5px solid var(--red-main) !important; background: linear-gradient(135deg, rgba(50, 10, 15, 0.4) 0%, rgba(10, 2, 2, 0.75) 100%) !important; }

.fleet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; width: 100%; }
.fleet-card { overflow: hidden; padding: 0 !important; }
.fleet-card img { width: 100%; height: 260px; object-fit: cover; border-bottom: 2px solid var(--red-main); }
.fleet-info { padding: 30px; }
.fleet-info h3 { font-size: 26px; color: var(--red-main); margin-bottom: 8px; }

.dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; width: 100%; }
.highlight-col { padding: 35px; }
.col-title { font-size: 32px; margin-bottom: 15px; }
.sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sub-card { padding: 20px; transition: 0.3s; }
.sub-card h4 { font-family: 'Inter', sans-serif; font-size: 15px; color: var(--red-main); margin-bottom: 6px; font-weight: 700; }
.sub-card p { font-size: 13px; color: #b3b3b3; line-height: 1.5; }

/* ==========================================================================
   GALLERY — VERTICAL ROLLING MARQUEE
   ========================================================================== */
.gallery-marquee-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    height: 560px;
    overflow: hidden;
    border-radius: 16px;
    width: 100%;
    /* Fade top + bottom edges */
    mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-col {
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    flex-direction: column;
    gap: 12px;
    will-change: transform;
}

.marquee-track img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--ios-glass-border);
    flex-shrink: 0;
    transition: border-color 0.3s;
}
.marquee-track img:hover {
    border-color: var(--red-main);
}

/* Scroll UP — CSS animation */
.marquee-up .marquee-track {
    animation: scrollUp 28s linear infinite;
}
/* Scroll DOWN — reversed */
.marquee-down .marquee-track {
    animation: scrollDown 32s linear infinite;
}
/* Third column slightly different speed */
.marquee-col-3 .marquee-track {
    animation-duration: 24s;
}

@keyframes scrollUp {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}
@keyframes scrollDown {
    0%   { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

/* Pause on hover */
.gallery-marquee-wrap:hover .marquee-track {
    animation-play-state: paused;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; width: 100%; }
.contact-details, .contact-form { padding: 35px; }
.contact-details h3 { font-size: 30px; margin-bottom: 15px; }
.contact-details p { margin-bottom: 12px; color: #ccc; font-size: 14px; }

/* ==========================================================================
   INPUT FIELDS CORE ARCHITECTURE
   ========================================================================== */
input[type="text"], input[type="tel"], input[type="email"], input[type="password"],
input[type="date"], input[type="time"], select, textarea { 
    font-size: 14px !important; 
    width: 100% !important; 
    padding: 12px !important; 
    background: rgba(15, 15, 15, 0.8) !important; 
    border: 1px solid rgba(255, 255, 255, 0.1) !important; 
    border-bottom: 2px solid var(--red-main) !important; 
    color: #fff !important; 
    border-radius: 8px !important; 
    outline: none !important; 
    font-family: 'Inter', sans-serif;
}
input:focus, textarea:focus, select:focus { border-color: var(--red-hover) !important; box-shadow: 0 0 10px rgba(211, 18, 37, 0.2); }

input[type="radio"] { width: auto !important; height: auto !important; margin: 0 !important; cursor: pointer; }
.radio-group { margin-top: 10px; display: flex; flex-direction: column; gap: 12px; }
.radio-label { display: flex !important; align-items: center !important; gap: 12px !important; cursor: pointer; width: max-content !important; }
.radio-label span { color: #fff; font-size: 14px; font-weight: 500; }

.close-btn { position: absolute; top: 14px; right: 20px; font-size: 24px; cursor: pointer; color: #666; transition: color 0.2s; }
.close-btn:hover { color: var(--red-main); }
.highlight-text { font-family: 'Inter', sans-serif; color: var(--red-main); margin-bottom: 20px; font-size: 16px; font-weight: 700; text-align: center; }
.input-group { margin-bottom: 14px; width: 100%; text-align: left; }
.input-group label { display: block; margin-bottom: 6px; font-size: 12px; color: #bbb; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; }

select { padding: 0 12px !important; height: 44px !important; line-height: 44px !important; color: #ffffff !important; background-color: rgba(15, 15, 15, 0.9) !important; appearance: select !important; -webkit-appearance: menulist !important; }
select option { background-color: #141414 !important; color: #ffffff !important; padding: 10px !important; }

.datetime-row { display: flex !important; gap: 14px !important; width: 100% !important; align-items: center !important; justify-content: space-between !important; margin-bottom: 8px; }
.datetime-row .input-group { flex: 1 !important; min-width: 0 !important; }

.flatpickr-calendar { background: rgba(20, 20, 20, 0.85) !important; backdrop-filter: blur(20px) !important; -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.08) !important; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7) !important; border-radius: 12px !important; margin-top: 4px !important; z-index: 9999999 !important; }
.flatpickr-time input { color: #fff !important; font-weight: 700 !important; }
.flatpickr-time .flatpickr-am-pm { color: #fff !important; background: rgba(255, 255, 255, 0.05) !important; border-radius: 6px; }
.flatpickr-time .flatpickr-am-pm:hover { background: var(--red-main) !important; }
.flatpickr-calendar.arrowTop:before, .flatpickr-calendar.arrowTop:after { border-bottom-color: rgba(20, 20, 20, 0.85) !important; }

.warning-text { display: none; margin-top: 15px; color: #ff6666; font-size: 12px; line-height: 1.5; background: rgba(255,0,0,0.1); padding: 10px; border-radius: 4px; border-left: 3px solid #d31225; text-align: left; }

.social-icon-container { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 20px 0; width: 100%; margin: 0 auto; }
.social-icon-wrapper { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); display: flex; justify-content: center; align-items: center; color: #ffffff; text-decoration: none; transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1); }
.social-icon-wrapper svg { width: 18px; height: 18px; display: block; fill: currentColor; }
.social-icon-wrapper.wa-accent:hover { background: #25D366; color: #fff; transform: translateY(-3px); }
.social-icon-wrapper.ig-accent:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: #fff; transform: translateY(-3px); }
.social-icon-wrapper.fb-accent:hover { background: #1877F2; color: #fff; transform: translateY(-3px); }

footer { background: #010101; padding: 40px 20px 20px; text-align: center; border-top: 2px solid var(--red-main); width: 100%; position: relative; z-index: 10; }
.footer-logo { font-size: 72px; font-family: 'Teko', sans-serif; text-transform: uppercase; letter-spacing: 1px; }
.footer-logo span { color: var(--red-main); }
.footer-tagline { color: #888; font-size: 13.5px; margin-bottom: 15px; font-style: italic; max-width: 600px; margin-left: auto; margin-right: auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.04); padding-top: 20px; color: #444; font-size: 12px; margin-top: 10px; }

.modal { display: none; position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100vh !important; background: rgba(0, 0, 0, 0.85) !important; z-index: 99999 !important; align-items: center !important; justify-content: center !important; backdrop-filter: blur(10px) !important; -webkit-backdrop-filter: blur(10px) !important; }
.modal-content { padding: 35px; width: 92% !important; max-width: 440px !important; position: relative; margin: auto; border-radius: 24px !important; }

/* ==========================================================================
   ADMIN MANAGEMENT WORKSPACE COMPONENT STYLES
   ========================================================================== */
.admin-body { padding: 0 !important; margin: 0 !important; min-height: 100vh; }
.admin-gate-wrapper { width: 100%; min-height: 100vh; display: flex; justify-content: center; align-items: center; padding: 20px; }
.gate-card { width: 100%; max-width: 400px; padding: 35px 25px !important; text-align: center; }
.gate-header { margin-bottom: 24px; }
.gate-logo { height: 50px; margin-bottom: 10px; object-fit: contain; }
.gate-header h2 { font-size: 24px; letter-spacing: 0.5px; color: #fff; }

.admin-dashboard-wrapper { padding: 20px; max-width: 1400px; margin: 0 auto; padding-top: 24px; }
.dash-navbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px !important; margin-bottom: 24px; border-radius: 14px !important; }
.dash-brand { display: flex; align-items: center; gap: 12px; }
.dash-logo { height: 36px; object-fit: contain; }
.dash-brand h1 { font-size: 24px; margin: 0; }
.dash-brand h1 span { color: var(--red-main); }

.logout-btn {
    background: transparent; border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; padding: 8px 16px;
    font-weight: 600; border-radius: 8px; cursor: pointer; font-size: 12px; transition: all 0.2s; height: 38px; display: inline-flex; align-items: center; justify-content: center;
}
.logout-btn:hover { background: var(--red-main); border-color: var(--red-main); color: white; }

/* Dash nav action buttons */
.dash-nav-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.action-btn {
    height: 36px; padding: 0 14px;
    border-radius: 8px; border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06); color: #ddd;
    font-size: 11px; letter-spacing: 0.8px; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all 0.2s; text-decoration: none; white-space: nowrap;
}
.action-btn:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-green { background: rgba(37,211,102,0.1); color: #25D366; border-color: rgba(37,211,102,0.3) !important; }
.btn-green:hover { background: #1a8a4a; color: #fff; }
.btn-blue  { background: rgba(0,191,255,0.1); color: #00bfff; border-color: rgba(0,191,255,0.3) !important; }
.btn-blue:hover  { background: #0077aa; color: #fff; }
.btn-red   { background: rgba(211,18,37,0.12); color: #ff4d4d; border-color: rgba(211,18,37,0.3) !important; }
.btn-red:hover   { background: var(--red-main); color: #fff; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; width: 100%; }
.stat-bubble {
    padding: 18px 16px !important;
    text-align: center;
    border-radius: 12px !important;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.stat-label {
    font-size: 10px; text-transform: uppercase; color: var(--text-muted);
    font-weight: 700; display: block; letter-spacing: 0.8px; line-height: 1.3;
}
.stat-value {
    font-size: 30px; font-weight: 700; font-family: 'Teko', sans-serif;
    font-style: normal; margin: 2px 0; color: #fff; line-height: 1;
}
.stat-sub {
    font-size: 9.5px; color: #555; letter-spacing: 0.5px; text-transform: uppercase;
}
/* Stat colour accents */
.stat-white  .stat-value { color: #ffffff; }
.stat-green  .stat-value { color: #25D366; }
.stat-blue   .stat-value { color: #00bfff; }
.stat-orange .stat-value { color: #ffa500; }
.stat-purple .stat-value { color: #b06aff; }
.stat-cyan   .stat-value { color: #00e5cc; }
.stat-complete .stat-value { color: #4ade80; }
.stat-white  { border-top: 2px solid rgba(255,255,255,0.2) !important; }
.stat-green  { border-top: 2px solid rgba(37,211,102,0.4) !important; }
.stat-blue   { border-top: 2px solid rgba(0,191,255,0.4) !important; }
.stat-orange { border-top: 2px solid rgba(255,165,0,0.4) !important; }
.stat-purple { border-top: 2px solid rgba(176,106,255,0.4) !important; }
.stat-cyan   { border-top: 2px solid rgba(0,229,204,0.4) !important; }
.stat-complete { border-top: 2px solid rgba(74,222,128,0.4) !important; }

.filter-group label { font-size: 11px; text-transform: uppercase; color: var(--text-muted); font-weight: 700; letter-spacing: 0.5px; }

.stream-container h2 { font-size: 26px; margin-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 8px; text-align: left; }

/* ==========================================================================
   HIGH-DENSITY DATA TRACKER GRID (FIXES METRICS SHIFTING)
   ========================================================================== */
.tracker-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-top: 15px;
    border-radius: 12px !important;
    background: rgba(10, 10, 10, 0.4) !important;
}

.admin-body .tracker-sheet-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
    table-layout: fixed !important; /* Locks layout alignment */
}

.admin-body .tracker-sheet-table th {
    background: rgba(255, 255, 255, 0.03);
    padding: 14px 16px;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-body .tracker-sheet-table td {
    padding: 14px 16px;
    vertical-align: middle;
    word-wrap: break-word !important;
}

.tracker-data-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background-color 0.2s;
}
.tracker-data-row:hover { background-color: rgba(255, 255, 255, 0.01); }

.admin-body .driver-primary-label { font-size: 15px; font-weight: 600; color: #fff; font-family: 'Inter', sans-serif; }
.admin-body .driver-sub-labels { font-size: 12px; color: var(--text-muted); margin-top: 3px; line-height: 1.4; font-family: 'Inter', sans-serif; }
.admin-body .table-package-pill { background: rgba(255,255,255,0.05); padding: 4px 10px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.08); font-size: 12px; font-weight: 500; display: inline-block; font-family: 'Inter', sans-serif; }
.table-date-string { font-weight: 600; color: #fff; font-family: 'Inter', sans-serif; }
.table-time-string { font-size: 12px; color: var(--text-muted); margin-top: 2px; font-family: 'Inter', sans-serif; }
.admin-body .finance-metrics-wrapper { font-size: 13px; line-height: 1.5; color: #fff; font-family: 'Inter', sans-serif; }
.dues-split { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.status-badge-bubble { padding: 6px 12px; border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; display: inline-block; font-family: 'Inter', sans-serif; }
.tag-pending { background: rgba(255, 165, 0, 0.15); color: #ffa500; border: 1px solid rgba(255, 165, 0, 0.3); }
.tag-secured { background: rgba(37, 211, 102, 0.15); color: #25D366; border: 1px solid rgba(37, 211, 102, 0.3); }
.tag-spot { background: rgba(0, 191, 255, 0.15); color: #00bfff; border: 1px solid rgba(0, 191, 255, 0.3); }

.drop-action-btn {
    background: transparent; border: 1px solid rgba(213, 18, 37, 0.3); color: #ff4d4d; padding: 6px 12px; font-size: 11px; font-weight: 700; border-radius: 6px; cursor: pointer; text-transform: uppercase; transition: all 0.2s;
}
.drop-action-btn:hover { background: var(--red-main); color: #fff; border-color: var(--red-main); }
.empty-table-notice { padding: 40px !important; text-align: center; color: var(--text-muted); font-style: italic; font-size: 14px; }

/* ==========================================================================
   RECAPTCHA CONSTRAINTS SECURITY HOOK
   ========================================================================== */
.recaptcha-wrapper { display: flex !important; justify-content: center !important; align-items: center !important; width: 100% !important; margin: 16px 0 !important; overflow: hidden; }

/* ==========================================================================
   PRODUCTION RESPONSIVE MOBILE VIEWPORTS ARCHITECTURE
   ========================================================================== */

/* ── Tablet (≤900px) ── */
@media (max-width: 900px) {
    .about-grid, .dual-grid, .contact-grid { grid-template-columns: 1fr; }
    .sub-grid { grid-template-columns: 1fr 1fr; }
    .gallery-marquee-wrap { height: 460px; }
    .gallery-marquee-wrap { grid-template-columns: 1fr 1fr; }
    .marquee-col-3 { display: none; }
}

/* ── Mobile (≤768px) — hamburger kicks in ── */
@media (max-width: 768px) {
    body { background-size: 20px 20px, 20px 20px, 100% 100%; }
    section { padding: 50px 16px 28px; }

    /* Hero */
    .hero h1 { font-size: 46px; }
    .hero p  { font-size: 15px; }
    .hero .cta-btn { max-width: 100%; padding: 0 24px; }

    /* BG image: shrink to contain the full image on mobile instead of cropping */
    .hero { height: 100svh; min-height: 520px; }
    .hero-bg {
        background-size: contain;
        background-position: center 40%;
        background-color: #0a0a0a;
        filter: contrast(0.9) brightness(0.65);
    }

    /* Sections */
    .section-title h2 { font-size: 36px; }

    /* About */
    .about-text { padding: 24px 20px; }
    .about-text h3 { font-size: 22px; }
    .about-grid { grid-template-columns: 1fr; gap: 16px; }
    .highlight-box { border-left: none; border-top: 3px solid var(--red-main); }

    /* Packages */
    .package-grid { grid-template-columns: 1fr; gap: 16px; }
    .package-card { padding: 28px 20px; }
    .pkg-img-wrap { width: calc(100% + 40px); margin: -28px -20px 16px -20px; height: 140px; }

    /* Fleet */
    .fleet-grid { grid-template-columns: 1fr; gap: 20px; }

    /* Events */
    .dual-grid { grid-template-columns: 1fr; gap: 16px; }
    .highlight-col { padding: 24px 20px; }
    .sub-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .sub-card { padding: 14px; }

    /* Gallery marquee on mobile — 2 cols, shorter height */
    .gallery-marquee-wrap {
        grid-template-columns: 1fr 1fr;
        height: 380px;
    }
    .marquee-col-3 { display: none; }
    .marquee-track img { height: 170px; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; gap: 16px; }
    .contact-details, .contact-form { padding: 24px 20px; }

    /* Modals */
    .modal-content { padding: 24px 18px; width: 96% !important; }
    .datetime-row { flex-direction: column !important; gap: 0 !important; }

    /* Buttons */
    .cta-btn, .book-btn, .pay-btn, .modern-straight-btn { width: 100% !important; }

    /* ── HAMBURGER NAV ── */
    .hamburger-btn { display: flex; }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px; left: 0; right: 0;
        background: rgba(4, 4, 4, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(211,18,37,0.25);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.25,1,0.5,1),
                    padding 0.3s ease;
        z-index: 999;
        gap: 0;
    }
    .nav-links.open {
        max-height: 400px;
        padding: 10px 0 16px;
    }
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }
    .nav-links li:last-child { border-bottom: none; }
    .nav-links a {
        display: block;
        padding: 14px 24px;
        font-size: 15px;
        letter-spacing: 1.5px;
        border-left: none !important;
        margin-left: 0 !important;
        padding-left: 24px !important;
    }
    .nav-links a:hover {
        background: rgba(211,18,37,0.08);
        padding-left: 30px !important;
    }

    /* Admin responsive */
    .dash-navbar { flex-direction: column; gap: 12px; padding: 16px !important; }
    .dash-nav-actions { justify-content: center; flex-wrap: wrap; }
    .stats-grid { grid-template-columns: 1fr 1fr !important; }
    .filter-row { flex-direction: column; gap: 14px; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .modal-wide { max-width: 98% !important; }
    .booking-type-toggle { flex-direction: column; border-radius: 10px; }
    .type-btn { height: 44px; }
    .date-range-row { flex-direction: column; align-items: flex-start; }
}

/* ── Small mobile (≤480px) ── */
@media (max-width: 480px) {
    .hero h1 { font-size: 38px; }
    .footer-logo { font-size: 38px; }
    .hero-bg {
        background-size: contain;
        background-position: center 35%;
    }
    .section-title h2 { font-size: 30px; }
    .package-card h3 { font-size: 20px; min-height: auto; }
    .price { font-size: 32px; }
    .sub-grid { grid-template-columns: 1fr; }
    .gallery-marquee-wrap {
        grid-template-columns: 1fr;
        height: 360px;
    }
    .marquee-down { display: none; }
    .marquee-track img { height: 200px; }
    .stats-grid { grid-template-columns: 1fr !important; }
    .stat-value { font-size: 22px; }
    .footer-logo { font-size: 46px; }
}

/* ==========================================================================
   EXECUTIVE BRIEF REPORT PRINTER ENGINE (HIGH VISIBILITY REDIRECTS)
   ========================================================================== */
@media print {
    body.admin-body { background: #ffffff !important; background-image: none !important; color: #000000 !important; padding: 0 !important; font-size: 12px !important; }
    .dash-navbar, .filter-control-bar, .drop-action-btn, th:last-child, td:last-child, button, input, .close-btn, .whatsapp-float { display: none !important; }
    .premium-ios-card, .tracker-table-wrapper { border: none !important; box-shadow: none !important; background: transparent !important; backdrop-filter: none !important; }
    
    .print-report-header { display: flex !important; justify-content: space-between !important; align-items: center !important; border-bottom: 2px solid #000000 !important; padding-bottom: 10px !important; margin-bottom: 20px !important; width: 100% !important; }
    .print-logo { height: 44px !important; object-fit: contain !important; display: block !important; }
    .print-title { text-align: right !important; }
    .print-title h1 { font-family: 'Teko', sans-serif !important; font-size: 22px !important; font-weight: 800; color: #000000 !important; font-style: normal !important; }
    .print-title p { font-family: 'Inter', sans-serif !important; color: #444444 !important; font-size: 11px !important; font-style: italic; }
    
    .stats-grid { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 10px !important; margin-bottom: 24px !important; }
    .stat-bubble { border: 1px solid #b2b2b2 !important; padding: 12px !important; background: #fafafa !important; border-radius: 6px !important; box-shadow: none !important;}
    .stat-bubble .label { color: #444444 !important; font-size: 11px !important; }
    .stat-bubble h3 { font-size: 22px !important; color: #000000 !important; font-family: 'Teko', sans-serif !important; }
    
    .admin-body .tracker-sheet-table { table-layout: fixed !important; width: 100% !important; }
    .admin-body .tracker-sheet-table th { background: #e5e5ea !important; color: #000000 !important; border-bottom: 1px solid #000000 !important; padding: 8px 6px !important; font-size: 11px !important; }
    .admin-body .tracker-sheet-table td { border-bottom: 1px solid #e5e7eb !important; padding: 8px 6px !important; color: #000000 !important; font-size: 12px !important; }
    .admin-body .driver-primary-label { color: #000000 !important; font-size: 13px !important; }
    .admin-body .driver-sub-labels { color: #444444 !important; }
    .admin-body .table-package-pill { background: none !important; border: none !important; padding: 0 !important; color: #000000 !important; font-weight: 600 !important; }
    .status-badge-bubble { background: transparent !important; border: 1px solid #000000 !important; color: #000000 !important; padding: 2px 6px !important; font-size: 10px !important; }
}
/* ==========================================================================
   CUSTOM FONT-FACE DECLARATIONS
   Bebas Neue loaded from Google. Other fonts via CDN fallback naming.
   ========================================================================== */
/* "Bebas Neue" from Google Fonts already linked in HTML */
/* "Pro Racing" / "Draco" / "PROGRESS" used via class helpers with fallback */

.font-bebas   { font-family: 'Bebas Neue', 'Arial Narrow', sans-serif !important; letter-spacing: 0.5px; }
.font-racing  { font-family: 'Bebas Neue', 'Arial Narrow', sans-serif !important; letter-spacing: 2px; font-style: italic; }
.font-draco   { font-family: 'Draco', 'Bebas Neue', 'Arial Narrow', sans-serif !important; letter-spacing: 1px; font-style: normal; }
.font-progress{ font-family: 'Bebas Neue', 'Arial Narrow', sans-serif !important; letter-spacing: 3px; }

/* Override ALL admin typography to Barlow Condensed */
.admin-body * {
    font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
}
.admin-body input, .admin-body select, .admin-body textarea, .admin-body p,
.admin-body .driver-sub-labels, .admin-body .table-time-string, .admin-body .dues-split {
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
}
.admin-body .driver-primary-label { font-family: 'Barlow Condensed', sans-serif !important; font-size: 16px !important; letter-spacing: 0.5px; }
.admin-body .finance-row { font-family: 'Barlow Condensed', sans-serif !important; }

/* ==========================================================================
   ENHANCED APPLE GLASSMORPHISM — DEEPER FROST & GLOW
   ========================================================================== */
.premium-ios-card {
    background: rgba(16, 16, 20, 0.55) !important;
    backdrop-filter: blur(28px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    box-shadow:
        0 2px 0 0 rgba(255,255,255,0.06) inset,
        0 16px 48px 0 rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255,255,255,0.03) !important;
}

/* ==========================================================================
   GATE (LOGIN) CARD UPGRADES
   ========================================================================== */
.gate-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; letter-spacing: 1px; }
.gate-card { border-top: 2px solid var(--red-main) !important; }
.form-error-box {
    color: #ff4d4d; font-size: 12px; margin-bottom: 14px;
    background: rgba(211,18,37,0.1); padding: 10px 14px; border-radius: 8px;
    border-left: 3px solid var(--red-main); text-align: left;
    font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.5px;
}

/* ==========================================================================
   DASHBOARD NAVBAR
   ========================================================================== */
.dash-navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 20px !important; margin-bottom: 20px;
    border-radius: 16px !important;
    border-bottom: 1px solid rgba(211, 18, 37, 0.2) !important;
    position: sticky; top: 12px; z-index: 90;
}
.dash-brand h1 { font-size: 22px; margin: 0; letter-spacing: 2px; }
.dash-brand h1 span { color: var(--red-main); }
.dash-nav-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* Action buttons */
.action-btn {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    color: #fff; padding: 0 14px;
    height: 36px; font-size: 12px; letter-spacing: 1px;
    border-radius: 8px; cursor: pointer; transition: all 0.2s;
    display: inline-flex; align-items: center; justify-content: center;
    white-space: nowrap;
}
.action-btn:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); transform: translateY(-1px); }
.action-btn.btn-green { background: rgba(37,211,102,0.15); border-color: rgba(37,211,102,0.4); color: #25D366; }
.action-btn.btn-green:hover { background: #25D366; color: #000; }
.action-btn.btn-blue  { background: rgba(0,191,255,0.12); border-color: rgba(0,191,255,0.4); color: #00bfff; }
.action-btn.btn-blue:hover  { background: #00bfff; color: #000; }
.action-btn.btn-red   { background: rgba(211,18,37,0.15); border-color: rgba(211,18,37,0.4); color: #ff4d4d; }
.action-btn.btn-red:hover   { background: var(--red-main); color: #fff; }

/* ==========================================================================
   STATS GRID — 6 CARDS
   ========================================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px; margin-bottom: 20px; width: 100%;
}
.stat-bubble {
    padding: 14px 12px !important; border-radius: 14px !important;
    display: flex; flex-direction: column; gap: 4px; position: relative; overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.stat-bubble::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    border-radius: 14px 14px 0 0;
}
.stat-bubble:hover { transform: translateY(-2px); }

.stat-white::before  { background: rgba(255,255,255,0.4); }
.stat-green::before  { background: #25D366; }
.stat-blue::before   { background: #00bfff; }
.stat-orange::before { background: #ffa500; }
.stat-purple::before { background: #b06aff; }
.stat-cyan::before   { background: #00e5cc; }

.stat-label { font-size: 10px; letter-spacing: 1px; color: var(--text-muted); display: block; }
.stat-value { font-size: 24px; line-height: 1.1; color: #fff; }
.stat-sub   { font-size: 9.5px; color: rgba(255,255,255,0.3); letter-spacing: 0.5px; }

.stat-green  .stat-value { color: #25D366; }
.stat-blue   .stat-value { color: #00bfff; }
.stat-orange .stat-value { color: #ffa500; }
.stat-purple .stat-value { color: #b06aff; }
.stat-cyan   .stat-value { color: #00e5cc; }

/* ==========================================================================
   FILTER CONTROL BAR — CHIP DESIGN
   ========================================================================== */
.filter-control-bar {
    padding: 18px 20px !important; margin-bottom: 20px;
    border-radius: 14px !important;
    border-top: 1px solid rgba(211,18,37,0.15) !important;
}
.filter-section-title {
    font-size: 14px; letter-spacing: 2px; color: var(--text-muted);
    margin-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.04); padding-bottom: 8px;
}
.filter-row {
    display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end;
}
.filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-group label { font-size: 10px; letter-spacing: 1px; color: var(--text-muted); }
.filter-search { flex: 1; min-width: 200px; }
.filter-dates  { flex: 1; min-width: 300px; }

/* Chip buttons */
.chip-group { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-chip {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text-muted); padding: 0 14px; height: 32px;
    font-size: 11px; letter-spacing: 0.8px;
    border-radius: 20px; cursor: pointer; transition: all 0.2s;
    white-space: nowrap; display: inline-flex; align-items: center;
}
.filter-chip:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.25); }
.filter-chip.active {
    background: var(--red-main); border-color: var(--red-main);
    color: #fff; box-shadow: 0 0 12px rgba(211,18,37,0.4);
}

/* Search input */
.search-input-wrap, .date-input-wrap {
    position: relative; display: flex; align-items: center;
}
.search-input-wrap svg, .date-input-wrap svg {
    position: absolute; left: 10px; width: 15px; height: 15px;
    color: var(--text-muted); pointer-events: none; z-index: 2;
}
.search-input-wrap input, .date-input-wrap input {
    padding-left: 34px !important; height: 38px !important;
    width: 100%; min-width: 180px;
}

/* Date range row */
.date-range-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.date-sep { font-size: 11px; color: var(--text-muted); flex-shrink: 0; }

/* ==========================================================================
   DATA TABLE STREAM
   ========================================================================== */
.stream-container { margin-top: 0; }
.stream-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 12px; padding: 0 2px;
}
.stream-header h2 { font-size: 20px; letter-spacing: 2px; display: flex; align-items: center; gap: 10px; }
.count-pill {
    background: var(--red-main); color: #fff;
    font-size: 13px; padding: 2px 10px; border-radius: 20px;
    font-family: 'Bebas Neue', sans-serif;
}
.stream-revenue-tag {
    font-size: 12px; color: #00bfff; letter-spacing: 1px;
    background: rgba(0,191,255,0.1); padding: 4px 12px; border-radius: 20px;
    border: 1px solid rgba(0,191,255,0.2);
}

/* ── Table wrapper ── */
.tracker-table-wrapper { overflow-x: auto; border-radius: 14px !important; }

.admin-body .tracker-sheet-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    table-layout: fixed;
}

.admin-body .tracker-sheet-table th {
    background: rgba(255,255,255,0.02);
    padding: 12px 14px;
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    white-space: nowrap;
}

.admin-body .tracker-sheet-table td {
    padding: 14px 14px;
    vertical-align: top;
    word-wrap: break-word;
}

.tracker-data-row { border-bottom: 1px solid rgba(255,255,255,0.025); transition: background 0.15s; }
.tracker-data-row:hover { background: rgba(255,255,255,0.018); }

/* ── Driver cell ── */
.driver-cell { display: flex; flex-direction: column; gap: 2px; }
.driver-name  { font-size: 13px; font-weight: 700; color: #ffffff; letter-spacing: 0.3px; line-height: 1.2; }
.driver-phone { font-size: 11px; color: #a0a0a0; }
.driver-email { font-size: 10.5px; color: #787878; word-break: break-all; }
.driver-joined { font-size: 10px; color: #555; margin-top: 3px; }
.table-invoice-tag {
    display: inline-block; margin-top: 4px;
    font-size: 9px; letter-spacing: 0.8px;
    color: #d31225; background: rgba(211,18,37,0.08);
    border: 1px solid rgba(211,18,37,0.25); border-radius: 4px;
    padding: 1px 6px; width: fit-content;
}

/* ── Package cell ── */
.package-cell { display: flex; flex-direction: column; gap: 3px; }
.pkg-name  { font-size: 12px; font-weight: 600; color: #e0e0e0; line-height: 1.3; }
.pkg-price { font-size: 10.5px; color: #686868; }

/* ── Schedule cell ── */
.schedule-cell { display: flex; flex-direction: column; gap: 3px; }
.sched-date { font-size: 12px; font-weight: 600; color: #ffffff; }
.sched-time { font-size: 11px; color: var(--text-muted); }

/* ── Group size cell ── */
.size-cell { font-size: 20px; font-weight: 700; color: #fff; font-family: 'Teko', sans-serif; text-align: center; }

/* ── Finance cell ── */
.finance-cell { display: flex; flex-direction: column; gap: 3px; }
.fin-total   { font-size: 12px; font-weight: 700; color: #ffffff; }
.fin-paid    { font-size: 11px; color: #25D366; }
.balance-due { font-size: 11px; color: #ffa500; font-weight: 600; }
.balance-clear { font-size: 11px; color: #25D366; font-weight: 600; }

/* ── Status badges ── */
.status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 9.5px;
    letter-spacing: 0.6px;
    white-space: nowrap;
    line-height: 1;
}
.status-secured  { background: rgba(37,211,102,0.12); color: #25D366;  border: 1px solid rgba(37,211,102,0.28); }
.status-spot     { background: rgba(0,191,255,0.12);  color: #00bfff;  border: 1px solid rgba(0,191,255,0.28); }
.status-pending  { background: rgba(255,165,0,0.12);  color: #ffa500;  border: 1px solid rgba(255,165,0,0.28); }
.status-complete { background: rgba(26,122,60,0.15);  color: #4ade80;  border: 1px solid rgba(26,122,60,0.35); }

/* ── Action cell ── */
.action-cell {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: stretch;
    min-width: 76px;
}

.row-action-btn {
    display: block;
    width: 100%;
    padding: 3px 6px;
    border-radius: 5px;
    font-size: 9px;
    letter-spacing: 0.8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.18s ease;
    border: 1px solid transparent;
    white-space: nowrap;
    line-height: 1.4;
}
.row-action-btn:disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }

.btn-view {
    background: rgba(0,229,204,0.08);
    color: #00e5cc;
    border-color: rgba(0,229,204,0.28) !important;
}
.btn-view:hover { background: #00b8a0; color: #000; border-color: #00b8a0 !important; }

.btn-edit {
    background: rgba(100,100,255,0.1);
    color: #8888ff;
    border-color: rgba(100,100,255,0.28) !important;
}
.btn-edit:hover { background: #5555ee; color: #fff; border-color: #5555ee !important; }

.btn-complete {
    background: rgba(37,211,102,0.1);
    color: #25D366;
    border-color: rgba(37,211,102,0.28) !important;
}
.btn-complete:hover { background: #1a8a4a; color: #fff; border-color: #1a8a4a !important; }

.btn-invoice {
    background: rgba(211,18,37,0.1);
    color: #d31225;
    border-color: rgba(211,18,37,0.28) !important;
}
.btn-invoice:hover { background: #d31225; color: #fff; border-color: #d31225 !important; }

.btn-delete {
    background: rgba(255,77,77,0.07);
    color: rgba(255,100,100,0.7);
    border-color: rgba(255,77,77,0.18) !important;
}
.btn-delete:hover { background: #c0392b; color: #fff; border-color: #c0392b !important; }

/* Legacy pills kept for backward compat */
.group-pill {
    background: rgba(0,191,255,0.12); color: #00bfff;
    border: 1px solid rgba(0,191,255,0.3);
    font-size: 10px; padding: 3px 9px; border-radius: 5px; display: inline-block;
}
.solo-pill {
    background: rgba(255,255,255,0.05); color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 10px; padding: 3px 9px; border-radius: 5px; display: inline-block;
}
.table-package-pill {
    background: rgba(255,255,255,0.06); padding: 4px 10px;
    border-radius: 6px; border: 1px solid rgba(255,255,255,0.08);
    font-size: 11px; display: inline-block;
}
.table-date-string { font-weight: 600; color: #fff; font-size: 13px; }
.table-time-string { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.drop-action-btn {
    background: transparent; border: 1px solid rgba(255,77,77,0.2);
    color: rgba(255,77,77,0.6); width: 28px; height: 28px;
    border-radius: 6px; cursor: pointer; font-size: 12px;
    transition: all 0.2s; display: inline-flex; align-items: center; justify-content: center;
}
.drop-action-btn:hover { background: var(--red-main); border-color: var(--red-main); color: #fff; }
.empty-table-notice { padding: 50px !important; text-align: center; color: var(--text-muted); font-size: 14px; letter-spacing: 1px; }

/* ==========================================================================
   WALK-IN MODAL — BOOKING TYPE & GROUP
   ========================================================================== */
.modal-wide { max-width: 600px !important; max-height: 90vh; overflow-y: auto; }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.modal-header h2 { font-size: 22px; letter-spacing: 2px; }
.modal-close-btn {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    color: #888; width: 32px; height: 32px; border-radius: 8px; cursor: pointer;
    font-size: 18px; display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.modal-close-btn:hover { background: var(--red-main); color: #fff; border-color: var(--red-main); }

.booking-type-toggle {
    display: flex; gap: 0; margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden;
}
.type-btn {
    flex: 1; height: 40px; background: transparent; border: none; color: var(--text-muted);
    font-size: 12px; letter-spacing: 1px; cursor: pointer; transition: all 0.2s;
}
.type-btn.active { background: var(--red-main); color: #fff; }
.type-btn:not(.active):hover { background: rgba(255,255,255,0.06); color: #fff; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Group section */
.group-section-header {
    padding: 16px !important; border-radius: 12px !important;
    margin-bottom: 14px; border-top: 1px solid rgba(0,191,255,0.2) !important;
}
.group-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.group-header-row h4 { font-size: 16px; letter-spacing: 1px; color: #00bfff; }
.add-member-btn {
    background: rgba(0,191,255,0.12); border: 1px solid rgba(0,191,255,0.3);
    color: #00bfff; padding: 0 14px; height: 32px; font-size: 11px; letter-spacing: 1px;
    border-radius: 8px; cursor: pointer; transition: all 0.2s;
}
.add-member-btn:hover { background: #00bfff; color: #000; }
.group-members-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.group-member-row {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px !important; border-radius: 10px !important;
}
.gm-index { font-size: 18px; color: var(--red-main); min-width: 20px; text-align: center; }
.gm-fields { display: flex; gap: 8px; flex: 1; flex-wrap: wrap; }
.gm-select { flex: 1; min-width: 140px; height: 36px !important; font-size: 12px !important; }
.gm-remove {
    background: transparent; border: 1px solid rgba(255,77,77,0.2); color: rgba(255,77,77,0.5);
    width: 28px; height: 28px; border-radius: 6px; cursor: pointer; font-size: 12px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    transition: all 0.2s;
}
.gm-remove:hover { background: var(--red-main); color: #fff; border-color: var(--red-main); }
.group-summary-row {
    display: flex; gap: 16px; flex-wrap: wrap;
    padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.05);
}
.group-stat { font-size: 11px; color: var(--text-muted); letter-spacing: 0.5px; }
.group-stat strong { color: #00bfff; font-size: 13px; }

/* Price summary box */
.price-summary-box {
    padding: 14px 16px !important; border-radius: 12px !important;
    border-top: 1px solid rgba(0,229,204,0.2) !important;
    display: flex; flex-direction: column; gap: 6px;
}
.ps-row { display: flex; justify-content: space-between; align-items: center; }
.ps-label { font-size: 11px; color: var(--text-muted); letter-spacing: 0.5px; }
.ps-val { font-size: 14px; color: #ddd; }
.ps-gst { color: #b06aff; }
.ps-total { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 6px; margin-top: 2px; }
.ps-total-val { color: #00e5cc; font-size: 18px; }
.ps-advance { color: #25D366; }
.ps-balance { color: #ffa500; }

/* ==========================================================================
   CSV MODAL
   ========================================================================== */
.csv-tabs { display: flex; gap: 0; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.csv-tab {
    padding: 8px 20px; background: transparent; border: none; color: var(--text-muted);
    font-size: 12px; letter-spacing: 1px; cursor: pointer; transition: all 0.2s;
    border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.csv-tab.active { color: var(--red-main); border-bottom-color: var(--red-main); }
.csv-tab:hover:not(.active) { color: #fff; }

.csv-desc { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; letter-spacing: 0.5px; }

.csv-drop-zone {
    border: 2px dashed rgba(255,255,255,0.12); border-radius: 12px;
    padding: 36px 20px; text-align: center; cursor: pointer;
    transition: all 0.2s; background: rgba(255,255,255,0.02);
}
.csv-drop-zone:hover, .csv-drop-zone.drag-over {
    border-color: var(--red-main); background: rgba(211,18,37,0.05);
}
.csv-drop-icon { width: 40px; height: 40px; color: var(--text-muted); margin: 0 auto 10px; display: block; }
.csv-drop-text { font-size: 14px; color: #ccc; letter-spacing: 1px; margin-bottom: 4px; }
.csv-drop-sub  { font-size: 10px; color: var(--text-muted); letter-spacing: 0.5px; }

.csv-status-box {
    padding: 10px 14px; border-radius: 8px; font-size: 12px; letter-spacing: 0.5px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    margin-top: 12px;
}
.csv-status-box.csv-success { background: rgba(37,211,102,0.1); border-color: rgba(37,211,102,0.3); color: #25D366; }
.csv-status-box.csv-error   { background: rgba(211,18,37,0.1);  border-color: rgba(211,18,37,0.3);  color: #ff4d4d; }

.csv-preview-count { font-size: 12px; color: #25D366; margin-bottom: 8px; letter-spacing: 0.5px; }
.csv-error-list {
    background: rgba(211,18,37,0.06); border: 1px solid rgba(211,18,37,0.2);
    border-radius: 8px; padding: 10px 14px; margin-bottom: 10px;
    font-size: 11px; color: #ff4d4d; letter-spacing: 0.3px; line-height: 1.8;
}

/* Sample format table */
.sample-table-wrap { overflow-x: auto; border-radius: 8px; }
.sample-csv-table {
    width: 100%; border-collapse: collapse; font-size: 11.5px;
    min-width: 600px;
}
.sample-csv-table thead tr { background: rgba(255,255,255,0.03); }
.sample-csv-table th {
    padding: 10px 12px; text-align: left; font-size: 10px;
    letter-spacing: 0.8px; color: var(--text-muted);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sample-csv-table td {
    padding: 8px 12px; font-family: 'Inter', monospace !important;
    font-size: 11px !important; color: #ccc;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.sample-csv-table tr:hover { background: rgba(255,255,255,0.015); }

.csv-allowed-vals { margin-top: 20px; }
.csv-allowed-vals h4 { font-size: 16px; letter-spacing: 1px; margin-bottom: 12px; color: #fff; }
.csv-val-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.csv-val-card { padding: 14px 16px !important; border-radius: 10px !important; }
.csv-val-title { font-size: 11px; color: var(--red-main); letter-spacing: 1px; display: block; margin-bottom: 8px; }
.csv-val-card ul { list-style: none; }
.csv-val-card ul li {
    font-family: 'Inter', monospace !important; font-size: 11px !important;
    color: #ccc; padding: 3px 0; border-bottom: 1px solid rgba(255,255,255,0.03);
}

/* ==========================================================================
   PRINT — PROFESSIONAL BRIEF REPORT
   (now prints in new tab, styles embedded inline — minimal overrides needed)
   ========================================================================== */
@media print {
    body.admin-body { background: #fff !important; background-image: none !important; color: #000 !important; }
    .dash-navbar, .filter-control-bar, .stream-header button, .drop-action-btn,
    #manualBookingModal, #csvModal { display: none !important; }
}

/* ==========================================================================
   ADMIN RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 960px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-body .tracker-sheet-table thead { display: none; }
    .tracker-data-row { display: block; padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .admin-body .tracker-sheet-table td { display: block; width: 100% !important; padding: 4px 8px; }
    .drop-action-btn { width: 100%; height: 36px; margin-top: 8px; }
}
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .dash-navbar { flex-direction: column; gap: 12px; text-align: center; position: relative; top: 0; }
    .dash-nav-actions { justify-content: center; }
    .filter-row { flex-direction: column; gap: 14px; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .modal-wide { max-width: 98% !important; }
    .booking-type-toggle { flex-direction: column; border-radius: 10px; }
    .type-btn { height: 44px; }
    .date-range-row { flex-direction: column; align-items: flex-start; }
    .gm-fields { flex-direction: column; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-value { font-size: 22px; }
}
/* ==========================================================================
   INVOICE & COMPLETED RIDE — NEW ADDITIONS
   ========================================================================== */

/* Completed stat bubble */
.stat-complete { border-top: 3px solid #1a7a3c !important; }
.stat-complete .stat-value { color: #1a7a3c !important; }

/* Completed row tint */
.tracker-data-row.row-completed { background: rgba(26, 122, 60, 0.06) !important; }

/* Invoice ref tag */
.invoice-ref-tag {
    display: inline-block;
    font-size: 9px;
    letter-spacing: 0.8px;
    color: #d31225;
    background: rgba(211,18,37,0.08);
    border: 1px solid rgba(211,18,37,0.2);
    border-radius: 4px;
    padding: 1px 6px;
    margin-top: 4px;
}

/* Completed status badge */
.tag-completed {
    background: rgba(26, 122, 60, 0.15) !important;
    color: #1a7a3c !important;
    border: 1px solid rgba(26,122,60,0.3) !important;
}

/* Completed paid label */
.completed-paid-label {
    color: #1a7a3c !important;
    font-size: 10px !important;
    font-weight: 700;
}

/* Action cell */
.action-cell-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

/* Complete ride button */
.action-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 9px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 10px;
    letter-spacing: 0.8px;
    white-space: nowrap;
    transition: all 0.2s ease;
    width: 100%;
    justify-content: center;
}

.btn-complete-ride {
    background: rgba(26,122,60,0.15);
    color: #1a7a3c;
    border: 1px solid rgba(26,122,60,0.35) !important;
}
.btn-complete-ride:hover {
    background: #1a7a3c;
    color: #fff;
}

.btn-invoice {
    background: rgba(211,18,37,0.1);
    color: #d31225;
    border: 1px solid rgba(211,18,37,0.3) !important;
}
.btn-invoice:hover {
    background: #d31225;
    color: #fff;
}

/* Invoice Paid Stamp */
.inv-paid-stamp { 
    font-size: 22px; 
    font-weight: 900; 
    color: rgba(180,180,180,0.4); 
    border: 4px solid rgba(180,180,180,0.4); 
    padding: 4px 14px; 
    letter-spacing: 4px; 
    border-radius: 4px; 
    transform: rotate(-8deg); 
    display: inline-block; 
}

/* Responsive: stats wrap at 4 per row when 7 cards */
@media (max-width: 1400px) {
    .stats-grid { grid-template-columns: repeat(7, 1fr); }
}

/* ==========================================================================
   EDIT BOOKING MODAL
   ========================================================================== */

/* Notice strip inside edit modal */
.edit-modal-notice {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    background: rgba(255, 180, 0, 0.06) !important;
    border: 1px solid rgba(255, 180, 0, 0.25) !important;
    margin-bottom: 18px;
    font-size: 11px;
    color: #c8960a;
    line-height: 1.5;
}
.edit-modal-notice svg { flex-shrink: 0; margin-top: 1px; color: #c8960a; }

/* Section dividers inside edit form */
.edit-section-title {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--red-main, #d31225);
    border-bottom: 1px solid rgba(211, 18, 37, 0.2);
    padding-bottom: 5px;
    margin-bottom: 14px;
}

/* Booking ref tag under modal header */
.edit-booking-ref {
    font-size: 10px;
    color: #888;
    letter-spacing: 0.5px;
    display: block;
    margin-top: 2px;
    font-family: monospace;
}

/* Action row at bottom of edit form */
.edit-action-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 22px;
}

/* Success state for form-error-box */
.form-success-box {
    background: rgba(26, 122, 60, 0.1) !important;
    border-color: rgba(26, 122, 60, 0.35) !important;
    color: #1a7a3c !important;
}

/* ==========================================================================
   ACTION BUTTONS IN TABLE
   ========================================================================== */

/* Edit button */
.btn-edit {
    background: rgba(100, 100, 255, 0.1);
    color: #6666ff;
    border: 1px solid rgba(100, 100, 255, 0.3) !important;
}
.btn-edit:hover {
    background: #5555ee;
    color: #fff;
}

/* WhatsApp button */
.btn-whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #1a9c4e;
    border: 1px solid rgba(37, 211, 102, 0.3) !important;
}
.btn-whatsapp:hover {
    background: #25D366;
    color: #fff;
}
/* ==========================================================================
   VIEW BOOKING MODAL
   ========================================================================== */
.view-section-title {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--red-main);
    border-bottom: 1px solid rgba(211,18,37,0.2);
    padding-bottom: 5px;
    margin-bottom: 10px;
}
.view-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    margin-bottom: 4px;
}
.view-field { display: flex; flex-direction: column; gap: 2px; }
.view-full  { grid-column: 1 / -1; }
.view-label { font-size: 9px; letter-spacing: 1px; color: rgba(255,255,255,0.35); }
.view-val   { font-size: 13px; color: #e0e0e0; font-family: 'Inter', sans-serif; }
.view-meta  {
    font-size: 9px; letter-spacing: 0.8px; color: rgba(255,255,255,0.25);
    margin-top: 14px; padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ==========================================================================
   GROUP BOOKING — IMPROVED VISIBILITY
   ========================================================================== */
.group-section-header {
    border: 1px solid rgba(0,191,255,0.18) !important;
    border-top: 2px solid rgba(0,191,255,0.4) !important;
}
.group-member-row {
    background: rgba(0,191,255,0.04) !important;
    border: 1px solid rgba(0,191,255,0.12) !important;
    border-radius: 10px !important;
    padding: 12px !important;
    display: block !important;
}
.group-member-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 12px;
    color: #00bfff;
    letter-spacing: 1px;
}
.remove-member-btn {
    background: rgba(211,18,37,0.1);
    border: 1px solid rgba(211,18,37,0.25);
    color: #ff6666;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.8px;
}
.remove-member-btn:hover { background: var(--red-main); color: #fff; border-color: var(--red-main); }

/* Group summary strip */
.group-summary-row {
    background: rgba(0,191,255,0.06);
    border-radius: 8px;
    padding: 10px 14px;
    gap: 20px;
}
.group-stat strong { font-size: 14px; }

/* Admin font — Barlow Condensed override for font-bebas class */
.admin-body .font-bebas {
    font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif !important;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Walk-in modal on main site — tighter width */
#walkInModal .modal-content {
    max-width: 500px !important;
}
/* ==========================================================================
   REDESIGNED CONTACT SECTION
   ========================================================================== */

.contact-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
    width: 100%;
}

/* Shared card shell */
.contact-card {
    padding: 36px 32px !important;
    border-radius: 18px !important;
    border-top: 2px solid rgba(211, 18, 37, 0.5) !important;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Card heading row */
.contact-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Teko', sans-serif;
    font-size: 24px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 28px;
}
.contact-card-title svg {
    color: #d31225;
    flex-shrink: 0;
}

/* Info row: icon + text */
.ci-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.ci-icon-wrap {
    width: 38px;
    height: 38px;
    background: rgba(211, 18, 37, 0.12);
    border: 1px solid rgba(211, 18, 37, 0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #d31225;
}

.ci-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 2px;
}

.ci-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.ci-value {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 400;
    line-height: 1.55;
    font-family: 'Inter', sans-serif;
}

/* Google Maps button */
.ci-maps-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(211, 18, 37, 0.1);
    border: 1px solid rgba(211, 18, 37, 0.35);
    color: #e05555;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    margin-top: 10px;
    width: fit-content;
    font-family: 'Inter', sans-serif;
}
.ci-maps-btn:hover {
    background: #d31225;
    color: #ffffff;
    border-color: #d31225;
}

/* Divider between address and other rows */
.ci-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin: 4px 0 20px;
}

/* Form labels */
.ci-form-group {
    margin-bottom: 16px;
}
.ci-form-label {
    display: block;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
}

/* Inputs override to match new design */
.ci-input {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-bottom: 2px solid rgba(211, 18, 37, 0.5) !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    padding: 13px 16px !important;
    font-family: 'Inter', sans-serif !important;
    outline: none !important;
    transition: border-color 0.2s, background 0.2s !important;
    box-sizing: border-box !important;
}
.ci-input:focus {
    border-color: rgba(255, 255, 255, 0.18) !important;
    border-bottom-color: #d31225 !important;
    background: rgba(255, 255, 255, 0.06) !important;
}
.ci-input::placeholder {
    color: rgba(255, 255, 255, 0.22) !important;
}
.ci-textarea {
    resize: vertical;
    min-height: 120px;
}

/* WhatsApp submit button */
.ci-wa-btn {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #d31225 0%, #990c19 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    font-family: 'Inter', sans-serif;
}
.ci-wa-btn:hover {
    background: linear-gradient(135deg, #f01428 0%, #b00e1e 100%);
    box-shadow: 0 0 24px rgba(211, 18, 37, 0.4);
    transform: translateY(-2px);
}
.ci-wa-btn:active {
    transform: translateY(0);
}

/* "Typically reply within an hour" note */
.ci-wa-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.28);
    margin-top: 12px;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
}
.ci-wa-dot {
    width: 7px;
    height: 7px;
    background: #25D366;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .contact-grid-new {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
@media (max-width: 768px) {
    .contact-card {
        padding: 26px 22px !important;
    }
    .contact-card-title {
        font-size: 20px;
        margin-bottom: 22px;
    }
    .ci-icon-wrap {
        width: 34px;
        height: 34px;
    }
}

/* ==========================================================================
   COMPLETE RIDE MODAL — Cash vs Online payment selector
   ========================================================================== */

.cm-pay-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 12px;
    border-radius: 12px;
    border: 1.5px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: #888;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    font-family: 'Barlow Condensed', sans-serif;
}
.cm-pay-btn:hover {
    border-color: rgba(211,18,37,0.35);
    background: rgba(211,18,37,0.06);
    color: #ccc;
}
.cm-pay-btn.cm-pay-active {
    border: 1.5px solid #d31225 !important;
    background: rgba(211,18,37,0.14) !important;
    color: #ffffff !important;
}
.cm-pay-btn.cm-pay-active svg {
    stroke: #d31225;
}

/* ==========================================================================
   LIVE CLOCK DISPLAY IN NAV
   ========================================================================== */
.live-clock-display {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 1px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 0 12px;
    height: 36px;
    white-space: nowrap;
    font-family: 'Barlow Condensed', monospace, sans-serif;
}
.live-clock-display .live-dot {
    width: 6px;
    height: 6px;
    background: #25D366;
    border-radius: 50%;
    flex-shrink: 0;
    animation: livePulse 1.4s ease-in-out infinite;
    display: inline-block;
}
/* ==========================================================================
   PACKAGE DETAIL MODAL
   ========================================================================== */
.pkg-detail-modal.active { display: flex !important; }
.pkg-detail-modal .pkg-detail-content {
    width: 94% !important;
    max-width: 700px !important;
    max-height: 88vh;
    overflow-y: auto;
    padding: 0 0 30px 0;
    border-radius: 22px !important;
    background: #0a0a0a;
    border: 1px solid var(--ios-glass-border);
}
.pkg-detail-modal .close-btn {
    z-index: 10;
    background: rgba(0,0,0,0.55);
    width: 34px; height: 34px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    top: 14px; right: 14px;
    color: #fff;
}
.pkg-detail-panel { padding: 0 28px 0 28px; display: none; }
.pkg-detail-img-wrap {
    width: calc(100% + 56px);
    margin: 0 -28px 22px -28px;
    height: 240px;
    overflow: hidden;
    border-radius: 22px 22px 0 0;
    background: #111;
}
.pkg-detail-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pkg-detail-title {
    font-family: 'Teko', sans-serif;
    font-size: 38px;
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 10px;
}
.pkg-detail-title span { color: var(--red-main); }
.pkg-detail-price {
    font-family: 'Teko', sans-serif;
    font-size: 28px;
    color: var(--red-main);
    margin-bottom: 16px;
}
.pkg-detail-price .gst-text { font-size: 13px; color: var(--text-muted); font-family: 'Inter', sans-serif; margin-left: 4px; }
.pkg-detail-badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pd-badge {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--ios-glass-border);
    color: var(--text-muted);
}
.pd-badge--hot { color: #fff; background: rgba(211,18,37,0.18); border-color: rgba(211,18,37,0.4); }
.pd-badge--gold { color: #1a1300; background: #f0c14b; border-color: #f0c14b; }
.pkg-detail-desc { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; margin-bottom: 22px; }
.pkg-detail-tracks { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.pdt-track {
    display: flex; gap: 14px; align-items: flex-start;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--ios-glass-border);
    border-radius: 14px;
    padding: 14px 16px;
}
.pdt-track strong { display: block; font-size: 14px; margin-bottom: 4px; }
.pdt-track p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.pdt-icon { font-size: 20px; line-height: 1; flex-shrink: 0; }
.pdt-track--hot { border-color: rgba(211,18,37,0.3); background: rgba(211,18,37,0.06); }
.pdt-track--extreme { border-color: rgba(240,193,75,0.3); background: rgba(240,193,75,0.06); }
.pkg-gallery { margin-bottom: 24px; }
.pkg-gallery-title {
    font-size: 12px;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 700;
}
.pkg-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}
.pkg-gallery-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--ios-glass-border);
    transition: transform 0.25s ease;
}
.pkg-gallery-img:hover { transform: scale(1.03); }
.pkg-detail-includes { margin-bottom: 26px; }
.pkg-detail-includes h4 {
    font-size: 12px;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 700;
}
.pkg-detail-includes ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.pkg-detail-includes li { font-size: 13.5px; color: #ddd; line-height: 1.5; }
.pkg-detail-book-btn { width: 100%; }

@media (max-width: 600px) {
    .pkg-detail-panel { padding: 0 18px; }
    .pkg-detail-img-wrap { width: calc(100% + 36px); margin: 0 -18px 18px -18px; height: 180px; }
    .pkg-detail-title { font-size: 30px; }
    .pkg-gallery-grid { grid-template-columns: repeat(auto-fit, minmax(95px, 1fr)); }
}

/* ==========================================================================
   PACKAGE GALLERY LIGHTBOX
   ========================================================================== */
.pkg-gallery-img { cursor: pointer; }
.pkg-gallery-lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(0,0,0,0.92);
    z-index: 100000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}
.pkg-gallery-lightbox.active { display: flex; }
.pkg-gallery-lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.pkg-gallery-lightbox-close {
    position: absolute;
    top: 24px; right: 30px;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}
.pkg-gallery-lightbox-close:hover { color: var(--red-main); }