/**
 * Transfer Booking Pro v1.4.2 - Ultra Compact
 * Row 1: From | To
 * Row 2: Adults | Children | Flight (3 columns!)
 */

:root {
    --tbp-primary: #005488;
    --tbp-primary-dark: #003d66;
    --tbp-primary-light: #e6f3fa;
    --tbp-secondary: #00a8e8;
    --tbp-accent: #00d4ff;
    --tbp-gradient: linear-gradient(135deg, #005488 0%, #00a8e8 50%, #00d4ff 100%);
    --tbp-text: #1a1a2e;
    --tbp-text-light: #64748b;
    --tbp-text-muted: #94a3b8;
    --tbp-white: #ffffff;
    --tbp-bg: #f8fafc;
    --tbp-border: #e2e8f0;
    --tbp-success: #10b981;
    --tbp-shadow-xl: 0 25px 50px -12px rgba(0, 84, 136, 0.25);
    --tbp-radius: 20px;
    --tbp-radius-sm: 10px;
    --tbp-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === CONTAINER === */
.tbp-booking-container {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.tbp-booking-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 130px;
    background: var(--tbp-gradient);
    border-radius: var(--tbp-radius) var(--tbp-radius) 0 0;
    z-index: 0;
}

/* === HEADER === */
.tbp-form-header {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 24px 24px 16px;
}

.tbp-form-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--tbp-white);
    margin: 0 0 4px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.tbp-form-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* === FORM CARD === */
.tbp-booking-form {
    position: relative;
    z-index: 1;
    background: var(--tbp-white);
    margin: 0 16px;
    padding: 20px;
    border-radius: var(--tbp-radius);
    box-shadow: var(--tbp-shadow-xl);
}

/* ============================================
   GRID LAYOUT
   Row 1: From | To
   Row 2: Adults | Children
   Row 3: Pickup Date | Pickup Time
   Row 4: Vehicle (full width)
   Row 5: Flight (full width)
   Row 6: Toggle (full width)
   ============================================ */
.tbp-booking-container .tbp-form-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px;
    margin-bottom: 16px;
}
@media (min-width: 769px) {
    .tbp-booking-container .tbp-form-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 14px;
    }
}

/* === LABELS === */
.tbp-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    color: var(--tbp-text-light);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tbp-icon {
    width: 12px;
    height: 12px;
    color: var(--tbp-primary);
    opacity: 0.6;
}

/* === SELECT === */
.tbp-select {
    width: 100%;
    padding: 11px 36px 11px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--tbp-text);
    background: var(--tbp-bg);
    border: 2px solid transparent;
    border-radius: var(--tbp-radius-sm);
    transition: var(--tbp-transition);
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23005488' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
}

.tbp-select:focus {
    outline: none;
    border-color: var(--tbp-primary);
    background-color: var(--tbp-white);
    box-shadow: 0 0 0 3px rgba(0, 84, 136, 0.1);
}

/* === NUMBER INPUT === */
.tbp-number-input {
    display: flex;
    align-items: center;
    background: var(--tbp-bg);
    border: 2px solid transparent;
    border-radius: var(--tbp-radius-sm);
    overflow: hidden;
    height: 42px;
}

.tbp-number-input:focus-within {
    border-color: var(--tbp-primary);
    background-color: var(--tbp-white);
    box-shadow: 0 0 0 3px rgba(0, 84, 136, 0.1);
}

.tbp-number-btn {
    width: 38px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tbp-primary);
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: var(--tbp-white);
    cursor: pointer;
    transition: var(--tbp-transition);
}

.tbp-number-btn:hover {
    background: var(--tbp-primary-dark);
}

.tbp-number-btn:active {
    transform: scale(0.95);
}

.tbp-input-number {
    flex: 1;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--tbp-text);
    border: none;
    background: transparent;
    -moz-appearance: textfield;
    min-width: 30px;
}

.tbp-input-number::-webkit-outer-spin-button,
.tbp-input-number::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* === FLIGHT INPUT - Compact for 3-column === */
.tbp-flight-input-wrapper {
    display: flex;
    gap: 6px;
}

.tbp-input {
    flex: 1;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--tbp-text);
    background: var(--tbp-bg);
    border: 2px solid transparent;
    border-radius: var(--tbp-radius-sm);
    transition: var(--tbp-transition);
    text-transform: uppercase;
    height: 42px;
    box-sizing: border-box;
    min-width: 0; /* Allow shrinking */
}

.tbp-input::placeholder {
    color: var(--tbp-text-muted);
    text-transform: none;
    font-weight: 400;
    font-size: 12px;
}

.tbp-input:focus {
    outline: none;
    border-color: var(--tbp-primary);
    background-color: var(--tbp-white);
}

.tbp-track-flight-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tbp-gradient);
    border: none;
    border-radius: var(--tbp-radius-sm);
    cursor: pointer;
    transition: var(--tbp-transition);
    flex-shrink: 0;
}

.tbp-track-flight-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 84, 136, 0.3);
}

.tbp-track-flight-btn svg {
    width: 18px;
    height: 18px;
    color: var(--tbp-white);
}

.tbp-flight-info {
    margin-top: 8px;
    animation: tbp-fadeIn 0.3s ease;
}

.tbp-flight-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, var(--tbp-primary-light), rgba(0, 168, 232, 0.15));
    color: var(--tbp-primary);
    text-decoration: none;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid rgba(0, 84, 136, 0.2);
    transition: var(--tbp-transition);
    box-shadow: 0 2px 8px rgba(0, 84, 136, 0.1);
}

.tbp-flight-link:hover {
    background: var(--tbp-primary);
    color: var(--tbp-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 84, 136, 0.25);
}

.tbp-flight-link svg {
    width: 12px;
    height: 12px;
}

/* === TOGGLE === */
.tbp-toggle-wrapper {
    display: flex;
    justify-content: center;
    padding: 2px 0;
}

.tbp-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 14px;
    background: var(--tbp-bg);
    border-radius: 50px;
}

.tbp-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.tbp-toggle-slider {
    position: relative;
    width: 40px;
    height: 22px;
    background: var(--tbp-border);
    border-radius: 11px;
    transition: var(--tbp-transition);
}

.tbp-toggle-slider::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    background: var(--tbp-white);
    border-radius: 50%;
    transition: var(--tbp-transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.tbp-toggle input:checked + .tbp-toggle-slider {
    background: var(--tbp-gradient);
}

.tbp-toggle input:checked + .tbp-toggle-slider::before {
    transform: translateX(18px);
}

.tbp-toggle-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--tbp-text-muted);
    transition: var(--tbp-transition);
}

.tbp-toggle input:checked ~ .tbp-toggle-on {
    color: var(--tbp-primary);
}

.tbp-toggle input:not(:checked) ~ .tbp-toggle-off {
    color: var(--tbp-primary);
}

/* === SUBMIT BUTTON === */
.tbp-submit-btn {
    width: 100%;
    padding: 13px 28px;
    font-size: 13px;
    font-weight: 800;
    color: var(--tbp-white);
    background: var(--tbp-gradient);
    border: none;
    border-radius: var(--tbp-radius-sm);
    cursor: pointer;
    transition: var(--tbp-transition);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.tbp-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.tbp-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 84, 136, 0.35);
}

.tbp-submit-btn:hover::before {
    left: 100%;
}

.tbp-spinner {
    width: 18px;
    height: 18px;
    animation: tbp-spin 0.8s linear infinite;
}

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

/* ============================================
   QUOTE POPUP MODAL - FIXED OVERLAY
   ============================================ */
.tbp-quote-result {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999 !important;
    padding: 20px;
    box-sizing: border-box;
    animation: tbp-fadeIn 0.3s ease;
}

@keyframes tbp-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tbp-quote-body {
    background: var(--tbp-white);
    border-radius: var(--tbp-radius);
    max-width: 400px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--tbp-shadow-xl);
    animation: tbp-scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes tbp-scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.tbp-quote-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    background: var(--tbp-gradient);
    border-radius: var(--tbp-radius) var(--tbp-radius) 0 0;
}

.tbp-quote-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--tbp-white);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tbp-quote-header h3 svg {
    width: 20px;
    height: 20px;
}

.tbp-quote-close {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    font-size: 16px;
    color: var(--tbp-white);
    cursor: pointer;
    transition: var(--tbp-transition);
}

.tbp-quote-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.tbp-quote-content {
    padding: 18px;
}

.tbp-quote-route {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: linear-gradient(135deg, var(--tbp-primary-light), rgba(0, 168, 232, 0.08));
    border-radius: var(--tbp-radius-sm);
    margin-bottom: 14px;
}

.tbp-quote-from,
.tbp-quote-to {
    font-size: 12px;
    font-weight: 600;
    color: var(--tbp-text);
    max-width: 120px;
    text-align: center;
    line-height: 1.3;
}

.tbp-quote-arrow {
    width: 20px;
    height: 20px;
    color: var(--tbp-primary);
    flex-shrink: 0;
}

.tbp-quote-details {
    margin-bottom: 14px;
}

.tbp-quote-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--tbp-border);
}

.tbp-quote-row:last-child {
    border-bottom: none;
}

.tbp-quote-row span:first-child {
    color: var(--tbp-text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.tbp-quote-row span:first-child svg {
    width: 14px;
    height: 14px;
    color: var(--tbp-primary);
}

.tbp-quote-row span:last-child {
    font-weight: 600;
    color: var(--tbp-text);
}

.tbp-quote-row.tbp-ai-estimate {
    padding: 10px 12px;
    background: rgba(0, 84, 136, 0.05);
    border-radius: 8px;
    border: none;
    border-left: 3px solid var(--tbp-primary);
    margin-top: 6px;
}

.tbp-icon-small {
    width: 14px;
    height: 14px;
}

.tbp-quote-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: var(--tbp-gradient);
    border-radius: var(--tbp-radius-sm);
    margin-bottom: 14px;
}

.tbp-quote-total span:first-child {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
}

.tbp-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--tbp-white);
}

.tbp-quote-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tbp-book-now-btn {
    width: 100%;
    padding: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--tbp-white);
    background: var(--tbp-success);
    border: none;
    border-radius: var(--tbp-radius-sm);
    cursor: pointer;
    transition: var(--tbp-transition);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tbp-book-now-btn:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.tbp-book-now-btn svg {
    width: 16px;
    height: 16px;
}

.tbp-quote-whatsapp {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #25D366;
    background: transparent;
    border: 2px solid #25D366;
    border-radius: var(--tbp-radius-sm);
    cursor: pointer;
    transition: var(--tbp-transition);
}

.tbp-quote-whatsapp svg {
    width: 16px;
    height: 16px;
    fill: #25D366;
}

.tbp-quote-whatsapp:hover {
    background: #25D366;
    color: var(--tbp-white);
}

.tbp-quote-whatsapp:hover svg {
    fill: var(--tbp-white);
}

/* ============================================
   MAP SECTION
   ============================================ */
.tbp-map-section {
    position: relative;
    z-index: 2;
    margin: 14px 16px 16px;
    background: var(--tbp-white);
    border-radius: var(--tbp-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 84, 136, 0.15);
}

.tbp-map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--tbp-bg);
    border-bottom: 1px solid var(--tbp-border);
}

.tbp-map-header h4 {
    font-size: 12px;
    font-weight: 700;
    color: var(--tbp-text);
    margin: 0;
}

.tbp-ai-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: var(--tbp-gradient);
    border-radius: 20px;
    font-size: 9px;
    font-weight: 600;
    color: var(--tbp-white);
}

.tbp-ai-badge svg {
    width: 10px;
    height: 10px;
}

.tbp-map-container {
    height: 180px;
    width: 100%;
}

.tbp-map-container .leaflet-container {
    height: 100%;
    width: 100%;
}

.tbp-route-info {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 10px 14px;
    background: var(--tbp-bg);
    border-top: 1px solid var(--tbp-border);
}

.tbp-route-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: var(--tbp-text);
}

.tbp-route-stat svg {
    width: 14px;
    height: 14px;
    color: var(--tbp-primary);
}

/* ============================================
   BOOKING MODAL - Above quote popup
   ============================================ */
.tbp-booking-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999999 !important;
    padding: 20px;
    box-sizing: border-box;
}

.tbp-booking-modal-content {
    background: var(--tbp-white);
    border-radius: var(--tbp-radius);
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--tbp-shadow-xl);
    animation: tbp-scaleIn 0.3s ease;
}

.tbp-booking-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    background: var(--tbp-gradient);
    border-radius: var(--tbp-radius) var(--tbp-radius) 0 0;
}

.tbp-booking-modal-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--tbp-white);
    margin: 0;
}

.tbp-booking-modal-close {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    color: var(--tbp-white);
    cursor: pointer;
}

.tbp-booking-modal-body {
    padding: 18px;
}

.tbp-booking-summary {
    padding: 12px;
    background: var(--tbp-bg);
    border-radius: var(--tbp-radius-sm);
    margin-bottom: 16px;
    border-left: 3px solid var(--tbp-primary);
}

.tbp-booking-summary-route {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 12px;
    color: var(--tbp-text);
}

.tbp-booking-summary-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 11px;
    color: var(--tbp-text-light);
}

.tbp-booking-summary-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--tbp-primary);
    margin-top: 8px;
}

.tbp-customer-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.tbp-customer-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tbp-customer-field.tbp-field-full {
    grid-column: 1 / -1;
}

.tbp-customer-field label {
    font-size: 10px;
    font-weight: 700;
    color: var(--tbp-text);
    text-transform: uppercase;
}

.tbp-customer-field input,
.tbp-customer-field textarea {
    padding: 9px 11px;
    font-size: 12px;
    color: var(--tbp-text);
    background: var(--tbp-bg);
    border: 2px solid transparent;
    border-radius: 8px;
    transition: var(--tbp-transition);
}

.tbp-customer-field input:focus,
.tbp-customer-field textarea:focus {
    outline: none;
    border-color: var(--tbp-primary);
    background: var(--tbp-white);
}

.tbp-customer-field textarea {
    resize: vertical;
    min-height: 50px;
}

.tbp-payment-options {
    padding: 14px 0;
    border-top: 1px dashed var(--tbp-border);
}

.tbp-payment-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--tbp-text);
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.tbp-payment-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.tbp-payment-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--tbp-text-light);
    background: var(--tbp-bg);
    border: 2px solid transparent;
    border-radius: var(--tbp-radius-sm);
    cursor: pointer;
}

.tbp-payment-tab svg {
    width: 16px;
    height: 16px;
}

.tbp-payment-tab:hover,
.tbp-payment-tab.active {
    border-color: var(--tbp-primary);
    color: var(--tbp-primary);
}

.tbp-payment-tab.active {
    background: var(--tbp-primary-light);
}

.tbp-payment-info {
    padding: 8px 12px;
    background: #fef3c7;
    border-radius: 8px;
    font-size: 11px;
    color: #92400e;
    text-align: center;
}

.tbp-booking-actions {
    margin-top: 14px;
}

.tbp-confirm-booking-btn {
    width: 100%;
    padding: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--tbp-white);
    background: var(--tbp-gradient);
    border: none;
    border-radius: var(--tbp-radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tbp-confirm-booking-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 84, 136, 0.35);
}

.tbp-whatsapp-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--tbp-white);
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
    border-radius: var(--tbp-radius-sm);
    cursor: pointer;
}

.tbp-whatsapp-btn svg {
    width: 18px;
    height: 18px;
}

.tbp-whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

/* ============================================
   SUCCESS MODAL - Highest priority
   ============================================ */
.tbp-success-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999999 !important;
    padding: 20px;
    box-sizing: border-box;
}

.tbp-success-modal-content {
    background: var(--tbp-white);
    border-radius: var(--tbp-radius);
    max-width: 360px;
    width: 100%;
    padding: 28px 22px;
    text-align: center;
    box-shadow: var(--tbp-shadow-xl);
    animation: tbp-scaleIn 0.3s ease;
}

.tbp-success-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 14px;
    background: #d1fae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tbp-success-icon svg {
    width: 32px;
    height: 32px;
}

.tbp-success-modal-content h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--tbp-text);
    margin: 0 0 8px 0;
}

.tbp-success-ref {
    font-size: 13px;
    color: var(--tbp-text);
    margin: 0 0 4px 0;
}

.tbp-success-ref strong {
    color: var(--tbp-primary);
}

.tbp-success-message {
    font-size: 12px;
    color: var(--tbp-text-light);
    margin: 0 0 18px 0;
    line-height: 1.5;
}

.tbp-success-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tbp-download-ticket-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--tbp-white);
    background: var(--tbp-gradient);
    border: none;
    border-radius: var(--tbp-radius-sm);
    cursor: pointer;
}

.tbp-download-ticket-btn svg {
    width: 14px;
    height: 14px;
}

.tbp-close-success-btn {
    width: 100%;
    padding: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--tbp-text-light);
    background: var(--tbp-bg);
    border: none;
    border-radius: var(--tbp-radius-sm);
    cursor: pointer;
}

/* ============================================
   RESPONSIVE - Mobile (base is mobile-first)
   ============================================ */

@media (max-width: 768px) {
    .tbp-booking-container::before { height: 110px; }
    .tbp-form-title { font-size: 18px; }
    .tbp-booking-form { margin: 0 8px; padding: 16px 14px; }
    .tbp-customer-form-grid { grid-template-columns: 1fr; }
    .tbp-quote-route { flex-direction: column; gap: 6px; }
    .tbp-quote-arrow { transform: rotate(90deg); }
    .tbp-payment-tabs { flex-direction: column; }

    /* From & To: fila completa cada uno */
    .tbp-booking-container .tbp-field-from,
    .tbp-booking-container .tbp-field-to,
    .tbp-booking-container .tbp-field-date,
    .tbp-booking-container .tbp-field-time,
    .tbp-booking-container .tbp-field-full {
        grid-column: 1 / -1 !important;
    }

    /* Adults & Children: 50% cada uno */
    .tbp-booking-container .tbp-field-half {
        grid-column: span 1 !important;
    }

    /* Vehicle cards */
    .tbp-booking-container .tbp-vehicle-card {
        min-height: 95px !important;
        padding: 12px 10px !important;
    }
    .tbp-booking-container .tbp-vehicle-card strong { font-size: 12px !important; }
    .tbp-booking-container .tbp-vehicle-card small {
        font-size: 10px !important;
        white-space: nowrap !important;
    }

    /* Toggle */
    .tbp-toggle-label { font-size: 12px !important; white-space: nowrap !important; }

    /* Flight input */
    .tbp-flight-input-wrapper { width: 100% !important; }
    .tbp-flight-input-wrapper .tbp-input { min-width: 0 !important; flex: 1 !important; }

    /* GET QUOTE button */
    .tbp-submit-btn {
        font-size: 15px !important;
        padding: 16px 28px !important;
        letter-spacing: 0.12em !important;
        border-radius: 14px !important;
        box-shadow: 0 4px 18px rgba(0, 84, 136, 0.35) !important;
    }
}

/* ============================================
   REVIEWS + EXTRAS
   ============================================ */
.tbp-reviews-container { padding: 18px 0; }
.tbp-reviews-summary { text-align: center; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--tbp-border); }
.tbp-avg-number { font-size: 36px; font-weight: 800; color: var(--tbp-text); }
.tbp-avg-stars { display: flex; justify-content: center; gap: 3px; margin: 6px 0; }
.tbp-total-reviews { font-size: 12px; color: var(--tbp-text-light); }
.tbp-reviews-list { display: flex; flex-direction: column; gap: 12px; }
.tbp-review-card { background: var(--tbp-white); border-radius: 14px; padding: 14px; border: 1px solid var(--tbp-border); }
.tbp-review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.tbp-review-stars { display: flex; gap: 2px; }
.tbp-star { width: 14px; height: 14px; fill: #e2e8f0; }
.tbp-star.filled { fill: #f59e0b; }
.tbp-review-date { font-size: 10px; color: var(--tbp-text-light); }
.tbp-review-comment p { font-size: 13px; color: var(--tbp-text); line-height: 1.5; margin: 0 0 8px 0; }
.tbp-review-footer { padding-top: 8px; border-top: 1px solid var(--tbp-border); }
.tbp-review-author { font-weight: 600; color: var(--tbp-text); font-size: 12px; }
.tbp-review-route { font-size: 11px; color: var(--tbp-text-light); }
.tbp-no-reviews { text-align: center; padding: 24px; color: var(--tbp-text-light); font-style: italic; }
#tbp-paypal-button-container { margin-bottom: 8px; }
.tbp-quick-whatsapp { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; padding: 10px; font-size: 12px; font-weight: 600; color: #25D366; background: transparent; border: 2px solid #25D366; border-radius: var(--tbp-radius-sm); cursor: pointer; width: 100%; }
.tbp-quick-whatsapp svg { width: 16px; height: 16px; fill: #25D366; }
.tbp-quick-whatsapp:hover { background: #25D366; color: var(--tbp-white); }
.tbp-quick-whatsapp:hover svg { fill: var(--tbp-white); }

/* === DATE & TIME INPUTS === */
.tbp-date-input,
.tbp-time-input {
    width: 100%;
    padding: 11px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--tbp-text);
    background: var(--tbp-bg);
    border: 2px solid transparent;
    border-radius: var(--tbp-radius-sm);
    transition: var(--tbp-transition);
    height: 42px;
    box-sizing: border-box;
    cursor: pointer;
}

.tbp-date-input:focus,
.tbp-time-input:focus {
    outline: none;
    border-color: var(--tbp-primary);
    background-color: var(--tbp-white);
    box-shadow: 0 0 0 3px rgba(0, 84, 136, 0.1);
}

/* Make date/time inputs match overall style */
.tbp-date-input::-webkit-calendar-picker-indicator,
.tbp-time-input::-webkit-calendar-picker-indicator {
    opacity: 0.5;
    cursor: pointer;
}

/* === POSICIONAMIENTO DEL GRID — desktop usando clases semánticas === */
@media (min-width: 769px) {
    .tbp-booking-container .tbp-field-from  { grid-column: 1 / 4 !important; grid-row: 1 !important; }
    .tbp-booking-container .tbp-field-to    { grid-column: 4 / 7 !important; grid-row: 1 !important; }
    .tbp-booking-container .tbp-field-half:nth-of-type(1),
    .tbp-booking-container .tbp-form-grid > .tbp-field-half:nth-child(3) { grid-column: 1 / 3 !important; grid-row: 2 !important; }
    .tbp-booking-container .tbp-field-half:nth-of-type(2),
    .tbp-booking-container .tbp-form-grid > .tbp-field-half:nth-child(4) { grid-column: 3 / 5 !important; grid-row: 2 !important; }
    .tbp-booking-container .tbp-field-date  { grid-column: 1 / 4 !important; grid-row: 3 !important; }
    .tbp-booking-container .tbp-field-time  { grid-column: 4 / 7 !important; grid-row: 3 !important; }
    .tbp-booking-container .tbp-field-full  { grid-column: 1 / -1 !important; }
}

/* Precio a negociar */
.tbp-price-negotiable {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: 0.5px;
}
.tbp-booking-summary-price .tbp-price-negotiable {
    font-size: 16px !important;
    color: #16a34a !important;
    background: #f0fdf4;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px dashed #86efac;
}

/* === SELECTOR DE VEHÍCULOS === */
.tbp-booking-container .tbp-vehicle-selector {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
    margin-top: 6px;
    width: 100%;
    box-sizing: border-box;
}
@media (min-width: 769px) {
    .tbp-booking-container .tbp-vehicle-selector {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px;
    }
}

.tbp-booking-container .tbp-vehicle-option {
    display: block !important;
    cursor: pointer;
}
.tbp-booking-container .tbp-vehicle-option input[type="radio"] {
    display: none !important;
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.tbp-booking-container .tbp-vehicle-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center;
    gap: 4px;
    padding: 12px 8px 10px;
    border: 2px solid var(--tbp-border);
    border-radius: 12px;
    cursor: pointer;
    background: #ffffff !important;
    transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    min-height: 90px;
}
.tbp-booking-container .tbp-vehicle-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--tbp-gradient);
    opacity: 0;
    transition: opacity .25s;
}
.tbp-booking-container .tbp-vehicle-emoji {
    font-size: 26px !important;
    line-height: 1;
    display: block !important;
    position: relative;
    z-index: 1;
    transition: transform .25s;
    margin-bottom: 2px;
}
.tbp-booking-container .tbp-vehicle-card strong {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--tbp-text) !important;
    display: block !important;
    position: relative;
    z-index: 1;
    transition: color .25s;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
}
.tbp-booking-container .tbp-vehicle-card small {
    font-size: 9px !important;
    color: var(--tbp-text-muted) !important;
    display: block !important;
    position: relative;
    z-index: 1;
    transition: color .25s;
    line-height: 1.2;
}
.tbp-booking-container .tbp-vehicle-option input[type="radio"]:checked + .tbp-vehicle-card {
    border-color: var(--tbp-primary) !important;
    background: var(--tbp-primary-light) !important;
    box-shadow: 0 0 0 3px rgba(0,84,136,.15);
}
.tbp-booking-container .tbp-vehicle-option input[type="radio"]:checked + .tbp-vehicle-card .tbp-vehicle-emoji {
    transform: scale(1.15);
}
.tbp-booking-container .tbp-vehicle-option input[type="radio"]:checked + .tbp-vehicle-card strong {
    color: var(--tbp-primary) !important;
}
.tbp-booking-container .tbp-vehicle-card:hover {
    border-color: var(--tbp-primary) !important;
    background: var(--tbp-primary-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 84, 136, 0.12);
}
.tbp-booking-container .tbp-vehicle-card:hover .tbp-vehicle-emoji { transform: scale(1.1); }