/**
 * GLT Booking Form Styles - FIXED
 * Get London Transfer - Booking System
 * 
 * FIX: Map tidak muncul di desktop - added explicit dimensions
 * 
 * @version 2.0.1
 * @package GLT Booking System
 */

/* ========================================
   RESET & BASE
======================================== */
.glt-booking-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.glt-booking-wrapper {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background: #f5f5f5;
    line-height: 1.5;
}

/* ========================================
   MAIN LAYOUT - Desktop: Side by Side
======================================== */
.glt-booking-wrapper .app-container {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    height: 100vh; /* FIXED: Added explicit height */
    width: 100%;
}

/* FORM PANEL - Left Side */
.glt-booking-wrapper .form-panel {
    width: 420px;
    min-width: 420px;
    max-width: 420px;
    height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0,0,0,0.1);
    z-index: 10;
    position: sticky;
    top: 0;
    left: 0;
    flex-shrink: 0; /* FIXED: Prevent shrinking */
}

/* MAP CONTAINER - Right Side - FIXED */
.glt-booking-wrapper .map-container {
    flex: 1;
    height: 100vh; /* Explicit height */
    min-height: 100vh; /* FIXED: Added min-height */
    width: calc(100% - 420px); /* FIXED: Explicit width calculation */
    position: relative; /* CHANGED: from sticky to relative */
    background: #e5e3df;
}

/* MAP ELEMENT - FIXED */
.glt-booking-wrapper #glt-map {
    width: 100% !important; /* FIXED: Added !important */
    height: 100% !important; /* FIXED: Added !important */
    position: absolute !important; /* FIXED: Added absolute positioning */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Map Loading State */
.glt-booking-wrapper .map-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #666;
    z-index: 5;
}

.glt-booking-wrapper .map-loading i {
    font-size: 48px;
    color: #A78241;
    margin-bottom: 16px;
    animation: glt-pulse 1.5s infinite;
}

@keyframes glt-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ========================================
   FORM PANEL STRUCTURE
======================================== */

/* Header - Desktop Only */
.glt-booking-wrapper .panel-header {
    background: #000;
    color: #fff;
    padding: 20px 24px;
    flex-shrink: 0;
    display: block;
}

.glt-booking-wrapper .panel-header h1 {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff !important;
    margin: 0;
}

.glt-booking-wrapper .panel-header h1 i {
    color: #A78241;
}

/* Mobile Drag Handle - Hidden on Desktop */
.glt-booking-wrapper .mobile-drag-handle {
    display: none;
    width: 40px;
    height: 4px;
    background: #ccc;
    border-radius: 2px;
    margin: 12px auto 8px;
}

/* ========================================
   PROGRESS BAR - HORIZONTAL
======================================== */
.glt-booking-wrapper .progress-bar {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px 24px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
    gap: 0;
}

.glt-booking-wrapper .progress-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Horizontal line between steps */
.glt-booking-wrapper .progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 16px;
    left: calc(50% + 20px);
    width: calc(100% - 40px);
    height: 3px;
    background: #ddd;
    z-index: 0;
}

.glt-booking-wrapper .progress-step.completed:not(:last-child)::after {
    background: #4CAF50;
}

.glt-booking-wrapper .step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ddd;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.glt-booking-wrapper .progress-step.active .step-number {
    background: #A78241;
    color: #fff;
}

.glt-booking-wrapper .progress-step.completed .step-number {
    background: #4CAF50;
    color: #fff;
}

.glt-booking-wrapper .step-label {
    font-size: 12px;
    color: #999;
    font-weight: 600;
    white-space: nowrap;
}

.glt-booking-wrapper .progress-step.active .step-label,
.glt-booking-wrapper .progress-step.completed .step-label {
    color: #333;
}

/* Form Content Area - Scrollable */
.glt-booking-wrapper .form-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    min-height: 0;
}

/* Step Containers */
.glt-booking-wrapper .step-content {
    display: none;
}

.glt-booking-wrapper .step-content.active {
    display: block;
    animation: glt-fadeIn 0.3s ease;
}

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

/* ========================================
   STEP 1: ADDRESS INPUT
======================================== */
.glt-booking-wrapper .address-group {
    background: #f8f8f8;
    border-radius: 12px;
    border: 2px solid #eee;
    overflow: hidden;
    margin-bottom: 20px;
}

.glt-booking-wrapper .address-input-wrapper {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.glt-booking-wrapper .address-input-wrapper:last-child {
    border-bottom: none;
}

.glt-booking-wrapper .address-input-wrapper.waypoint-row {
    display: none;
    background: #fffdf5;
}

.glt-booking-wrapper .address-input-wrapper.waypoint-row.show {
    display: flex;
}

.glt-booking-wrapper .address-icon {
    width: 32px;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.glt-booking-wrapper .address-icon i {
    font-size: 16px;
    color: #A78241;
}

.glt-booking-wrapper .address-icon .dot-pickup {
    width: 12px;
    height: 12px;
    background: #A78241;
    border-radius: 50%;
}

.glt-booking-wrapper .address-icon .dot-dropoff {
    width: 12px;
    height: 12px;
    background: #000;
    border-radius: 3px;
}

.glt-booking-wrapper .address-input-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    padding: 8px 12px;
    background: transparent;
    color: #333;
}

.glt-booking-wrapper .address-input-wrapper input::placeholder {
    color: #999;
}

.glt-booking-wrapper .btn-location {
    background: none;
    border: none;
    color: #A78241;
    cursor: pointer;
    padding: 8px;
    font-size: 18px;
    transition: transform 0.2s;
}

.glt-booking-wrapper .btn-location:hover {
    transform: scale(1.1);
}

/* Toggle Options */
.glt-booking-wrapper .toggle-options {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.glt-booking-wrapper .toggle-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f5f5f5;
    border: 2px solid #eee;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    transition: all 0.2s;
    user-select: none;
}

.glt-booking-wrapper .toggle-pill:hover {
    border-color: #ccc;
}

.glt-booking-wrapper .toggle-pill.active {
    background: #A78241;
    border-color: #A78241;
    color: #fff;
}

.glt-booking-wrapper .toggle-pill i {
    font-size: 14px;
}

/* Distance Info */
.glt-booking-wrapper .distance-info {
    display: none;
    background: linear-gradient(135deg, #A78241 0%, #8a6d35 100%);
    color: #fff;
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 14px;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
}

.glt-booking-wrapper .distance-info.show {
    display: flex;
}

.glt-booking-wrapper .distance-info i {
    margin-right: 6px;
}

/* Vehicle Cards */
.glt-booking-wrapper .vehicle-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.glt-booking-wrapper .vehicle-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.glt-booking-wrapper .vehicle-card {
    background: #fff;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.glt-booking-wrapper .vehicle-card:hover {
    border-color: #ccc;
}

.glt-booking-wrapper .vehicle-card.selected {
    border-color: #A78241;
    background: linear-gradient(to bottom, #fffdf5, #fff);
    box-shadow: 0 4px 15px rgba(167, 130, 65, 0.2);
}

.glt-booking-wrapper .vehicle-card .v-image {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.glt-booking-wrapper .vehicle-card .v-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.glt-booking-wrapper .vehicle-card .v-name {
    font-weight: 700;
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.glt-booking-wrapper .vehicle-card .v-pax {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.glt-booking-wrapper .vehicle-card .v-price {
    font-size: 22px;
    font-weight: 700;
    color: #A78241;
}

.glt-booking-wrapper .vehicle-card .v-original {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    margin-top: 2px;
}

.glt-booking-wrapper .vehicle-card .v-promo {
    background: #4CAF50;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    display: inline-block;
    margin-top: 6px;
}

/* London Fee Notice */
.glt-booking-wrapper .vehicle-card .v-london-fee {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #ddd;
}

.glt-booking-wrapper .vehicle-card .v-london-fee small {
    color: #666;
    font-size: 11px;
    font-style: italic;
}

/* ========================================
   STEP 2: CUSTOMER DETAILS
======================================== */
.glt-booking-wrapper .booking-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.glt-booking-wrapper .booking-notice i {
    font-size: 18px;
}

.glt-booking-wrapper .form-group {
    margin-bottom: 18px;
}

.glt-booking-wrapper .form-group label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
}

.glt-booking-wrapper .form-group label i {
    color: #A78241;
    margin-right: 6px;
}

.glt-booking-wrapper .form-group input,
.glt-booking-wrapper .form-group select,
.glt-booking-wrapper .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.2s;
    background: #fff;
}

.glt-booking-wrapper .form-group input:focus,
.glt-booking-wrapper .form-group select:focus,
.glt-booking-wrapper .form-group textarea:focus {
    outline: none;
    border-color: #A78241;
}

.glt-booking-wrapper .form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.glt-booking-wrapper .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ========================================
   STEP 3: PAYMENT
======================================== */
.glt-booking-wrapper .summary-card {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.glt-booking-wrapper .summary-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eee;
    display: flex;
    align-items: center;
    gap: 8px;
}

.glt-booking-wrapper .summary-card h3 i {
    color: #A78241;
}

.glt-booking-wrapper .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.glt-booking-wrapper .summary-row:last-child {
    border-bottom: none;
}

.glt-booking-wrapper .summary-row .label {
    color: #666;
}

.glt-booking-wrapper .summary-row .value {
    font-weight: 600;
    color: #333;
    text-align: right;
    max-width: 60%;
}

.glt-booking-wrapper .summary-row.total {
    background: #000;
    color: #fff;
    padding: 14px 16px;
    border-radius: 8px;
    margin-top: 12px;
}

.glt-booking-wrapper .summary-row.total .label {
    color: #fff;
    font-weight: 700;
}

.glt-booking-wrapper .summary-row.total .value {
    color: #A78241;
    font-size: 20px;
}

/* Coupon */
.glt-booking-wrapper .coupon-section {
    margin-bottom: 20px;
}

.glt-booking-wrapper .coupon-input-group {
    display: flex;
    gap: 10px;
}

.glt-booking-wrapper .coupon-input-group input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 14px;
    text-transform: uppercase;
}

.glt-booking-wrapper .coupon-input-group input:focus {
    outline: none;
    border-color: #A78241;
}

.glt-booking-wrapper .btn-apply-coupon {
    padding: 12px 20px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.glt-booking-wrapper .btn-apply-coupon:hover {
    background: #000;
}

.glt-booking-wrapper .btn-apply-coupon:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.glt-booking-wrapper .coupon-message {
    margin-top: 8px;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 6px;
    display: none;
}

.glt-booking-wrapper .coupon-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
}

.glt-booking-wrapper .coupon-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
}

/* Payment Buttons - UPDATED with dynamic price */
.glt-booking-wrapper .payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.glt-booking-wrapper .btn-payment {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    min-height: 64px;
    position: relative;
    overflow: hidden;
}

.glt-booking-wrapper .btn-payment:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.glt-booking-wrapper .btn-payment.hidden {
    display: none !important;
}

/* Payment button icon */
.glt-booking-wrapper .btn-payment .pay-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255,255,255,0.2);
    font-size: 20px;
    flex-shrink: 0;
}

/* Payment button text layout */
.glt-booking-wrapper .btn-payment .pay-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    line-height: 1.3;
}

.glt-booking-wrapper .btn-payment .pay-action {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.glt-booking-wrapper .btn-payment .pay-amount {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.glt-booking-wrapper .btn-payment .pay-method {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
}

/* Brand logo on right */
.glt-booking-wrapper .btn-payment .pay-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    opacity: 0.3;
    transition: opacity 0.2s;
}

.glt-booking-wrapper .btn-payment:hover .pay-brand {
    opacity: 0.5;
}

/* Cash Button - Green */
.glt-booking-wrapper .btn-cash {
    background: linear-gradient(135deg, #28a745 0%, #20863a 100%);
    color: #fff;
}

.glt-booking-wrapper .btn-cash:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.35);
}

.glt-booking-wrapper .btn-cash .pay-icon {
    background: rgba(255,255,255,0.2);
}

/* Stripe Button - Purple */
.glt-booking-wrapper .btn-stripe {
    background: linear-gradient(135deg, #635BFF 0%, #4B45C6 100%);
    color: #fff;
}

.glt-booking-wrapper .btn-stripe:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 91, 255, 0.35);
}

.glt-booking-wrapper .btn-stripe .pay-icon {
    background: rgba(255,255,255,0.2);
}

.glt-booking-wrapper .btn-stripe .pay-brand svg {
    fill: #fff;
}

/* PayPal Button - Yellow/Blue */
.glt-booking-wrapper .btn-paypal {
    background: linear-gradient(135deg, #FFC439 0%, #F0B429 100%);
    color: #003087;
}

.glt-booking-wrapper .btn-paypal:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 196, 57, 0.45);
}

.glt-booking-wrapper .btn-paypal .pay-icon {
    background: rgba(0, 48, 135, 0.1);
    color: #003087;
}

/* Payment button loading state */
.glt-booking-wrapper .btn-payment.loading {
    pointer-events: none;
}

.glt-booking-wrapper .btn-payment.loading .pay-icon i {
    animation: spin 1s linear infinite;
}

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

/* ========================================
   NAVIGATION BUTTONS
======================================== */
.glt-booking-wrapper .form-navigation {
    padding: 20px 24px;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: row;
    gap: 12px;
    flex-shrink: 0;
}

.glt-booking-wrapper .btn-nav {
    flex: 1;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
}

.glt-booking-wrapper .btn-back {
    background: #f5f5f5;
    color: #666;
    border: 2px solid #eee;
}

.glt-booking-wrapper .btn-back:hover {
    background: #eee;
}

.glt-booking-wrapper .btn-next {
    background: #A78241;
    color: #fff;
    border: none;
}

.glt-booking-wrapper .btn-next:hover {
    background: #8a6d35;
}

.glt-booking-wrapper .btn-next:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* ========================================
   LOADING OVERLAY
======================================== */
.glt-booking-wrapper .loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
}

.glt-booking-wrapper .loading-overlay.show {
    display: flex;
}

.glt-booking-wrapper .loading-overlay .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top-color: #A78241;
    border-radius: 50%;
    animation: glt-spin 1s linear infinite;
}

@keyframes glt-spin {
    to { transform: rotate(360deg); }
}

.glt-booking-wrapper .loading-overlay p {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

/* ========================================
   MAP ERROR STATE
======================================== */
.glt-booking-wrapper .map-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #f44336;
    padding: 20px;
    z-index: 10;
}

.glt-booking-wrapper .map-error i {
    font-size: 48px;
    margin-bottom: 16px;
}

.glt-booking-wrapper .map-error p {
    font-size: 14px;
}

/* ========================================
   MOBILE & TABLET RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .glt-booking-wrapper .app-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    /* MAP ON TOP - MOBILE - FIXED HEIGHT */
    .glt-booking-wrapper .map-container {
        width: 100%;
        height: 35vh !important;
        min-height: 200px;
        max-height: 280px;
        order: -1;
        flex-shrink: 0;
        position: relative;
    }
    
    .glt-booking-wrapper #glt-map {
        width: 100% !important;
        height: 100% !important;
        position: absolute !important;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    
    /* FORM PANEL - MOBILE */
    .glt-booking-wrapper .form-panel {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        height: auto;
        min-height: auto;
        flex: 1;
        border-radius: 20px 20px 0 0;
        margin-top: -20px;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
        display: flex;
        flex-direction: column;
        position: relative;
    }
    
    /* HIDE HEADER ON MOBILE/TABLET */
    .glt-booking-wrapper .panel-header {
        display: none !important;
    }
    
    /* Show drag handle on mobile */
    .glt-booking-wrapper .mobile-drag-handle {
        display: block;
    }
    
    .glt-booking-wrapper .progress-bar {
        padding: 8px 16px 16px;
        border-radius: 0;
    }
    
    .glt-booking-wrapper .step-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .glt-booking-wrapper .step-label {
        font-size: 10px;
    }
    
    .glt-booking-wrapper .progress-step:not(:last-child)::after {
        top: 14px;
        left: calc(50% + 16px);
        width: calc(100% - 32px);
    }
    
    .glt-booking-wrapper .form-content {
        padding: 16px;
        padding-bottom: 20px;
        flex: 1;
        overflow-y: visible;
        min-height: auto;
    }
    
    .glt-booking-wrapper .vehicle-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .glt-booking-wrapper .vehicle-card {
        padding: 12px;
    }
    
    .glt-booking-wrapper .vehicle-card .v-image {
        height: 55px;
    }
    
    .glt-booking-wrapper .vehicle-card .v-price {
        font-size: 20px;
    }
    
    .glt-booking-wrapper .form-row {
        grid-template-columns: 1fr;
    }
    
    .glt-booking-wrapper .form-navigation {
        padding: 16px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        flex-shrink: 0;
        background: #fff;
        border-top: 1px solid #eee;
    }
    
    .glt-booking-wrapper .toggle-options {
        gap: 8px;
    }
    
    .glt-booking-wrapper .toggle-pill {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .glt-booking-wrapper .btn-nav {
        min-height: 48px;
        font-size: 14px;
    }
    
    .glt-booking-wrapper .payment-methods {
        padding-bottom: 30px;
        gap: 10px;
    }
    
    /* Payment buttons mobile adjustments */
    .glt-booking-wrapper .btn-payment {
        padding: 12px 16px;
        min-height: 58px;
    }
    
    .glt-booking-wrapper .btn-payment .pay-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    
    .glt-booking-wrapper .btn-payment .pay-amount {
        font-size: 20px;
    }
    
    .glt-booking-wrapper .btn-payment .pay-action {
        font-size: 11px;
    }
    
    .glt-booking-wrapper .btn-payment .pay-method {
        font-size: 12px;
    }
    
    .glt-booking-wrapper .btn-payment .pay-brand {
        display: none;
    }
}

/* DESKTOP - FIXED */
@media (min-width: 769px) {
    .glt-booking-wrapper .mobile-drag-handle {
        display: none;
    }
    
    .glt-booking-wrapper .panel-header {
        display: block;
    }
    
    .glt-booking-wrapper .form-panel {
        max-height: 100vh;
        overflow: hidden;
    }
    
    .glt-booking-wrapper .form-content {
        overflow-y: auto;
        flex: 1;
        min-height: 0;
    }
    
    .glt-booking-wrapper .form-content::-webkit-scrollbar {
        width: 6px;
    }
    
    .glt-booking-wrapper .form-content::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    
    .glt-booking-wrapper .form-content::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 3px;
    }
    
    .glt-booking-wrapper .form-content::-webkit-scrollbar-thumb:hover {
        background: #A78241;
    }
    
    /* CRITICAL FIX FOR DESKTOP MAP */
    .glt-booking-wrapper .map-container {
        flex: 1;
        min-width: 0;
        height: 100vh;
        min-height: 100vh;
        position: relative;
        overflow: hidden;
    }
    
    .glt-booking-wrapper #glt-map {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }
}

@media (max-width: 400px) {
    .glt-booking-wrapper .vehicle-grid {
        grid-template-columns: 1fr;
    }
    
    .glt-booking-wrapper .form-navigation {
        padding: 12px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    }
}

/* ========================================
   FIX FOR WORDPRESS/ELEMENTOR INTEGRATION
======================================== */
.glt-booking-wrapper input:not([type="checkbox"]):not([type="radio"]),
.glt-booking-wrapper textarea,
.glt-booking-wrapper select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Prevent Elementor overrides */
.glt-booking-wrapper h1,
.glt-booking-wrapper h2,
.glt-booking-wrapper h3,
.glt-booking-wrapper h4,
.glt-booking-wrapper h5,
.glt-booking-wrapper h6 {
    margin: 0;
    padding: 0;
}

.glt-booking-wrapper button {
    font-family: inherit;
}

/* Google Places Autocomplete dropdown fix */
.pac-container {
    z-index: 100000 !important;
}
/* ========================================
   PAYPAL ADVANCED CARD FIELDS
======================================== */

/* PayPal Account Link */
.glt-booking-wrapper .paypal-account-link {
    text-align: center;
    margin-top: -5px;
    margin-bottom: 10px;
}

.glt-booking-wrapper .paypal-account-link a {
    color: #003087;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.glt-booking-wrapper .paypal-account-link a:hover {
    color: #0070E0;
    text-decoration: underline;
}

.glt-booking-wrapper .paypal-account-link a i {
    font-size: 16px;
}

/* Card Fields Container */
.glt-booking-wrapper .paypal-card-fields {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border: 2px solid #003087;
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
}

.glt-booking-wrapper .card-fields-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.glt-booking-wrapper .card-fields-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #003087;
    display: flex;
    align-items: center;
    gap: 8px;
}

.glt-booking-wrapper .card-fields-header h4 i {
    color: #28a745;
}

.glt-booking-wrapper .card-brands {
    display: flex;
    gap: 8px;
}

.glt-booking-wrapper .card-brands i {
    font-size: 28px;
    color: #888;
}

.glt-booking-wrapper .card-brands i.fa-cc-visa { color: #1A1F71; }
.glt-booking-wrapper .card-brands i.fa-cc-mastercard { color: #EB001B; }
.glt-booking-wrapper .card-brands i.fa-cc-amex { color: #006FCF; }

/* Card Field Rows */
.glt-booking-wrapper .card-field-row {
    margin-bottom: 15px;
}

.glt-booking-wrapper .card-field-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.glt-booking-wrapper .card-field-row-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Individual Card Fields (PayPal hosted iframes) */
.glt-booking-wrapper .card-field {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 15px;
    min-height: 48px;
    transition: all 0.2s;
}

.glt-booking-wrapper .card-field:focus-within {
    border-color: #003087;
    box-shadow: 0 0 0 3px rgba(0, 48, 135, 0.1);
}

.glt-booking-wrapper .card-field.invalid {
    border-color: #dc3545;
}

/* Postcode input styling */
.glt-booking-wrapper .paypal-card-fields .form-group {
    margin-bottom: 0;
}

.glt-booking-wrapper .paypal-card-fields .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.glt-booking-wrapper .paypal-card-fields .form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
}

.glt-booking-wrapper .paypal-card-fields .form-group input:focus {
    border-color: #003087;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 48, 135, 0.1);
}

/* Postcode input in card fields */
.glt-booking-wrapper .paypal-card-fields .postcode-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
}

.glt-booking-wrapper .paypal-card-fields .postcode-input:focus {
    border-color: #003087;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 48, 135, 0.1);
}

/* Card Submit Button */
.glt-booking-wrapper .btn-card-submit {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #003087 0%, #001F5C 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    transition: all 0.25s;
}

.glt-booking-wrapper .btn-card-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 48, 135, 0.35);
}

.glt-booking-wrapper .btn-card-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.glt-booking-wrapper .btn-card-submit.loading i {
    animation: spin 1s linear infinite;
}

/* Card Fields Footer */
.glt-booking-wrapper .card-fields-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.glt-booking-wrapper .card-fields-footer p {
    margin: 0;
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.glt-booking-wrapper .card-fields-footer p i {
    color: #28a745;
}

/* Payment Message */
.glt-booking-wrapper .payment-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.glt-booking-wrapper .payment-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.glt-booking-wrapper .payment-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Mobile Responsive for Card Fields */
@media (max-width: 768px) {
    .glt-booking-wrapper .paypal-card-fields {
        padding: 15px;
    }
    
    .glt-booking-wrapper .card-fields-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .glt-booking-wrapper .card-field-row-half {
        grid-template-columns: 1fr;
    }
    
    .glt-booking-wrapper .card-brands i {
        font-size: 24px;
    }
}
