/**
 * Disney CDG Transfer Booking Engine Styles
 */

/* Container & Header */
.disneycdg-booking-wrap {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1E293B;
    box-sizing: border-box;
}
.disneycdg-booking-wrap *,
.disneycdg-booking-wrap *::before,
.disneycdg-booking-wrap *::after {
    box-sizing: border-box;
}

/* Confirmation Banner */
.booking-confirmation-banner {
    background: #ECFDF5;
    border: 2px solid #10B981;
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.12);
}
.booking-confirmation-banner .confirmation-icon {
    font-size: 38px;
    color: #059669;
    flex-shrink: 0;
}
.booking-confirmation-banner h3 {
    margin: 0 0 6px 0;
    color: #065F46;
    font-size: 20px;
    font-weight: 800;
}
.booking-confirmation-banner p {
    margin: 0;
    color: #047857;
    font-size: 14px;
    line-height: 1.5;
}

/* Multi-Step Progress Bar */
.modern-booking-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 16px 24px;
    margin-bottom: 28px;
}
.booking-step {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}
.booking-step:hover:not(.active) .step-badge {
    background: #CBD5E1;
    color: #1E293B;
}
.booking-step .step-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #E2E8F0;
    color: #64748B;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}
.booking-step.active .step-badge {
    background: linear-gradient(135deg, #0A58CA, #043883);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(10, 88, 202, 0.35);
}
.booking-step.completed .step-badge {
    background: #10B981;
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
}
.booking-step.completed .step-title {
    color: #065F46;
}
.booking-step .step-text {
    display: flex;
    flex-direction: column;
}
.booking-step .step-title {
    font-size: 13px;
    font-weight: 700;
    color: #0B3064;
    transition: color 0.2s ease;
}
.booking-step .step-sub {
    font-size: 11px;
    color: #64748B;
}
.step-connector {
    flex: 1;
    height: 2px;
    background: #E2E8F0;
    margin: 0 16px;
    transition: all 0.3s ease;
}
.step-connector.completed,
.step-connector.active {
    background: #0A58CA;
}

/* Modern Form Sections */
.modern-form-section {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 22px 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}
.section-badge-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 800;
    color: #0B3064;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F1F5F9;
}
.section-badge-title i {
    font-size: 18px;
    color: #0A58CA;
}
.free-pill-tag {
    margin-left: auto;
    background: #DEF7EC;
    color: #03543F;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* Grids & Controls */
.modern-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
.modern-grid-2 .modern-form-group {
    margin-bottom: 0;
}
.modern-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
.modern-grid-3 .modern-form-group {
    margin-bottom: 0;
}
.modern-form-group {
    margin-bottom: 20px;
}
.modern-form-group:last-child {
    margin-bottom: 0;
}
.modern-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.modern-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin: 0 0 8px 0 !important;
}
.btn-toggle-custom {
    background: none;
    border: none;
    color: #0A58CA;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}
.btn-toggle-custom:hover {
    background: #EBF3FF;
    color: #043883;
}
.dynamic-custom-box {
    animation: fadeInSlide 0.25s ease-out;
}
@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
.modern-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.modern-input-wrap .field-icon {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 16px !important;
    color: #0A58CA !important;
    pointer-events: none !important;
    z-index: 5 !important;
    width: 20px !important;
    text-align: center !important;
    line-height: 1 !important;
    margin: 0 !important;
}
.disneycdg-booking-wrap .modern-input-wrap input,
.disneycdg-booking-wrap .modern-input-wrap select,
.disneycdg-booking-wrap input[type="text"],
.disneycdg-booking-wrap input[type="email"],
.disneycdg-booking-wrap input[type="tel"],
.disneycdg-booking-wrap input[type="date"],
.disneycdg-booking-wrap input[type="time"],
.disneycdg-booking-wrap input[type="number"],
.disneycdg-booking-wrap select,
.booking-engine-wrap input,
.booking-engine-wrap select,
.booking-engine-container .modern-input-wrap input,
.booking-engine-container .modern-input-wrap select,
.booking-engine-container input[type="text"],
.booking-engine-container input[type="email"],
.booking-engine-container input[type="tel"],
.booking-engine-container input[type="date"],
.booking-engine-container input[type="time"],
.booking-engine-container select,
.modern-input-wrap input,
.modern-input-wrap select,
.modern-control {
    width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    background: #F8FAFC !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 10px !important;
    padding-top: 13px !important;
    padding-bottom: 13px !important;
    padding-right: 16px !important;
    padding-left: 54px !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1E293B !important;
    line-height: 22px !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.disneycdg-booking-wrap select,
.booking-engine-container select,
.modern-input-wrap select,
select.modern-control {
    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='%230A58CA' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 16px 16px !important;
    padding-right: 42px !important;
}
.disneycdg-booking-wrap select option,
.booking-engine-container select option,
select.modern-control option {
    background: #FFFFFF !important;
    color: #1E293B !important;
    font-size: 14px !important;
    padding: 8px 12px !important;
}
.disneycdg-booking-wrap input[type="date"]::-webkit-calendar-picker-indicator,
.disneycdg-booking-wrap input[type="time"]::-webkit-calendar-picker-indicator,
input[type="date"].modern-control::-webkit-calendar-picker-indicator,
input[type="time"].modern-control::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.7;
    margin-right: 4px;
}
.disneycdg-booking-wrap .modern-input-wrap input:focus,
.disneycdg-booking-wrap .modern-input-wrap select:focus,
.disneycdg-booking-wrap input[type="text"]:focus,
.disneycdg-booking-wrap input[type="email"]:focus,
.disneycdg-booking-wrap input[type="tel"]:focus,
.disneycdg-booking-wrap input[type="date"]:focus,
.disneycdg-booking-wrap input[type="time"]:focus,
.disneycdg-booking-wrap select:focus,
.modern-input-wrap input:focus,
.modern-input-wrap select:focus,
.modern-control:focus {
    border-color: #0A58CA !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(10, 88, 202, 0.14) !important;
}

/* Vehicle Cards */
.modern-vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}
.modern-vehicle-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #FFFFFF;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    padding: 18px 16px;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
}
.modern-vehicle-card:hover {
    transform: translateY(-2px);
    border-color: #93C5FD;
    box-shadow: 0 6px 16px rgba(10, 88, 202, 0.08);
}
.modern-vehicle-card.selected {
    border-color: #0A58CA;
    background: #F0F7FF;
    box-shadow: 0 6px 18px rgba(10, 88, 202, 0.12);
}
.vehicle-radio-hidden {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.card-radio-indicator {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-size: 10px;
    transition: all 0.2s ease;
}
.modern-vehicle-card.selected .card-radio-indicator {
    background: #0A58CA;
    border-color: #0A58CA;
    color: #FFFFFF;
}
.vehicle-card-thumb-wrap {
    width: 100%;
    height: 110px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: #F8FAFC;
}
.vehicle-card-thumb {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.modern-vehicle-card:hover .vehicle-card-thumb {
    transform: scale(1.05);
}
.vehicle-name {
    font-size: 15px;
    font-weight: 800;
    color: #0B3064;
    margin-bottom: 4px;
}
.vehicle-spec-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    background: #F1F5F9;
    padding: 2px 8px;
    border-radius: 6px;
    margin-bottom: 10px;
}
.modern-vehicle-card.selected .vehicle-spec-pill {
    background: #DBEAFE;
    color: #1D4ED8;
}
.vehicle-features-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: #64748B;
    margin-bottom: 14px;
}
.vehicle-features-list i {
    color: #10B981;
    margin-right: 4px;
    font-size: 12px;
}
.vehicle-card-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 10px;
}
.vehicle-price {
    font-size: 24px;
    font-weight: 800;
    color: #0B3064;
}
.modern-vehicle-card.selected .vehicle-price {
    color: #0A58CA;
}
.vehicle-price-sub {
    font-size: 11px;
    font-weight: 700;
    color: #059669;
}

/* Summary & Order CTA */
.modern-summary-section {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 20px 22px;
    margin-top: 24px;
}
.summary-payment-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 16px;
}
.summary-payment-info .payment-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    color: #0B3064;
}
.summary-payment-info .payment-sub {
    font-size: 12px;
    color: #64748B;
    display: block;
    margin-top: 2px;
}
.summary-price-display {
    text-align: right;
}
.summary-price-display .price-title {
    font-size: 11px;
    color: #64748B;
    display: block;
}
.summary-price-display .price-amount {
    font-size: 28px;
    font-weight: 800;
    color: #0B3064;
}
.btn-modern-submit {
    width: 100%;
    height: 54px;
    background: linear-gradient(135deg, #F5A623, #D97706);
    color: #1E1B4B;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(245, 166, 35, 0.4);
}
.btn-modern-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.55);
    background: linear-gradient(135deg, #FBBF24, #D97706);
}
.booking-guarantees-footer {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 14px;
    font-size: 12px;
    color: #64748B;
}
.booking-guarantees-footer i {
    color: #10B981;
}

/* Dynamic Extra Services & Add-ons */
.modern-addons-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.modern-addon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    padding: 14px 18px;
    transition: all 0.2s ease;
}
.modern-addon-item:hover {
    background: #FFFFFF;
    border-color: #CBD5E1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.addon-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.addon-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #EFF6FF;
    color: #0A58CA;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.addon-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.addon-title {
    font-size: 14px;
    font-weight: 700;
    color: #1E293B;
}
.addon-price-tag {
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 10px;
}
.addon-price-tag.free {
    background: #D1FAE5;
    color: #047857;
}
.addon-price-tag.paid {
    background: #FEF3C7;
    color: #B45309;
}
.addon-desc {
    font-size: 12px;
    color: #64748B;
    margin-top: 2px;
}
.modern-addon-qty-select {
    height: 38px;
    min-width: 90px;
    background: #FFFFFF;
    border: 1.5px solid #CBD5E1;
    border-radius: 8px;
    padding: 0 10px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #1E293B;
    outline: none;
    cursor: pointer;
}
.modern-addon-qty-select:focus {
    border-color: #0A58CA;
}
/* Toggle Switch */
.modern-addon-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    margin: 0;
}
.modern-addon-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.addon-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #CBD5E1;
    transition: .3s;
    border-radius: 26px;
}
.addon-switch-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.modern-addon-switch input:checked + .addon-switch-slider {
    background-color: #0A58CA;
}
.modern-addon-switch input:checked + .addon-switch-slider:before {
    transform: translateX(22px);
}

/* Wizard Panes & Transitions */
.wizard-step-pane {
    display: none;
}
.wizard-step-pane.active-pane {
    display: block;
    animation: wizardFadeSlide 0.35s ease-out forwards;
}
@keyframes wizardFadeSlide {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Wizard Route Recap Card */
.wizard-route-recap {
    background: linear-gradient(135deg, #F0F7FF 0%, #E0F2FE 100%);
    border: 1.5px solid #BAE6FD;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.08);
}
.recap-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.recap-route {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    color: #034470;
    flex-wrap: wrap;
}
.recap-icon {
    color: #0284C7;
    font-size: 16px;
}
.recap-arrow {
    color: #0284C7;
    font-size: 12px;
}
.recap-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    font-weight: 600;
    color: #0369A1;
    flex-wrap: wrap;
}
.recap-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.btn-recap-edit {
    background: #FFFFFF;
    border: 1.5px solid #7DD3FC;
    color: #0284C7;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.btn-recap-edit:hover {
    background: #0284C7;
    color: #FFFFFF;
    border-color: #0284C7;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(2, 132, 199, 0.25);
}

/* Wizard Navigation Rows */
.wizard-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #E2E8F0;
}
.wizard-trust-snippet {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}
.btn-wizard-nav {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 14px 28px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    border: none !important;
    text-decoration: none !important;
    outline: none !important;
    box-sizing: border-box !important;
}
.btn-wizard-prev {
    background: #F1F5F9 !important;
    color: #475569 !important;
    border: 1.5px solid #CBD5E1 !important;
}
.btn-wizard-prev:hover {
    background: #E2E8F0 !important;
    color: #0F172A !important;
    border-color: #94A3B8 !important;
}
.btn-wizard-next {
    background: linear-gradient(135deg, #0A58CA 0%, #043883 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(10, 88, 202, 0.3) !important;
    margin-left: auto !important;
}
.btn-wizard-next:hover {
    background: linear-gradient(135deg, #0B63E5 0%, #0645A0 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(10, 88, 202, 0.4) !important;
}
.btn-wizard-next:active,
.btn-wizard-prev:active {
    transform: translateY(0) !important;
}

/* Responsive */
@media (max-width: 991px) {
    .modern-vehicle-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 767px) {
    .modern-grid-2,
    .modern-grid-3 {
        grid-template-columns: 1fr;
    }
    .modern-booking-steps {
        padding: 12px 14px;
        gap: 6px;
    }
    .booking-step {
        gap: 6px;
    }
    .booking-step .step-badge {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    .booking-step .step-title {
        font-size: 11px;
    }
    .booking-step .step-sub {
        display: none;
    }
    .step-connector {
        margin: 0 4px;
    }
    .wizard-nav-row {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 12px;
    }
    .btn-wizard-nav {
        width: 100%;
        margin-left: 0 !important;
        padding: 13px 20px;
    }
    .wizard-trust-snippet {
        text-align: center;
        justify-content: center;
        font-size: 11px;
    }
    .wizard-route-recap {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .btn-recap-edit {
        align-self: flex-start;
    }
    .summary-payment-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .summary-price-display {
        text-align: left;
    }
}
