/**
 * ============================================================================
 * FIND YOUR PERFECT TRIP - EXCLUSIVE FORM DESIGN SYSTEM
 * Dedicated CSS for the main homepage booking search wizard form.
 * Scoped EXCLUSIVELY under .perfect-trip-booking-card to guarantee ZERO side effects.
 * ============================================================================
 */

/* Main Form Card Container */
.perfect-trip-booking-card.booking-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 36px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 4px 15px rgba(207, 22, 17, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 45px;
}

/* Subtle Glowing Header Accent Bar */
.perfect-trip-booking-card.booking-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #cf1611 0%, #ff4d4d 50%, #cf1611 100%);
    border-radius: 20px 20px 0 0;
}

/* Header Title & Subtitle Styling */
.perfect-trip-booking-card .booking-box-header {
    margin-bottom: 28px;
    text-align: center;
    position: relative;
}

.perfect-trip-booking-card .header-title-wrap h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin: 0 0 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.perfect-trip-booking-card .header-title-wrap h2 i {
    color: #cf1611;
    font-size: 26px;
    background: rgba(207, 22, 17, 0.08);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.perfect-trip-booking-card:hover .header-title-wrap h2 i {
    transform: rotate(-8deg) scale(1.05);
}

.perfect-trip-booking-card .header-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    font-weight: 400;
}

/* 4-Step Navigation Wizard Pills */
.perfect-trip-booking-card .booking-step-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 6px;
    margin-bottom: 32px;
    gap: 8px;
}

.perfect-trip-booking-card .step-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    user-select: none;
}

.perfect-trip-booking-card .step-item .step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #cbd5e1;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.perfect-trip-booking-card .step-item:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.6);
}

/* Active Step Styling */
.perfect-trip-booking-card .step-item.active {
    background: linear-gradient(135deg, #cf1611 0%, #b0100c 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(207, 22, 17, 0.3);
}

.perfect-trip-booking-card .step-item.active .step-num {
    background: #ffffff;
    color: #cf1611;
}

/* Completed Step Styling */
.perfect-trip-booking-card .step-item.completed {
    color: #059669;
}

.perfect-trip-booking-card .step-item.completed .step-num {
    background: #10b981;
    color: #ffffff;
}

/* Form Panel Body & Inner Container Padding */
.perfect-trip-booking-card .trip-form,
.perfect-trip-booking-card .trip-form-con,
.perfect-trip-booking-card .booking-wizard-body {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 28px 30px;
    box-sizing: border-box !important;
    margin-bottom: 24px;
}

.perfect-trip-booking-card .booking-step-panel {
    animation: perfectTripFadeIn 0.35s ease;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
}

.perfect-trip-booking-card .booking-step-panel > .row {
    margin-left: -10px !important;
    margin-right: -10px !important;
}

.perfect-trip-booking-card .booking-step-panel > .row > [class*="col-"] {
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box !important;
}

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

.perfect-trip-booking-card label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.perfect-trip-booking-card input[type="text"],
.perfect-trip-booking-card input[type="date"],
.perfect-trip-booking-card input[type="time"],
.perfect-trip-booking-card select,
.perfect-trip-booking-card textarea,
.perfect-trip-booking-card .form-control,
.perfect-trip-booking-card .location,
.perfect-trip-booking-card .dte {
    width: 100% !important;
    max-width: 100% !important;
    height: 48px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    box-sizing: border-box !important;
    transition: all 0.25s ease;
    box-shadow: none !important;
    display: block;
}

.perfect-trip-booking-card textarea {
    height: auto !important;
    min-height: 90px;
    padding-top: 12px;
}

.perfect-trip-booking-card input[type="text"]:focus,
.perfect-trip-booking-card select:focus,
.perfect-trip-booking-card textarea:focus,
.perfect-trip-booking-card .form-control:focus {
    background: #ffffff;
    border-color: #cf1611 !important;
    box-shadow: 0 0 0 4px rgba(207, 22, 17, 0.12) !important;
    outline: none !important;
}

/* Field Spacing */
.perfect-trip-booking-card .bmc-fields,
.perfect-trip-booking-card .booking-step-panel [class*="col-"] {
    margin-bottom: 20px;
}

/* Prominent Highlighted Location Input Fields (Pickup & Drop-off) */
.perfect-trip-booking-card #local_pick,
.perfect-trip-booking-card #local_drop,
.perfect-trip-booking-card #airport_pick,
.perfect-trip-booking-card #airport_drop {
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23cf1611' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 14px center !important;
    padding-left: 44px !important;
    border: 2px solid #cbd5e1 !important;
    border-radius: 12px !important;
    height: 50px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04) !important;
    margin-bottom: 14px !important;
    transition: all 0.25s ease !important;
}

.perfect-trip-booking-card #local_pick:focus,
.perfect-trip-booking-card #local_drop:focus,
.perfect-trip-booking-card #airport_pick:focus,
.perfect-trip-booking-card #airport_drop:focus {
    border-color: #cf1611 !important;
    box-shadow: 0 0 0 4px rgba(207, 22, 17, 0.15) !important;
    background-color: #ffffff !important;
}

/* Location Type Toggle Links (Airport vs Local - Distinct Separation Gap) */
.perfect-trip-booking-card .location-type-toggle {
    clear: both !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 18px !important;
    margin-bottom: 10px !important;
    padding-top: 4px !important;
    width: 100% !important;
    float: none !important;
}

.perfect-trip-booking-card .location-type-toggle .ilike {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    background: #ffffff !important;
    padding: 4px 12px 4px 5px !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
    float: none !important;
    line-height: 1.2 !important;
    height: auto !important;
}

.perfect-trip-booking-card .location-type-toggle .ilike .air-car {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    border-radius: 50% !important;
    background: rgba(207, 22, 17, 0.1) !important;
    color: #cf1611 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    flex-shrink: 0 !important;
    transition: all 0.25s ease !important;
    float: none !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.perfect-trip-booking-card .location-type-toggle .ilike:hover {
    background: #cf1611 !important;
    color: #ffffff !important;
    border-color: #cf1611 !important;
}

.perfect-trip-booking-card .location-type-toggle .ilike:hover .air-car {
    background: #ffffff !important;
    color: #cf1611 !important;
}

/* Step 3: Stops Panel Container */
.perfect-trip-booking-card .txn-stops-panel {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-left: 4px solid #cf1611;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 24px;
}

.perfect-trip-booking-card .txn-stops-head strong {
    display: block;
    font-size: 15px;
    color: #0f172a;
    margin-bottom: 4px;
}

.perfect-trip-booking-card .txn-stops-note {
    font-size: 13px;
    color: #64748b;
    display: block;
    margin-bottom: 16px;
}

.perfect-trip-booking-card .txn-stop-row {
    margin-bottom: 16px;
}

.perfect-trip-booking-card .txn-stop-wait {
    margin-top: 6px;
    height: 40px !important;
    font-size: 13px;
}

/* Action Buttons (Back & Next) */
.perfect-trip-booking-card .booking-step-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 10px;
    padding-top: 22px;
    border-top: 1px solid #f1f5f9;
}

.perfect-trip-booking-card .booking-step-btn {
    height: 46px;
    padding: 0 28px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none !important;
}

.perfect-trip-booking-card #booking_next {
    background: linear-gradient(135deg, #cf1611 0%, #b0100c 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 14px rgba(207, 22, 17, 0.3) !important;
}

.perfect-trip-booking-card #booking_next:hover {
    background: linear-gradient(135deg, #e61914 0%, #cf1611 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(207, 22, 17, 0.4) !important;
}

.perfect-trip-booking-card #booking_prev,
.perfect-trip-booking-card #booking_step4_back {
    background: #ffffff;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.perfect-trip-booking-card #booking_prev:hover,
.perfect-trip-booking-card #booking_step4_back:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

/* Step 4: Vehicles, Passengers & Summary Section */
.perfect-trip-booking-card .step4-trip-summary {
    background: #0f172a;
    color: #ffffff;
    border-radius: 14px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
}

.perfect-trip-booking-card .step4-summary-item {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.perfect-trip-booking-card .step4-summary-item i {
    color: #ef4444;
}

.perfect-trip-booking-card .step4-summary-arrow i {
    color: #94a3b8;
    font-size: 16px;
}

.perfect-trip-booking-card .step4-summary-meta {
    font-size: 13px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.perfect-trip-booking-card .step4-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 24px;
}

.perfect-trip-booking-card .step4-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.perfect-trip-booking-card .step4-badge {
    background: rgba(207, 22, 17, 0.1);
    color: #cf1611;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.perfect-trip-booking-card .step4-hint {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 18px;
}

/* Passenger & Luggage Counter Box */
.perfect-trip-booking-card .guest-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.perfect-trip-booking-card .guest-row:last-child {
    border-bottom: none;
}

.perfect-trip-booking-card .guest-label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
}

.perfect-trip-booking-card .guest-label i {
    color: #cf1611;
}

.perfect-trip-booking-card .guest-counter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.perfect-trip-booking-card .guest-counter .count-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.perfect-trip-booking-card .guest-counter .count-btn:hover {
    background: #cf1611;
    color: #ffffff;
    border-color: #cf1611;
}

.perfect-trip-booking-card .guest-counter input {
    width: 36px !important;
    height: 32px !important;
    text-align: center;
    border: none !important;
    background: transparent !important;
    font-weight: 700;
    font-size: 15px;
    color: #0f172a;
    padding: 0 !important;
}

/* Map Canvas Container */
.perfect-trip-booking-card .step4-map-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    position: relative;
}

.perfect-trip-booking-card #map_canvas {
    height: 220px;
    width: 100%;
}

.perfect-trip-booking-card #map_distance_info {
    background: rgba(15, 23, 42, 0.9);
    color: #ffffff;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

/* Medium & Elegant Vehicle Cards in Step 4 */
.perfect-trip-booking-card .car-sel-bx,
.perfect-trip-booking-card .txn-vehicle-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.perfect-trip-booking-card .car-sel-bx:hover {
    border-color: #cf1611;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(207, 22, 17, 0.12);
}

.perfect-trip-booking-card .car-sel-bx.active-vehicle {
    border-color: #cf1611 !important;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%) !important;
    box-shadow: 0 6px 20px rgba(207, 22, 17, 0.18) !important;
}

.perfect-trip-booking-card .vehicle-image-wrapper {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.perfect-trip-booking-card .bmc-vehicle {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.perfect-trip-booking-card .car-sel-bx:hover .bmc-vehicle {
    transform: scale(1.06);
}

.perfect-trip-booking-card .car-sel-bx h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 8px 0 4px;
}

.perfect-trip-booking-card .peoples {
    list-style: none;
    padding: 0;
    margin: 6px 0 10px;
}

.perfect-trip-booking-card .people-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

.perfect-trip-booking-card .people-icon i {
    color: #cf1611;
}

/* Medium & Nice Car Price Tag / Label */
.perfect-trip-booking-card .select-radio {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
}

.perfect-trip-booking-card .carse-label {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #059669 !important;
    background: rgba(16, 185, 129, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.perfect-trip-booking-card .car-sel-bx.active-vehicle .carse-label {
    background: #059669 !important;
    color: #ffffff !important;
    border-color: #059669 !important;
    box-shadow: 0 3px 10px rgba(5, 150, 105, 0.3);
}

/* Final Book Bar & Submit Button */
.perfect-trip-booking-card .step4-book-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.perfect-trip-booking-card .step4-price-book {
    display: flex;
    align-items: center;
    gap: 16px;
}

.perfect-trip-booking-card .step4-price-display {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #059669;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 8px 16px !important;
    border-radius: 10px !important;
    height: auto !important;
}

.perfect-trip-booking-card .step4-book-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 10px 28px !important;
    border-radius: 12px !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35) !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
}

.perfect-trip-booking-card .step4-book-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(16, 185, 129, 0.45) !important;
}

.perfect-trip-booking-card .step4-book-note {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    font-style: italic;
}

/* Mobile & Tablet Responsiveness for .perfect-trip-booking-card */
@media (max-width: 768px) {
    .perfect-trip-booking-card.booking-box {
        padding: 20px 18px;
        border-radius: 16px;
    }

    .perfect-trip-booking-card .booking-step-nav {
        flex-wrap: wrap;
        border-radius: 16px;
        padding: 8px;
    }

    .perfect-trip-booking-card .step-item {
        flex: 1 1 45%;
        padding: 8px 10px;
        font-size: 12px;
    }

    .perfect-trip-booking-card .header-title-wrap h2 {
        font-size: 22px;
    }

    .perfect-trip-booking-card .booking-step-actions {
        flex-direction: column;
        gap: 10px;
    }

    .perfect-trip-booking-card .booking-step-btn {
        width: 100%;
    }
}

/* ============================================================================
 * TRIP STATUS BADGES & HIGH-CONTRAST TYPOGRAPHY
 * Distinct status styling for pending, confirm, accept, completed, and canceled.
 * High-contrast sharp black text for booking info.
 * ============================================================================ */

/* Status Badges */
.status-badge, .booking-status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Status Colors */
.status-badge.status-pending, .badge-status-pending {
    background-color: #fef3c7 !important;
    color: #b45309 !important;
    border: 1px solid #fde68a !important;
}

.status-badge.status-confirm, .status-badge.status-confirmed, .badge-status-confirm, .badge-status-confirmed {
    background-color: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #bae6fd !important;
}

.status-badge.status-accept, .status-badge.status-accepted, .badge-status-accept, .badge-status-accepted {
    background-color: #ccfbf1 !important;
    color: #0f766e !important;
    border: 1px solid #99f6e4 !important;
}

.status-badge.status-completed, .badge-status-completed {
    background-color: #d1fae5 !important;
    color: #065f46 !important;
    border: 1px solid #a7f3d0 !important;
}

.status-badge.status-canceled, .status-badge.status-cancelled, .badge-status-canceled, .badge-status-cancelled {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
    border: 1px solid #fca5a5 !important;
}

/* Completed & Canceled Action Button Styles */
.btn-status-completed {
    background-color: #dc2626 !important;
    color: #ffffff !important;
    border-color: #b91c1c !important;
    font-weight: 700 !important;
}

.btn-status-canceled {
    background-color: #dc2626 !important;
    color: #ffffff !important;
    border-color: #b91c1c !important;
    font-weight: 700 !important;
}

/* Sharp High-Contrast Black Typography for Trip Details */
.trip-detail-text, .trip-info-text, .booking-ref-text, .trip-route-text,
.bmc-booking-details, .table-bookings td, .booking-card-body {
    color: #000000 !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

.booking-ref-code {
    font-weight: 800 !important;
    color: #000000 !important;
    letter-spacing: 1px !important;
}
