/* ==========================================================================
   FREIGHTLINER SHUTTLE BOOKING SYSTEM - CUSTOM DESIGN SYSTEM
   ========================================================================== */

:root {
    --bg-deep: #090d16;
    --bg-surface: rgba(17, 24, 39, 0.7);
    --bg-surface-solid: #111827;
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-active: rgba(168, 85, 247, 0.4);
    
    --brand-primary: #a855f7;      /* Neon Purple */
    --brand-secondary: #06b6d4;    /* Electric Cyan */
    --brand-accent: #f43f5e;       /* Warm Rose */
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --success: #10b981;            /* Emerald */
    --warning: #f59e0b;            /* Amber */
    --error: #ef4444;              /* Red */
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 0 25px rgba(168, 85, 247, 0.15);
}

/* Base Reset & Styling */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-deep);
    background-image: 
        radial-gradient(at 0% 0%, rgba(168, 85, 247, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.08) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Glassmorphism Layout */
.app-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 85, 247, 0.3);
}

/* Header & Brand */
.header {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-hex {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.brand-logo-hex svg {
    color: white;
}

.brand-text h1 {
    font-size: 1.5rem;
    background: linear-gradient(to right, #ffffff, #d8b4fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-text p {
    font-size: 0.8rem;
    color: var(--brand-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

/* System Tabs Switcher */
.mode-toggle {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 4px;
    border-radius: 30px;
    display: flex;
    gap: 4px;
}

.mode-btn {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 20px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-weight: 500;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.mode-btn.active {
    background: var(--brand-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

/* Layout Main Content Split */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
}

/* Cards & Containers */
.glass-panel {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Step Wizard Indicator */
.stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    position: relative;
    padding: 0 10px;
}

.stepper::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-dot {
    width: 32px;
    height: 32px;
    background: var(--bg-deep);
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
}

.step-item.active .step-dot {
    border-color: var(--brand-primary);
    color: white;
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
    background: var(--brand-primary);
}

.step-item.active .step-label {
    color: var(--text-primary);
}

.step-item.completed .step-dot {
    border-color: var(--brand-secondary);
    background: var(--brand-secondary);
    color: var(--bg-deep);
}

.step-item.completed .step-label {
    color: var(--brand-secondary);
}

/* Stepper Content Sections */
.step-pane {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}

.step-pane.active {
    display: block;
}

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

/* STEP 1: ROUTE & SCHEDULE SELECTOR */
.route-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

@media (max-width: 640px) {
    .route-grid {
        grid-template-columns: 1fr;
    }
    .swap-btn {
        transform: rotate(90deg);
        margin: 10px auto;
    }
}

.input-group {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: var(--transition-smooth);
}

.input-group:focus-within {
    border-color: var(--brand-primary);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.input-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    font-weight: 600;
}

.input-group select,
.input-group input {
    background: transparent;
    border: none;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    outline: none;
    cursor: pointer;
}

.input-group select option {
    background: var(--bg-surface-solid);
    color: white;
}

.swap-btn {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    color: var(--brand-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.swap-btn:hover {
    background: var(--brand-secondary);
    color: var(--bg-deep);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
    transform: rotate(180deg);
}

/* Schedule Selection Grid */
.schedule-grid-container {
    margin-top: 2rem;
}

.schedule-header-row {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}

.schedule-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: 120px 1fr 120px;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.schedule-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.schedule-card.selected {
    background: rgba(168, 85, 247, 0.08);
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-glow);
}

.schedule-time {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}

.schedule-route-info h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.schedule-route-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.schedule-price-info {
    text-align: right;
}

.schedule-price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-secondary);
}

.schedule-availability {
    font-size: 0.75rem;
    color: var(--success);
    font-weight: 500;
}

.schedule-availability.low {
    color: var(--brand-accent);
}

/* STEP 2: INTERACTIVE BUS SEAT MAP (Freightliner Custom S2C Layout) */
.seat-selection-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

@media (max-width: 768px) {
    .seat-selection-container {
        grid-template-columns: 1fr;
    }
}

/* Actual Bus Cabin Graphic Rendering */
.bus-chassis {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 3px solid #334155;
    border-radius: 40px 40px 20px 20px;
    padding: 30px 20px 20px 20px;
    position: relative;
    max-width: 320px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.bus-chassis::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50px;
    right: 50px;
    height: 10px;
    background: #475569;
    border-radius: 5px 5px 0 0;
}

/* Cockpit Area */
.bus-cockpit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.steering-wheel {
    width: 36px;
    height: 36px;
    border: 4px solid var(--text-muted);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steering-wheel::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 28px;
    background: var(--text-muted);
}

.steering-wheel::before {
    content: '';
    position: absolute;
    height: 4px;
    width: 28px;
    background: var(--text-muted);
}

.driver-seat {
    width: 34px;
    height: 34px;
    border: 2px solid var(--text-muted);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Seating grid */
.bus-cabin-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px 6px;
    justify-items: center;
}

/* Center aisle spacing */
.bus-cabin-grid > *:nth-child(4n+2) {
    margin-right: 20px; /* Aisle gap spacing */
}

/* Wheelchair Access Space Graphic instead of Seat */
.wheelchair-space {
    grid-column: span 2;
    background: rgba(6, 182, 212, 0.05);
    border: 1.5px dashed var(--brand-secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 8px;
    height: 38px;
    width: 100%;
}

.seat {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid #475569;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    user-select: none;
    transition: var(--transition-smooth);
}

.seat::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 4px;
    right: 4px;
    height: 4px;
    background: #475569;
    border-radius: 2px;
}

.seat:hover:not(.occupied) {
    border-color: var(--brand-primary);
    background: rgba(168, 85, 247, 0.1);
    color: white;
}

.seat.selected {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: white;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
    animation: seatPulse 1.5s infinite;
}

.seat.selected::after {
    background: white;
}

.seat.occupied {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    cursor: not-allowed;
}

.seat.occupied::after {
    background: transparent;
}

.seat.premium {
    border-color: var(--brand-secondary);
}

.seat.premium:hover:not(.occupied) {
    background: rgba(6, 182, 212, 0.1);
}

.seat.premium.selected {
    background: var(--brand-secondary);
    border-color: var(--brand-secondary);
}

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

/* Legend Styling */
.seat-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
}

.legend-color {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 2px solid #475569;
}

.legend-color.available {
    border-color: #475569;
}
.legend-color.premium-color {
    border-color: var(--brand-secondary);
}
.legend-color.selected-color {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
}
.legend-color.occupied-color {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.05);
}

/* STEP 3: PASSENGER INFORMATION FORM */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.checkout-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.checkout-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--brand-primary);
}

/* STEP 4: DIGITAL BOARDING PASS & TICKET STUB */
.ticket-wrapper {
    max-width: 600px;
    margin: 2rem auto;
    position: relative;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.4));
}

.boarding-pass {
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ticket-header {
    background: linear-gradient(to right, var(--brand-primary), var(--brand-secondary));
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.1);
}

.ticket-header h3 {
    font-family: var(--font-heading);
    color: white;
    font-size: 1.25rem;
}

.ticket-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: white;
    font-size: 0.9rem;
}

.ticket-body {
    padding: 2rem;
}

.ticket-trip-route {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.route-node {
    text-align: center;
}

.route-node.left { text-align: left; }
.route-node.right { text-align: right; }

.route-abbr {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
}

.route-city {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.route-connector-line {
    flex-grow: 1;
    height: 2px;
    background: dashed rgba(255, 255, 255, 0.15);
    margin: 0 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.route-connector-line svg {
    color: var(--brand-secondary);
    background: #141334;
    padding: 0 8px;
}

.ticket-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
}

.detail-block span {
    display: block;
}

.detail-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 4px;
}

.detail-value {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.detail-value.highlight {
    color: var(--brand-secondary);
}

.ticket-footer {
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.barcode-area {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.barcode-svg {
    background: white;
    padding: 6px;
    border-radius: var(--radius-sm);
    width: 100px;
    height: 100px;
}

.ticket-id-tag {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.ticket-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* RIGHT PANEL: BOOKING SUMMARY STICKY SIDEBAR */
.summary-panel {
    position: sticky;
    top: 2rem;
}

.summary-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-glass);
    color: white;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.summary-row.total {
    border-top: 1px solid var(--border-glass);
    padding-top: 1rem;
    margin-top: 1rem;
    color: white;
    font-weight: 700;
}

.summary-row.total span:last-child {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--brand-secondary);
}

/* WIZARD ACTIONS & BUTTONS */
.btn {
    border: none;
    outline: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #7e22ce 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.25);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.35);
}

.btn-primary:disabled {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.button-bar {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
}

/* ==========================================================================
   DRIVER MANIFEST / ADMIN DASHBOARD MODE STYLING
   ========================================================================== */
.admin-pane {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}

.admin-pane.active {
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-top: 6px;
}

.stat-card.purple .stat-num { color: var(--brand-primary); }
.stat-card.cyan .stat-num { color: var(--brand-secondary); }
.stat-card.emerald .stat-num { color: var(--success); }

/* Manifest Table & Interactive Boarding System */
.manifest-header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    gap: 1rem;
}

@media (max-width: 640px) {
    .manifest-header-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

.search-input-wrapper {
    position: relative;
    flex-grow: 1;
    max-width: 400px;
}

.search-input-wrapper svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input-wrapper input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    padding: 10px 16px 10px 42px;
    color: white;
    outline: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.search-input-wrapper input:focus {
    border-color: var(--brand-primary);
    background: rgba(255, 255, 255, 0.05);
}

.table-responsive {
    overflow-x: auto;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.01);
}

.manifest-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.manifest-table th {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 18px;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-glass);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.manifest-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-primary);
}

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

.manifest-table tr:hover td {
    background: rgba(255, 255, 255, 0.01);
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-status.booked {
    background: rgba(6, 182, 212, 0.08);
    color: var(--brand-secondary);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.badge-status.boarded {
    background: rgba(16, 185, 129, 0.08);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Interactive Boarding Simulator Sidebar */
.scanner-card {
    background: rgba(168, 85, 247, 0.03);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.scanner-card h4 {
    color: var(--brand-primary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scanner-input-group {
    display: flex;
    gap: 8px;
}

.scanner-input-group input {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: white;
    outline: none;
    font-family: monospace;
    font-size: 0.95rem;
}

.scanner-input-group input:focus {
    border-color: var(--brand-primary);
}

/* Empty State Styling */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-muted);
}

.empty-state svg {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.empty-state p {
    font-size: 0.9rem;
    max-width: 300px;
    margin: 4px auto 0 auto;
}

/* Spinner Animation for Dynamic PDF generation loading feedback */
.animate-spin {
    animation: spin 1s linear infinite;
}

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

/* Disable backdrop-filter, animations and complex transition effects during PDF export to prevent html2canvas hangs */
.pdf-exporting * {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: none !important;
    animation: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

/* Force strict width and remove layout shift/margins/shadows on ticket elements during PDF compile */
.pdf-exporting .ticket-wrapper {
    width: 620px !important;
    max-width: 620px !important;
    min-width: 620px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.pdf-exporting .boarding-pass {
    width: 620px !important;
    max-width: 620px !important;
    min-width: 620px !important;
    margin: 0 !important;
    border: 2px solid #1e293b !important;
    box-shadow: none !important;
    background: #ffffff !important; /* Solid white background for printing */
    color: #0f172a !important; /* Solid dark text */
}

/* Ensure all ticket header text is highly readable */
.pdf-exporting .ticket-header {
    background: #1e1b4b !important; /* Deep dark blue header background */
    color: #ffffff !important;
    border-bottom: 2px dashed #cbd5e1 !important;
}

.pdf-exporting .ticket-logo span {
    color: #ffffff !important;
}

.pdf-exporting .ticket-header > span {
    color: #ffffff !important;
    background: rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Ensure body details are visible in dark ink and highly compact to prevent bottom clipping */
.pdf-exporting .ticket-body {
    background: #ffffff !important;
    color: #0f172a !important;
    padding: 1rem 1.25rem !important;
}

.pdf-exporting .ticket-trip-route {
    border-bottom: 1px solid #e2e8f0 !important;
    padding-bottom: 0.5rem !important;
    margin-bottom: 0.75rem !important;
}

.pdf-exporting .route-abbr {
    color: #0f172a !important;
}

.pdf-exporting .route-city {
    color: #475569 !important;
}

.pdf-exporting .route-connector-line {
    border-color: #cbd5e1 !important;
}

.pdf-exporting .route-connector-line svg {
    color: #4f46e5 !important;
    background: #ffffff !important;
}

.pdf-exporting .ticket-details-grid {
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 0.5rem 0 !important;
    gap: 0.5rem 1rem !important; /* Extremely tight layout */
}

.pdf-exporting .detail-label {
    color: #64748b !important;
    font-size: 0.65rem !important; /* Compact labels */
    margin-bottom: 2px !important;
}

.pdf-exporting .detail-value {
    color: #0f172a !important;
    font-size: 0.85rem !important; /* Slightly smaller values */
}

.pdf-exporting .detail-value.highlight {
    color: #4f46e5 !important; /* Deep indigo highlight */
}

/* Footer overrides */
.pdf-exporting .ticket-footer {
    background: #f8fafc !important; /* Solid light slate footer background */
    border-top: 2px dashed #cbd5e1 !important;
    padding: 0.75rem 1rem !important; /* Tight footer margins */
}

.pdf-exporting .barcode-area {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
}

.pdf-exporting .ticket-id-tag {
    color: #0f172a !important;
}

.pdf-exporting .ticket-footer p {
    color: #475569 !important;
}

.pdf-exporting .ticket-footer p strong {
    color: #0f172a !important;
}

/* ==========================================================================
   AUTHENTICATION GATE & SEGREGATED PORTAL SECURITY STYLES
   ========================================================================== */

/* Auth Modal Overlay Container */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1.5rem;
    animation: fadeInModal 0.3s ease-out forwards;
}

/* Auth Modal Scaling Card */
.auth-card {
    width: 100%;
    max-width: 440px;
    background: rgba(17, 24, 39, 0.75) !important;
    border: 1.5px solid var(--border-glass-active) !important;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(168, 85, 247, 0.2) !important;
    padding: 2.25rem !important;
    transform: scale(0.95);
    animation: scaleInCard 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

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

@keyframes scaleInCard {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.auth-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth-header h3 {
    margin-bottom: 6px;
    font-size: 1.4rem;
    font-weight: 700;
}

/* Audit financial ledger formatting */
.manifest-table.financial-ledger th {
    background: rgba(6, 182, 212, 0.04);
}

.manifest-table.financial-ledger td {
    font-size: 0.85rem;
}

.manifest-table.financial-ledger tr:hover td {
    background: rgba(6, 182, 212, 0.02);
}

/* Tab secure label animations */
.lock-indicator {
    transition: var(--transition-smooth);
}

.mode-btn:hover .lock-indicator {
    transform: scale(1.2);
}

/* ==========================================================================
   FULL-WIDTH PROMO HERO BANNER SYSTEM (OUTSIDE constrained app-container)
   ========================================================================== */
.promo-hero-banner-container {
    width: 100%;
    background: linear-gradient(135deg, rgba(20, 14, 38, 0.95) 0%, rgba(9, 13, 22, 0.98) 100%);
    border-bottom: 2px solid rgba(168, 85, 247, 0.25);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(168, 85, 247, 0.15);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    transition: var(--transition-smooth);
    display: block; /* Managed as block/none in JS */
}

.promo-hero-card {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    font-family: var(--font-body);
    display: grid;
    grid-template-columns: 1.25fr 1fr; /* Increased image size prominence */
    gap: 3.5rem;
    align-items: center;
    transition: var(--transition-smooth);
}

.promo-badges-row {
    display: flex;
    gap: 10px;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.promo-badge {
    font-size: 0.8rem; /* Increased font size slightly */
    font-weight: 800;
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.75px;
}

.experience-badge {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.35);
}

.discount-badge {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: var(--success);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
}

.promo-hero-title {
    font-size: 2.4rem; /* Increased font size for dramatic impact */
    color: white;
    font-family: var(--font-heading);
    margin-bottom: 1.25rem;
    line-height: 1.2;
    font-weight: 800;
    background: linear-gradient(to right, #ffffff, #e0f2fe, #d8b4fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
}

.promo-hero-description {
    font-size: 1.05rem; /* Increased font size */
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.promo-amenities-row {
    display: flex;
    gap: 2.25rem;
    flex-wrap: wrap;
}

.promo-amenity {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem; /* Increased font size */
    color: white;
    font-weight: 700;
}

.promo-amenity-icon {
    font-size: 1.4rem; /* Larger emoji/icon */
    line-height: 1;
}

.promo-hero-image-wrapper {
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(6, 182, 212, 0.2);
    height: 320px; /* Increased image height from 240px */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.promo-hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.promo-hero-image-wrapper:hover {
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 35px rgba(6, 182, 212, 0.3);
}

.promo-hero-image-wrapper:hover img {
    transform: scale(1.06);
}

@media (max-width: 1024px) {
    .promo-hero-card {
        grid-template-columns: 1.1fr 1fr;
        gap: 2.5rem;
        padding: 2.5rem 1.5rem;
    }
    .promo-hero-title {
        font-size: 2rem;
    }
    .promo-hero-image-wrapper {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .promo-hero-card {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
        gap: 2rem;
    }
    .promo-hero-title {
        font-size: 1.75rem;
    }
    .promo-hero-image-wrapper {
        height: 200px;
    }
    .promo-badges-row {
        gap: 6px;
    }
    .promo-badge {
        font-size: 0.75rem;
        padding: 4px 12px;
    }
    .promo-amenities-row {
        gap: 1.25rem;
    }
    .promo-amenity {
        font-size: 0.85rem;
    }
}

/* Glassmorphic Passenger Referral Program Card */
.promo-referral-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1.5px dashed rgba(6, 182, 212, 0.35);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: inset 0 0 20px rgba(6, 182, 212, 0.03);
    transition: var(--transition-smooth);
    animation: referralFlashGrow 2s ease-in-out infinite alternate;
}

.promo-referral-card:hover {
    border-color: rgba(6, 182, 212, 0.85) !important;
    background: rgba(6, 182, 212, 0.06);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), inset 0 0 20px rgba(6, 182, 212, 0.08) !important;
    transform: translateY(-4px) scale(1.05) !important;
    animation-play-state: paused; /* Pause pulsing on hover to give user stable reading view */
}

@keyframes referralFlashGrow {
    0% {
        transform: scale(0.97);
        border-color: rgba(6, 182, 212, 0.35);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(6, 182, 212, 0.03);
    }
    100% {
        transform: scale(1.03);
        border-color: var(--brand-primary);
        box-shadow: 0 12px 30px rgba(168, 85, 247, 0.35), 0 0 20px rgba(168, 85, 247, 0.25), inset 0 0 20px rgba(168, 85, 247, 0.1);
    }
}

/* Pulsing neon CTA Message at the bottom */
.promo-hero-cta h3 {
    background: linear-gradient(to right, #06b6d4, #a855f7, #06b6d4);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: ctaPulseGrow 1.2s ease-in-out infinite alternate, ctaFlow 3s linear infinite;
    text-shadow: 0 0 25px rgba(6, 182, 212, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

@keyframes ctaPulseGrow {
    0% {
        transform: scale(0.96);
        filter: drop-shadow(0 0 4px rgba(6, 182, 212, 0.2)) brightness(0.95);
        text-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
    }
    100% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 28px rgba(168, 85, 247, 0.75)) brightness(1.35);
        text-shadow: 0 0 35px rgba(168, 85, 247, 0.75), 0 0 60px rgba(6, 182, 212, 0.5);
    }
}

@keyframes ctaFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Subtle Glassmorphic Translation Notification Bar */
.translation-notification-bar {
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1.5px solid var(--border-glass);
    padding: 12px 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    z-index: 1000;
    position: relative;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.translation-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    color: var(--text-primary);
}

.translation-icon {
    font-size: 1.25rem;
    animation: globeRotate 15s linear infinite;
    display: inline-block;
}

@keyframes globeRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.translation-action-btn {
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.35);
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.translation-action-btn:hover {
    background: var(--brand-secondary);
    border-color: var(--brand-secondary);
    color: var(--bg-deep);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

#btn-translate-es {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.35);
}

#btn-translate-es:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: white;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.translation-dismiss-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.translation-dismiss-btn:hover {
    color: var(--brand-accent);
    transform: scale(1.15);
}

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

@media (max-width: 768px) {
    .translation-notification-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 1.5rem;
    }
    .translation-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* ==========================================================================
   D5 & C LOGISTICS CORPORATE WEBSITE EXTENSION
   ========================================================================== */

/* Public Nav Styling */
.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover {
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-secondary);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.highlight {
    color: white;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid var(--brand-secondary);
    padding: 6px 16px;
    border-radius: 30px;
}

.nav-link.highlight:hover {
    background: var(--brand-secondary);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

/* Public Landing Sections */
.public-landing-section {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 1.5rem;
    scroll-margin-top: 100px;
}

.section-title-wrapper {
    margin-bottom: 2.5rem;
    text-align: center;
}

.section-tag {
    color: var(--brand-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 6px;
}

.section-title {
    font-size: 2rem;
    color: white;
    font-weight: 800;
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.about-bullets {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0.5rem;
}

.about-bullet-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.about-bullet-icon {
    color: var(--brand-secondary);
    font-size: 1.2rem;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: rgba(17, 24, 39, 0.45);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glass-active);
    box-shadow: var(--shadow-glow);
    background: rgba(17, 24, 39, 0.65);
}

.service-card-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
}

.service-card:nth-child(2) .service-card-icon-wrapper {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    color: var(--brand-secondary);
}

.service-card:nth-child(3) .service-card-icon-wrapper {
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.2);
    color: var(--brand-accent);
}

.service-card-title {
    font-size: 1.25rem;
    color: white;
    font-weight: 700;
}

.service-card-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* Fleet & Coverage Banner */
.fleet-banner {
    background: linear-gradient(135deg, rgba(9, 13, 22, 0.8) 0%, rgba(17, 24, 39, 0.8) 100%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.fleet-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.fleet-stats {
    display: flex;
    gap: 4rem;
}

.fleet-stat-item {
    display: flex;
    flex-direction: column;
}

.fleet-stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    font-family: var(--font-heading);
}

.fleet-stat-num.orange {
    color: #f97316;
}

.fleet-stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Request a Quote Form styling */
.quote-form-container {
    background: rgba(17, 24, 39, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 3rem;
}

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

.form-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.quote-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quote-input, .quote-select {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: white;
    outline: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.quote-input:focus, .quote-select:focus {
    border-color: #f97316;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.2);
}

.btn-quote-submit {
    background: #f97316;
    color: white;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    padding: 14px 28px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
    width: 100%;
}

.btn-quote-submit:hover {
    background: #ea580c;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
    transform: translateY(-1px);
}

/* Accessibility Card */
.ada-card {
    border: 1.5px solid rgba(168, 85, 247, 0.25) !important;
    background: rgba(168, 85, 247, 0.03) !important;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .fleet-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .fleet-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ==========================================================================
   5G VEHICLE TELEMETRY TRACKER & MAP SYSTEM
   ========================================================================== */
.telemetry-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2rem;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .telemetry-grid {
        grid-template-columns: 1fr;
    }
}

.raw-payload-box {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 1rem;
    font-family: 'Outfit', monospace;
    font-size: 0.76rem;
    color: #10b981; /* Emerald text */
    overflow-x: auto;
    max-height: 180px;
    white-space: pre;
    box-shadow: inset 0 0 12px rgba(16, 185, 129, 0.08);
}

.map-canvas-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    background: #090d16;
    border: 1.5px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.map-route-svg {
    width: 100%;
    height: 100%;
}

.map-glow-track {
    stroke: var(--brand-primary);
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-dasharray: 8 6;
    filter: drop-shadow(0 0 5px var(--brand-primary));
    transition: all 0.5s ease;
}

.map-glow-track.dead {
    stroke: #4b5563;
    filter: none;
}

.map-glow-node {
    fill: #090d16;
    stroke: var(--brand-secondary);
    stroke-width: 2.5;
    filter: drop-shadow(0 0 6px var(--brand-secondary));
    transition: all 0.5s ease;
}

.map-glow-node.dead {
    stroke: #6b7280;
    filter: none;
}

.map-node-label {
    fill: var(--text-secondary);
    font-size: 0.72rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.telemetry-warning-banner {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    backdrop-filter: blur(12px);
    z-index: 20;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: telePulse 1.5s infinite;
}

.telemetry-warning-banner.stale {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #f59e0b;
}

.telemetry-warning-banner.dead {
    background: rgba(244, 63, 94, 0.2);
    border: 1px solid rgba(244, 63, 94, 0.4);
    color: var(--brand-accent);
}

.hud-panel {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 14px 18px;
    z-index: 15;
    color: var(--text-primary);
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hud-row {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}

.hud-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.hud-val {
    font-weight: 700;
    color: var(--brand-secondary);
    font-family: monospace;
}

.telemetry-marker {
    position: absolute;
    width: 32px;
    height: 32px;
    transform-origin: center center;
    filter: drop-shadow(0 0 8px #10b981);
    z-index: 10;
}

.telemetry-marker.dead {
    filter: grayscale(100%);
    opacity: 0.45;
}

@keyframes telePulse {
    0% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.03); }
    100% { transform: translateX(-50%) scale(1); }
}

.status-badge-inline {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
}

.status-badge-inline.online {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.status-badge-inline.stale {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.status-badge-inline.dead {
    background: rgba(244, 63, 94, 0.15);
    color: var(--brand-accent);
}



