/* ===== CSS ISOLATION ===== */
#wptb-plugin-container.wptb-iso {
    all: initial;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: #333;
    line-height: 1.5;
    box-sizing: border-box;
    display: block;
    width: 100%;
}

#wptb-plugin-container.wptb-iso * {
    box-sizing: border-box;
}

/* ===== VARIABLES ===== */
/* ===== VARIABLES ===== */
#wptb-plugin-container.wptb-iso {
    /* LUXURY THEME TOKENS */
    --luxury-gold: #004b68;
    /* Primary Accent (Blue) */
    --luxury-gold-hover: #005575;
    /* Generated shade for hover */
    --luxury-dark: #003A52;
    /* Main Dark Blue */
    --luxury-card-bg: #003A52;
    --luxury-text: #ffffff;
    --luxury-input-bg: #002938;
    /* using black for inputs for contrast */
    --luxury-input-border: #ffffff;

    /* Base mappings */
    --wptb-primary: var(--luxury-gold) !important;
    --wptb-primary-hover: var(--luxury-gold-hover);
    --wptb-dark: var(--luxury-dark);
    --wptb-light: var(--luxury-card-bg);
    /* Dark mode cards */
    --wptb-grey: var(--luxury-input-bg);
    --wptb-border: var(--luxury-input-border);
    --wptb-radius: 12px;
    --wptb-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /* Darker shadow for black theme */
    --wptb-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    color: var(--luxury-text);
}

/* Global Text Override for Dark Mode */
#wptb-plugin-container.wptb-iso {
    color: var(--luxury-text);
}

/* Inputs Text Color Override */
#wptb-plugin-container input,
#wptb-plugin-container textarea,
#wptb-plugin-container select {
    color: #fff !important;
}

/* Fix for Calendar Icon Color to be Orange (#004B68) */
#wptb-plugin-container input[type="date"]::-webkit-calendar-picker-indicator,
#wptb-plugin-container input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(19%) sepia(88%) saturate(1472%) hue-rotate(180deg) brightness(97%) contrast(106%);
    /* Approximate filter for #004B68 */
    cursor: pointer;
}

/* ===== MAIN CONTAINER ===== */
#wptb-plugin-container .booking-form,
#wptb-plugin-container .booking-vehicle-selection,
#wptb-plugin-container .booking-details {
    background: var(--wptb-light);
    border-radius: var(--wptb-radius);
    box-shadow: var(--wptb-shadow);
    padding: 30px;
    margin: 20px auto;
    max-width: 1100px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {

    #wptb-plugin-container .booking-form,
    #wptb-plugin-container .booking-vehicle-selection,
    #wptb-plugin-container .booking-details {
        padding: 20px;
        margin: 10px;
    }
}

/* ===== STICKY SUMMARY LAYOUT ===== */
.booking-layout-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.summary-sidebar {
    flex: 0 0 320px;
    position: sticky;
    top: 20px;
}

.sticky-summary {
    background: rgba(0, 63, 89, 0.95) !important;
    padding: 20px !important;
    border-radius: 12px !important;
    border: 2px solid rgba(0, 75, 104, 0.5) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.sticky-summary p {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.6;
}

.form-content {
    flex: 1;
    min-width: 0;
}

@media (max-width: 968px) {
    .booking-layout-wrapper {
        flex-direction: column;
    }

    .summary-sidebar {
        position: relative;
        top: 0;
        flex: none;
        width: 100%;
    }

    .sticky-summary {
        margin-bottom: 20px;
    }
}

/* ===== STEP 1: SEARCH FORM ===== */
#wptb-plugin-container #wptb-search-form {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    align-items: flex-end !important;
    width: 100% !important;
}

#wptb-plugin-container .floating-label {
    flex: 1 !important;
    min-width: 150px !important;
    position: relative !important;
}

/* ===== INPUT STYLING ===== */
#wptb-plugin-container input[type="text"],
#wptb-plugin-container input[type="date"],
#wptb-plugin-container input[type="time"],
#wptb-plugin-container input[type="email"],
#wptb-plugin-container input[type="tel"],
#wptb-plugin-container input[type="number"],
#wptb-plugin-container textarea {
    width: 100% !important;
    padding: 15px 15px 5px !important;
    border: 1px solid var(--wptb-border) !important;
    border-radius: var(--wptb-radius) !important;
    background: var(--wptb-grey) !important;
    font-size: 14px !important;
    font-family: inherit;
    transition: var(--wptb-transition);
    height: 55px !important;
    color: #fff !important;
    margin: 0 !important;
}

#wptb-plugin-container textarea {
    height: 100px !important;
    padding: 15px !important;
    resize: vertical;
}

#wptb-plugin-container input:focus,
#wptb-plugin-container textarea:focus {
    background: #fff;
    border-color: var(--wptb-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

/* ===== LABELS ===== */
#wptb-plugin-container .floating-label label {
    position: absolute;
    top: 5px;
    left: 15px;
    z-index: 10;
    pointer-events: none;
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

#wptb-plugin-container .contact-form label,
#wptb-plugin-container label {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #444 !important;
    margin-bottom: 8px !important;
    display: block !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== BUTTON STYLING ===== */
#wptb-plugin-container button {
    background: var(--wptb-primary);
    color: #fff;
    border: none;
    padding: 0 30px;
    height: 55px;
    border-radius: var(--wptb-radius);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--wptb-transition);
    min-width: 120px;
    flex: 0 0 auto;
}

#wptb-plugin-container button:hover {
    background-color: var(--wptb-primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

#wptb-plugin-container button:disabled {
    background: #ccc !important;
    box-shadow: none !important;
    transform: none !important;
    cursor: not-allowed;
}

#wptb-plugin-container .secondary-btn {
    background: transparent !important;
    color: #888 !important;
    border: 1px solid #ddd !important;
    height: 45px !important;
    margin-top: 20px;
}

#wptb-plugin-container .secondary-btn:hover {
    background: #f9f9f9 !important;
    color: #333 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ===== STEP 2: TRIP TYPE SELECTOR ===== */
.trip-type-selector {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.trip-type-btn {
    flex: 1;
    max-width: 250px;
    height: 60px !important;
    background: #f8f9fa !important;
    color: #666 !important;
    border: 2px solid #e0e0e0 !important;
    font-size: 16px !important;
    transition: var(--wptb-transition);
}

.trip-type-btn.active {
    background: var(--wptb-primary) !important;
    color: #fff !important;
    border-color: var(--wptb-primary) !important;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3) !important;
}

.trip-type-btn:hover {
    border-color: var(--wptb-primary) !important;
    transform: none !important;
}

/* ===== VEHICLE TYPE FILTER ===== */
.vehicle-type-filter {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 0 15px;
}

.vehicle-filter-btn {
    flex: 0 0 auto;
    height: 40px !important;
    padding: 0 20px !important;
    background: #fff !important;
    color: #666 !important;
    border: 1px solid #ddd !important;
    font-size: 13px !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--wptb-transition);
}

.vehicle-filter-btn.active {
    background: var(--wptb-primary) !important;
    color: #fff !important;
    border-color: var(--wptb-primary) !important;
}

.vehicle-filter-btn:hover {
    border-color: var(--wptb-primary) !important;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.15) !important;
    transform: none !important;
}

/* ===== STEP 2: VEHICLES GRID ===== */
.vehicles-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;
    /* Reduced gap to ensure fit */
    margin-bottom: 30px;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
    .vehicles-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .vehicles-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .vehicles-grid {
        grid-template-columns: 1fr !important;
    }
}

.vehicle-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid #f0f0f0;
    transition: var(--wptb-transition);
    cursor: pointer;
    position: relative;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #ddd;
}

.vehicle-card.selected {
    border-color: var(--wptb-primary);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.25);
}

.vehicle-card.selected::after {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--wptb-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    z-index: 10;
}

/* ===== MODAL STYLES ===== */

.vehicle-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.1);
}

.vehicle-info {
    padding: 20px;
}

.vehicle-info h3 {
    margin: 0 0 5px 0 !important;
    font-size: 20px !important;
    color: var(--wptb-dark);
    font-weight: 700;
}

.vehicle-type {
    color: var(--wptb-primary);
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin: 0 0 10px 0 !important;
}

.vehicle-description {
    color: #666;
    font-size: 14px;
    margin: 10px 0 !important;
    line-height: 1.5;
    min-height: 40px;
}

.vehicle-features {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    font-size: 13px;
    color: #555;
}

.vehicle-features span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.vehicle-features .dashicons {
    font-size: 16px;
    color: var(--wptb-primary);
}

.vehicle-price-preview {
    background: var(--wptb-grey);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    margin: 15px 0;
}

.vehicle-price-preview .price-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 3px;
}

.vehicle-price-preview .price-value {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #FFD700;
}

.select-vehicle-btn {
    width: 100%;
    height: 50px !important;
    margin-top: 10px;
    background: linear-gradient(135deg, var(--wptb-primary) 0%, var(--wptb-primary-hover) 100%) !important;
}

/* ===== STEP 3: BENTO LAYOUT (Single Column for Details) ===== */
#wptb-plugin-container .contact-container.wptb-bento-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    margin-top: 20px !important;
}

/* Force stacked inputs ONLY in Step 3 (Details) */
#wptb-plugin-container .contact-container .floating-label,
#wptb-plugin-container .contact-container .floating-label input,
#wptb-plugin-container .contact-container .floating-label textarea {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
}

#wptb-plugin-container .wptb-card {
    background: #fff !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    padding: 30px !important;
    height: fit-content !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    transition: var(--wptb-transition) !important;
}

#wptb-plugin-container .wptb-card:hover {
    transform: translateY(-5px);
}

#wptb-plugin-container .contact-summary {
    position: sticky;
    top: 20px;
}

#wptb-plugin-container .summary-item {
    margin-bottom: 12px;
}

#wptb-plugin-container .summary-item .label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

#wptb-plugin-container .summary-item .value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--wptb-dark);
}

#wptb-plugin-container .summary-grid {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

#wptb-plugin-container .price-section {
    margin: 20px 0;
    text-align: center;
}

#wptb-plugin-container .total-price {
    font-size: 32px !important;
    font-weight: 800;
    color: #FFD700;
}

#wptb-plugin-container hr {
    border: none;
    border-top: 1px solid #f0f0f0;
    margin: 20px 0;
}

/* ===== FORM GRID ===== */
#wptb-plugin-container .form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

#wptb-plugin-container .full-width {
    width: 100%;
}

#wptb-plugin-container .half-width {
    width: calc(50% - 10px);
}

#wptb-plugin-container .third-width {
    width: calc(33.333% - 14px);
}

/* ===== HEADINGS ===== */
#wptb-plugin-container h2 {
    font-size: 20px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px !important;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    font-weight: 700;
}

/* ===== PROGRESS BAR ===== */
#wptb-plugin-container .progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

#wptb-plugin-container .progress-bar::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #eee;
    z-index: 0;
}

#wptb-plugin-container .progress-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    /* Width to contain text */
}

#wptb-plugin-container .step {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #aaa;
    position: relative;
    z-index: 1;
    transition: var(--wptb-transition);
    background-color: #fff;
    /* Ensure it covers line */
}

#wptb-plugin-container .step.active,
#wptb-plugin-container .step.completed {
    border-color: var(--wptb-primary);
    background: var(--wptb-primary);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.2);
}

#wptb-plugin-container .progress-bar p {
    display: none !important;
}

/* ===== SUCCESS MESSAGE ===== */
#wptb-plugin-container .booking-success {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: var(--wptb-radius);
    box-shadow: var(--wptb-shadow);
}

#wptb-plugin-container .icon-check {
    font-size: 60px;
    color: var(--wptb-primary);
    margin-bottom: 20px;
    display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    #wptb-plugin-container .contact-container.wptb-bento-grid {
        grid-template-columns: 1fr !important;
    }

    #wptb-plugin-container .half-width,
    #wptb-plugin-container .third-width {
        width: 100% !important;
    }

    .vehicles-grid {
        grid-template-columns: 1fr;
    }

    .trip-type-selector {
        flex-direction: column;
    }

    .trip-type-btn {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    #wptb-plugin-container #wptb-search-form {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: stretch !important;
    }

    #wptb-plugin-container .floating-label {
        width: 100% !important;
        flex: none !important;
    }

    #wptb-plugin-container button {
        width: 100% !important;
        margin-top: 10px !important;
    }

    #wptb-plugin-container .contact-summary {
        order: -1;
    }
}

/* ===== GOOGLE MAPS AUTOCOMPLETE ===== */
.pac-container {
    background-color: #fff;
    border-radius: 0 0 8px 8px;
    border: 1px solid #ddd;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    margin-top: 5px;
    z-index: 9999 !important;
}

.pac-item {
    padding: 10px 15px;
    border-top: 1px solid #f0f0f0;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

.pac-item:hover {
    background-color: #fafafa;
}

.pac-item:first-child {
    border-top: none;
}

.pac-item-query {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.pac-icon {
    display: none;
}

/* ===== ROUTE MAP ===== */
#route-map {
    border: none !important;
    box-shadow: none !important;
    border-radius: 12px;
    overflow: hidden;
    background-color: #2a2a2a;
    /* Fallback color to see container */
    position: relative;
    min-height: 250px;
    /* Force height */
}

#route-map.map-error:after {
    content: attr(data-error);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #ff6b6b;
    padding: 20px;
    text-align: center;
    font-size: 13px;
}

/* ===== GEOLOCATION BUTTON (FORCED MOBILE ALIGNMENT) ===== */
#wptb-plugin-container .wptb-origin-wrapper {
    position: relative !important;
    display: block !important;
    /* Force block to kill flex centering */
    text-align: left !important;
    /* Reset any centered text */
}

/* ===== FIX FORM ACTIONS POSITION ===== */
#wptb-details-form {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

.form-actions {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    margin-top: 30px !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    gap: 20px !important;
    order: 999 !important;
    /* Force to end */
}

.form-actions button {
    width: 48% !important;
    flex: 1 !important;
}

@media(max-width: 600px) {
    .form-actions {
        flex-direction: column !important;
    }

    .form-actions button {
        width: 100% !important;
    }
}

#wptb-plugin-container .wptb-geolocation-btn {
    position: absolute !important;
    right: 15px !important;
    left: auto !important;
    /* STRICT override */
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    color: var(--wptb-primary) !important;
    cursor: pointer !important;
    padding: 0 !important;
    min-width: auto !important;
    height: auto !important;
    box-shadow: none !important;
    z-index: 100 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    /* Reset margins */
}

/* Specific icon styling */
#wptb-plugin-container .wptb-geolocation-btn .dashicons {
    font-size: 24px !important;
    width: 24px !important;
    height: 24px !important;
}

/* ===== LEGACY/CACHED BUTTON SUPPORT ===== */
/* This handles the case where old JS is cached and injects button with ID but no class */
#wptb-location-btn {
    position: absolute !important;
    right: 15px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    color: var(--wptb-primary) !important;
    cursor: pointer !important;
    padding: 0 !important;
    min-width: auto !important;
    height: auto !important;
    box-shadow: none !important;
    z-index: 100 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

#wptb-location-btn .dashicons {
    font-size: 24px !important;
    width: 24px !important;
    height: 24px !important;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        transform: rotate(360deg);
    }
}

.vehicle-card {
    animation: fadeIn 0.4s ease-out;
}

/* ===== DASHICONS SUPPORT ===== */
.dashicons {
    width: 20px;
    height: 20px;
    font-size: 20px;
    vertical-align: middle;
}

/* ===== POPULAR DESTINATIONS CAROUSEL ===== */
.wptb-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 40px 0;
    pointer-events: auto;
    /* Ensure clickable */
}

.wptb-carousel-track {
    display: flex;
    width: calc(250px * 80);
    /* 40 items * 2 (duplicated) */
    animation: wptb-scroll 120s linear infinite;
}

.wptb-carousel-wrapper:hover .wptb-carousel-track {
    animation-play-state: paused;
}

@keyframes wptb-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 40));
    }
}

.wptb-carousel-card {
    width: 250px;
    padding: 15px;
    box-sizing: border-box;
    cursor: pointer;
    flex-shrink: 0;
}

.wptb-carousel-card .wptb-card-content {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.wptb-carousel-card:hover .wptb-card-content {
    border-color: var(--wptb-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 140, 0, 0.1);
}

.wptb-carousel-card h3 {
    margin: 0;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
}

.floating-label input,
.floating-label select {
    width: 100%;
    padding: 15px 12px 8px 12px;
    /* Adjust padding-top for label space */
    background: var(--wptb-input-bg);
    border: 1px solid var(--wptb-border);
    border-radius: var(--wptb-border-radius);
    color: #FFFFFF !important;
    /* White text color */
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.wptb-carousel-card .dashicons {
    color: var(--wptb-primary);
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.btn-book-dest {
    background: transparent;
    border: 1px solid var(--wptb-primary);
    color: var(--wptb-primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.wptb-carousel-card:hover .btn-book-dest {
    background: var(--wptb-primary);
    color: #000;
}

/* ===== WPTB BOOKING SYSTEM - ENCAPSULATED STYLES ===== */
/* Wrapper para encapsulación: todos los estilos empiezan con .wptb-booking-system */

/* ===== SLIDER DE DESTINOS - DISEÑO PREMIUM ===== */

/* Direction Toggle Container */
.wptb-booking-system .mtfs-direction-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 0;
}

.wptb-booking-system .mtfs-direction-btn {
    background: linear-gradient(135deg, #004b68 0%, #003A52 100%) !important;
    border: 2px solid #004b68 !important;
    color: #FFFFFF !important;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.wptb-booking-system .mtfs-direction-btn:first-child {
    border-radius: 8px 0 0 8px;
    border-right: 1px solid #005A8D;
}

.wptb-booking-system .mtfs-direction-btn:last-child {
    border-radius: 0 8px 8px 0;
    border-left: 1px solid #005A8D;
}

.wptb-booking-system .mtfs-direction-btn.active {
    background: linear-gradient(135deg, #005575 0%, #004b68 100%) !important;
    border-color: #005575 !important;
    color: #FFFFFF;
    box-shadow: 0 0 20px rgba(0, 75, 104, 0.5);
}

.wptb-booking-system .mtfs-direction-btn:hover:not(.active) {
    border-color: #005575;
    background: linear-gradient(135deg, #003A52 0%, #004b68 100%);
    box-shadow: 0 0 15px rgba(0, 75, 104, 0.3);
}

/* Slider Wrapper */
.wptb-booking-system .mtfs-slider-wrapper {
    width: 100%;
    margin: auto;
    padding: 40px 0 60px 0;
    overflow: hidden;
    position: relative;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 119, 182, 0.05) 50%, transparent 100%);
    /* Gradient Mask for fading edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

/* Slider Container */
.wptb-booking-system .mtfs-slider {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    overflow: hidden;
    position: relative;
}

/* Slide Track Loop */
.wptb-booking-system .mtfs-slide-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    animation: mtfs-scroll 120s linear infinite;
    width: max-content;
    will-change: transform;
}

/* PAUSE ON HOVER & TOUCH */
.wptb-booking-system .mtfs-slide-track:hover,
.wptb-booking-system .mtfs-slider-wrapper:active .mtfs-slide-track,
.wptb-booking-system .mtfs-slide-track:focus-within {
    animation-play-state: paused;
}

/* Individual Slide - PREMIUM REDESIGN */
.wptb-booking-system .mtfs-slide {
    width: 300px;
    max-width: 300px;
    height: 400px;
    margin: 0 15px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(0, 119, 182, 0.3);
}

/* Image Container - 1:1 Aspect Ratio (Square) */
.wptb-booking-system .mtfs-slide .mtfs-image-wrapper {
    width: 300px;
    height: 300px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    z-index: 1;
    aspect-ratio: 1 / 1;
}

.wptb-booking-system .mtfs-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Performance Fixes */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}

/* Solid Color Overlay - Bottom Bar */
.wptb-booking-system .mtfs-slide::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: #004b68;
    z-index: 2;
}

/* Content Container */
.wptb-booking-system .mtfs-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Destination Title */
.wptb-booking-system .mtfs-slide h3 {
    margin: 0;
    font-size: 20px;
    /* Slight reduction to prevent overlap */
    line-height: 1.2;
    color: #FFFFFF;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    /* Limit lines to prevent overflow */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
}

/* Direction Indicator */
.wptb-booking-system .mtfs-slide-direction {
    font-size: 13px;
    color: #FFFFFF;
    font-weight: 500;
    opacity: 0.95;
    display: flex;
    align-items: center;
    gap: 6px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.wptb-booking-system .mtfs-slide-direction::before {
    content: '→';
    font-size: 18px;
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.wptb-booking-system .mtfs-slide[data-direction="to-barcelona"] .mtfs-slide-direction::before {
    content: '←';
}

/* Hover Effects - Simplified */
.wptb-booking-system .mtfs-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.wptb-booking-system .mtfs-slide:hover img {
    transform: scale(1.05);
}

/* Animation Keyframes */
@keyframes mtfs-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsiveness */
@media (max-width: 1024px) {
    .wptb-booking-system .mtfs-slide {
        width: 260px;
        max-width: 260px;
        height: 360px;
        margin: 0 12px;
    }

    .wptb-booking-system .mtfs-slide .mtfs-image-wrapper {
        width: 260px;
        height: 260px;
    }

    .wptb-booking-system .mtfs-slide h3 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .wptb-booking-system .mtfs-slider-wrapper {
        padding: 30px 0 50px 0;
    }

    .wptb-booking-system .mtfs-slide {
        width: 220px;
        max-width: 220px;
        height: 320px;
        margin: 0 10px;
    }

    .wptb-booking-system .mtfs-slide .mtfs-image-wrapper {
        width: 220px;
        height: 220px;
    }

    .wptb-booking-system .mtfs-slide h3 {
        font-size: 18px;
    }

    .wptb-booking-system .mtfs-slide-content {
        padding: 15px;
    }

    .wptb-booking-system .mtfs-direction-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}



/* ===== PREMIUM BOOKING MODAL - NUEVA PALETA ===== */

/* Modal Overlay */
#wptb-booking-modal.wptb-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 119, 182, 0.95) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 999999 !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    animation: modalOverlayFadeIn 0.3s ease !important;
}

@keyframes modalOverlayFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Modal Content Container - Orange Border */
#wptb-booking-modal .wptb-modal-content {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%) !important;
    width: 100% !important;
    max-width: 600px !important;
    border-radius: 20px !important;
    padding: 50px 40px 40px 40px !important;
    position: relative !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3) !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Animated Orange Border */
#wptb-booking-modal .wptb-modal-content::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 20px;
    padding: 3px;
    background: linear-gradient(135deg, #004b68 0%, #005575 50%, #004b68 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(-30px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes borderGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 75, 104, 0.5);
    }

    50% {
        box-shadow: 0 0 35px rgba(0, 75, 104, 0.8);
    }
}

/* Modal Title */
#wptb-booking-modal .wptb-modal-title {
    color: #004b68 !important;
    text-align: center !important;
    margin-top: 0 !important;
    margin-bottom: 35px !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-shadow: 0 2px 10px rgba(0, 119, 182, 0.2) !important;
}

/* Close Button */
#wptb-booking-modal .wptb-modal-close {
    position: absolute !important;
    top: 20px !important;
    right: 25px !important;
    background: none !important;
    border: none !important;
    color: #666 !important;
    font-size: 36px !important;
    cursor: pointer !important;
    line-height: 1 !important;
    z-index: 10 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#wptb-booking-modal .wptb-modal-close:hover {
    color: #005575 !important;
    transform: rotate(90deg) scale(1.1) !important;
}

/* Modal Form - Remove duplicate backgrounds */
#wptb-booking-modal .wptb-modal-body .booking-form,
#wptb-booking-modal .booking-form {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

/* Floating Labels Container */
#wptb-booking-modal .floating-label {
    position: relative !important;
    margin-bottom: 28px !important;
}

/* Input Fields - Light Theme */
#wptb-booking-modal input[type="date"],
#wptb-booking-modal input[type="time"],
#wptb-booking-modal input[type="text"],
#wptb-booking-modal input[type="email"],
#wptb-booking-modal input[type="tel"],
#wptb-booking-modal select,
#wptb-booking-modal textarea {
    background: #FFFFFF !important;
    color: #333333 !important;
    border: 2px solid #E0E0E0 !important;
    border-radius: 12px !important;
    padding: 16px 16px 16px 48px !important;
    font-size: 15px !important;
    width: 100% !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-family: inherit !important;
}

/* Focus State */
#wptb-booking-modal input:focus,
#wptb-booking-modal select:focus,
#wptb-booking-modal textarea:focus {
    border-color: #004b68 !important;
    outline: none !important;
    background: #FFF !important;
    box-shadow: 0 0 0 4px rgba(0, 75, 104, 0.15) !important;
}

/* Readonly Inputs */
#wptb-booking-modal input[readonly] {
    background: #F5F5F5 !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
    border-color: #E0E0E0 !important;
}

/* Floating Labels */
#wptb-booking-modal .floating-label label {
    position: absolute !important;
    top: 17px !important;
    left: 48px !important;
    color: #999 !important;
    font-size: 15px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    pointer-events: none !important;
    background: transparent !important;
    padding: 0 !important;
}

/* Label Float Animation */
#wptb-booking-modal .floating-label input:focus+label,
#wptb-booking-modal .floating-label input:not(:placeholder-shown)+label,
#wptb-booking-modal .floating-label input[type="date"]+label,
#wptb-booking-modal .floating-label input[type="time"]+label {
    top: -10px !important;
    left: 16px !important;
    font-size: 12px !important;
    color: #004b68 !important;
    background: #FFFFFF !important;
    padding: 0 8px !important;
    font-weight: 600 !important;
}

/* Field Icons */
#wptb-booking-modal .floating-label::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'dashicons';
    font-size: 20px;
    color: #005575;
    z-index: 10;
    pointer-events: none;
}

/* Force Orange Date/Time Indicators Globally */
#wptb-plugin-container ::-webkit-calendar-picker-indicator,
#wptb-booking-modal ::-webkit-calendar-picker-indicator {
    filter: invert(19%) sepia(88%) saturate(1472%) hue-rotate(180deg) brightness(97%) contrast(106%) !important;
    cursor: pointer;
}

/* Specific Icons for Each Field Type */
#wptb-booking-modal .floating-label:has(input[type="date"])::before {
    content: '\f145';
    /* calendar */
}

#wptb-booking-modal .floating-label:has(input[type="time"])::before {
    content: '\f469';
    /* clock */
}

#wptb-booking-modal .floating-label:has(#wptb-origin-modal)::before {
    content: '\f230';
    /* location */
}

#wptb-booking-modal .floating-label:has(#wptb-destination-display-modal)::before,
#wptb-booking-modal .floating-label:has(#wptb-destination-modal)::before {
    content: '\f230';
    /* location-alt */
}

/* Submit Button - Orange Gradient */
#wptb-booking-modal button[type="submit"] {
    background: linear-gradient(135deg, #004b68 0%, #005575 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    padding: 18px 35px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    width: 100% !important;
    margin-top: 25px !important;
    position: relative !important;
    overflow: hidden !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* Shine Effect on Button */
#wptb-booking-modal button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

#wptb-booking-modal button[type="submit"]:hover::before {
    left: 100%;
}

#wptb-booking-modal button[type="submit"]:hover {
    background: linear-gradient(135deg, #005575 0%, #003A52 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(0, 75, 104, 0.4) !important;
}

#wptb-booking-modal button[type="submit"]:active {
    transform: translateY(-1px) !important;
}

/* Geolocation Button in Modal */
#wptb-booking-modal .wptb-geolocation-btn {
    color: #005575 !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

#wptb-booking-modal .wptb-geolocation-btn:hover {
    color: #0077B6 !important;
}

/* Google Autocomplete - Light Theme to Match Modal */
.pac-container {
    z-index: 99999999 !important;
    background-color: #FFFFFF !important;
    border: 2px solid #E0E0E0 !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2) !important;
    margin-top: 8px !important;
}

.pac-item {
    background-color: #FFFFFF !important;
    color: #333333 !important;
    border-top: 1px solid #E0E0E0 !important;
    padding: 12px 15px !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

.pac-item:hover {
    background-color: #F8F9FA !important;
}

.pac-item:first-child {
    border-top: none !important;
}

.pac-item-query {
    color: #FF8C00 !important;
    font-weight: 600 !important;
}

.pac-icon {
    display: none !important;
}

/* Responsive Modal */
@media (max-width: 768px) {
    #wptb-booking-modal .wptb-modal-content {
        max-width: 95% !important;
        padding: 40px 25px 30px 25px !important;
    }

    #wptb-booking-modal .wptb-modal-title {
        font-size: 26px !important;
        margin-bottom: 25px !important;
    }

    #wptb-booking-modal input,
    #wptb-booking-modal select,
    #wptb-booking-modal textarea {
        padding: 14px 14px 14px 44px !important;
        font-size: 14px !important;
    }

    #wptb-booking-modal .floating-label::before {
        font-size: 18px !important;
        left: 15px !important;
    }
}

/* ===== PTS MODAL - MISMOS ESTILOS QUE WPTB ===== */
#pts-booking-modal.wptb-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 119, 182, 0.95) !important;
    backdrop-filter: blur(8px) !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    animation: modalOverlayFadeIn 0.3s ease !important;
}

#pts-booking-modal .wptb-modal-content {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%) !important;
    width: 100% !important;
    max-width: 600px !important;
    border-radius: 20px !important;
    padding: 50px 40px 40px 40px !important;
    position: relative !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3) !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ===== PTS MODAL - DUPLICATE TODOS LOS ESTILOS WPTB ===== */
#pts-booking-modal.wptb-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 119, 182, 0.95) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 999999 !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    animation: modalOverlayFadeIn 0.3s ease !important;
}

#pts-booking-modal .wptb-modal-content {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%) !important;
    width: 100% !important;
    max-width: 600px !important;
    border-radius: 20px !important;
    padding: 50px 40px 40px 40px !important;
    position: relative !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3) !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#pts-booking-modal .wptb-modal-content::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 20px;
    padding: 3px;
    background: linear-gradient(135deg, #FF8C00 0%, #FF7700 50%, #FF8C00 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

#pts-booking-modal .wptb-modal-title {
    color: #0077B6 !important;
    text-align: center !important;
    margin-top: 0 !important;
    margin-bottom: 35px !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-shadow: 0 2px 10px rgba(0, 119, 182, 0.2) !important;
}

#pts-booking-modal .wptb-modal-close {
    position: absolute !important;
    top: 20px !important;
    right: 25px !important;
    background: none !important;
    border: none !important;
    color: #666 !important;
    font-size: 36px !important;
    cursor: pointer !important;
    line-height: 1 !important;
    z-index: 10 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#pts-booking-modal .wptb-modal-close:hover {
    color: #FF8C00 !important;
    transform: rotate(90deg) scale(1.1) !important;
}

#pts-booking-modal .wptb-modal-body .booking-form,
#pts-booking-modal .booking-form {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

#pts-booking-modal .floating-label {
    position: relative !important;
    margin-bottom: 28px !important;
}

#pts-booking-modal input[type='date'],
#pts-booking-modal input[type='time'],
#pts-booking-modal input[type='text'],
#pts-booking-modal input[type='email'],
#pts-booking-modal input[type='tel'],
#pts-booking-modal select,
#pts-booking-modal textarea {
    background: #FFFFFF !important;
    color: #333333 !important;
    border: 2px solid #E0E0E0 !important;
    border-radius: 12px !important;
    padding: 16px 16px 16px 48px !important;
    font-size: 15px !important;
    width: 100% !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-family: inherit !important;
}

#pts-booking-modal input:focus,
#pts-booking-modal select:focus,
#pts-booking-modal textarea:focus {
    border-color: #FF8C00 !important;
    outline: none !important;
    background: #FFF !important;
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.15) !important;
}

#pts-booking-modal input[readonly] {
    background: #F5F5F5 !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
    border-color: #E0E0E0 !important;
}

#pts-booking-modal .floating-label label {
    position: absolute !important;
    top: 17px !important;
    left: 48px !important;
    color: #999 !important;
    font-size: 15px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    pointer-events: none !important;
    background: transparent !important;
    padding: 0 !important;
}

#pts-booking-modal .floating-label input:focus+label,
#pts-booking-modal .floating-label input:not(:placeholder-shown)+label,
#pts-booking-modal .floating-label input[type='date']+label,
#pts-booking-modal .floating-label input[type='time']+label {
    top: -10px !important;
    left: 16px !important;
    font-size: 12px !important;
    color: #FF8C00 !important;
    background: #FFFFFF !important;
    padding: 0 8px !important;
    font-weight: 600 !important;
}

#pts-booking-modal .floating-label::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'dashicons';
    font-size: 20px;
    color: #0077B6;
    z-index: 10;
    pointer-events: none;
}

#pts-booking-modal .floating-label:has(input[type='date'])::before {
    content: '\f145';
}

#pts-booking-modal .floating-label:has(input[type='time'])::before {
    content: '\f469';
}

#pts-booking-modal .floating-label:has(#pts-origin)::before {
    content: '\f230';
}

#pts-booking-modal .floating-label:has(#pts-destination-display)::before,
#pts-booking-modal .floating-label:has(#pts-destination-exact)::before {
    content: '\f230';
}

#pts-booking-modal button[type='submit'] {
    background: linear-gradient(135deg, #FF8C00 0%, #FF7700 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    padding: 18px 35px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    width: 100% !important;
    margin-top: 25px !important;
    position: relative !important;
    overflow: hidden !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

#pts-booking-modal button[type='submit']::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

#pts-booking-modal button[type='submit']:hover::before {
    left: 100%;
}

#pts-booking-modal button[type='submit']:hover {
    background: linear-gradient(135deg, #FF7700 0%, #FF6600 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4) !important;
}

#pts-booking-modal button[type='submit']:active {
    transform: translateY(-1px) !important;
}

@media (max-width: 768px) {
    #pts-booking-modal .wptb-modal-content {
        max-width: 95% !important;
        padding: 40px 25px 30px 25px !important;
    }

    #pts-booking-modal .wptb-modal-title {
        font-size: 26px !important;
        margin-bottom: 25px !important;
    }

    #pts-booking-modal input,
    #pts-booking-modal select,
    #pts-booking-modal textarea {
        padding: 14px 14px 14px 44px !important;
        font-size: 14px !important;
    }

    #pts-booking-modal .floating-label::before {
        font-size: 18px !important;
        left: 15px !important;
    }
}


/* PTS Modal Step 2 - Gray Background */
#pts-booking-modal #pts-modal-step-2 {
    background: #f8f9fa !important;
    padding: 30px 20px !important;
    border-radius: 12px !important;
}

#pts-booking-modal .wptb-modal-step-header {
    margin-bottom: 25px !important;
    padding-bottom: 15px !important;
    border-bottom: 2px solid #e0e0e0 !important;
}

#pts-booking-modal .wptb-modal-step-header h3 {
    color: #0077B6 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

#pts-booking-modal .trip-type-selector {
    display: flex !important;
    gap: 10px !important;
    justify-content: center !important;
    margin-bottom: 25px !important;
}

#pts-booking-modal .trip-type-btn-pts {
    padding: 12px 24px !important;
    background: #ffffff !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    color: #333 !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

#pts-booking-modal .trip-type-btn-pts:hover {
    border-color: #0077B6 !important;
    color: #0077B6 !important;
}

#pts-booking-modal .trip-type-btn-pts.active {
    background: linear-gradient(135deg, #d8006f 0%, #b8005a 100%) !important;
    border-color: #d8006f !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(216, 0, 111, 0.3) !important;
}

#pts-booking-modal .wptb-back-btn {
    background: transparent !important;
    border: 2px solid #FF8C00 !important;
    color: #FF8C00 !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

#pts-booking-modal .wptb-back-btn:hover {
    background: #FF8C00 !important;
    color: #ffffff !important;
}



/* Mobile Optimization - PTS Modal and Stripe Forms */
@media (max-width: 768px) {

    /* PTS Modal - Full width on mobile */
    #pts-booking-modal .wptb-modal-content {
        max-width: 96% !important;
        width: 96% !important;
        padding: 40px 15px 30px 15px !important;
        margin: 0 auto !important;
    }

    /* Center modal overlay */
    #pts-booking-modal.wptb-modal-overlay {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px !important;
    }

    /* WPTB Modal - Same optimization */
    #wptb-booking-modal .wptb-modal-content {
        max-width: 96% !important;
        width: 96% !important;
        padding: 40px 15px 30px 15px !important;
        margin: 0 auto !important;
    }

    #wptb-booking-modal.wptb-modal-overlay {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px !important;
    }

    /* Stripe Payment Form - Center and optimize */
    #wptb-step-4 .booking-form,
    #payment-form-container {
        max-width: 96% !important;
        width: 96% !important;
        margin: 0 auto !important;
        padding: 20px 15px !important;
    }

    /* Payment container centering */
    .wptb-payment-container,
    #stripe-payment-wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 10px !important;
    }

    /* Stripe Elements Container */
    #payment-element,
    #card-element,
    .StripeElement {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* FORCE MODAL HIDDEN ON LOAD */
#wptb-booking-modal {
    display: none;
}

/* ===== FORCE LAYOUT FIXES (FINAL) ===== */
.booking-layout-wrapper {
    display: flex !important;
    gap: 30px !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
}

.summary-sidebar {
    width: 320px !important;
    flex: 0 0 320px !important;
    order: 1 !important;
    /* Sidebar First */
}

.form-content {
    flex: 1 !important;
    min-width: 0 !important;
    order: 2 !important;
    /* Form Second */
}

#wptb-details-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

.contact-container.wptb-bento-grid {
    order: 1 !important;
}

.form-actions {
    order: 2 !important;
    margin-top: 30px !important;
    width: 100% !important;
    position: relative !important;
    /* Kill absolute */
    display: flex !important;
    justify-content: space-between !important;
    gap: 15px !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
}

.form-actions button {
    width: 48% !important;
    margin: 0 !important;
}

@media (max-width: 900px) {
    .booking-layout-wrapper {
        flex-direction: column !important;
    }

    .summary-sidebar,
    .form-content {
        width: 100% !important;
        flex: none !important;
    }
}

/* HIDE PROGRESS LABELS BUT KEEP SPACE */
#wptb-plugin-container .progress-step p {
    visibility: hidden !important;
}

/* ===== FIX MOBILE OVERFLOW ===== */
#wptb-plugin-container input,
#wptb-plugin-container select,
#wptb-plugin-container textarea {
    box-sizing: border-box !important;
    max-width: 100% !important;
}

/* ===== ORANGE CHECKMARK FOR SELECTED VEHICLE ===== */
.vehicle-card {
    position: relative !important;
}

.vehicle-card.selected {
    border: 3px solid #ff7100 !important;
}

.vehicle-card.selected::after {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: #ff7100;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* ===== MOBILE RESPONSIVENESS TWEAKS ===== */
@media (max-width: 768px) {
    .booking-details {
        padding: 20px !important;
        /* Reduce padding on mobile */
    }

    .contact-container.wptb-bento-grid {
        display: flex !important;
        flex-direction: column !important;
    }

    .floating-label {
        width: 100% !important;
        margin-bottom: 20px !important;
    }

    #wptb-plugin-container button {
        width: 100% !important;
        /* Full width buttons on mobile */
    }
}

/* ===== RETURN TRIP DETAILS ICONS ===== */
#wptb-return-details input[type="date"]::-webkit-calendar-picker-indicator,
#wptb-return-details input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(48%) sepia(80%) saturate(2000%) hue-rotate(10deg) brightness(100%) contrast(100%) !important;
    opacity: 1 !important;
    cursor: pointer !important;
    display: block !important;
    background-size: contain !important;
}