/* Custom CSS for ESES Web Application */

/* WhatsApp CTA Card in Tour Detail Page */
.wa-booking-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #eef2f6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 28px 24px;
    transition: all 0.3s ease;
}

.wa-booking-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.wa-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f0f3f6;
}

.wa-icon-badge {
    width: 48px;
    height: 48px;
    background: rgba(37, 211, 102, 0.12);
    color: #25D366;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.wa-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.wa-card-subtitle {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.wa-desc-text {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
}

.wa-info-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    text-align: center;
}

.wa-info-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}

.wa-phone-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wa-phone-number:hover {
    color: #25D366;
}

.wa-btn-pulse {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 20px;
    border-radius: 12px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    transition: all 0.3s ease;
}

.wa-btn-pulse:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
    color: #ffffff !important;
}

.wa-features-list {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f0f3f6;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wa-feature-item {
    font-size: 0.82rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wa-feature-item i {
    color: #25D366;
    font-size: 0.9rem;
}

/* Bottom CTA Banner Styles */
.tour-bottom-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 36px 32px;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
    position: relative;
    overflow: hidden;
}

.tour-bottom-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.tour-cta-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.tour-cta-seo {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 0;
}

.tour-cta-seo strong {
    color: #38bdf8;
}

.tour-cta-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 16px 28px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tour-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.55);
    color: #ffffff !important;
}

/* Popular Location Card Vehicle Title Styles */
.pl-car-name {
    font-size: 0.8rem;
    color: #000000;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.pl-main-box:hover .pl-car-name {
    color: #ffffff !important;
}

/* Modern Transfer Form Styles */
.tf-main-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 0 30px 0 rgb(0 0 0 / 6%);
    padding: 35px 40px 40px;
    width: 100%;
}

/* Direction Radio Pills */
.tf-direction-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
    align-items: center;
    flex-wrap: wrap;
}

.tf-radio-btn {
    position: relative;
    cursor: pointer;
    margin: 0;
}

.tf-radio-btn input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.tf-radio-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: #ffffff;
    border: 2px solid #e8ecf0;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7b8d;
    transition: all 0.25s ease;
    user-select: none;
    letter-spacing: 0.2px;
}

.tf-radio-label:hover {
    border-color: #c5cdd5;
    color: #3a4654;
    background: #f8fafc;
}

.tf-radio-btn input[type="radio"]:checked+.tf-radio-label {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.tf-radio-btn input[type="radio"]:checked+.tf-radio-label i {
    color: #ffffff;
}

/* Form Fields Row */
.tf-fields-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

/* Field Cards */
.tf-field-card {
    background: #ffffff;
    border: 2px solid #edf0f4;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.25s ease;
    height: 100%;
    min-height: 68px;
    cursor: pointer;
    margin: 0;
    width: 100%;
}

.tf-field-card:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.tf-field-card:hover {
    border-color: #c5cdd5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Icon Badge */
.tf-field-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tf-field-icon i {
    font-size: 1.15rem;
    color: #3b82f6;
}

/* Field Content */
.tf-field-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    gap: 3px;
}

/* Field Labels */
.tf-field-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #8c99a9;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1;
    white-space: nowrap;
}

/* Selects & Inputs */
.tf-select,
.tf-input {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #1a2332 !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer;
    width: 100%;
    height: auto !important;
    line-height: 1.3 !important;
    -webkit-appearance: none;
}

.tf-select:focus,
.tf-input:focus {
    box-shadow: none !important;
}

.tf-select option {
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px;
}

.tf-input::placeholder {
    color: #b0bac5 !important;
    font-weight: 600 !important;
}

/* Search Button */
.tf-search-btn {
    height: 100%;
    min-height: 68px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #d0142d;
    border: none;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(208, 20, 45, 0.3);
    transition: all 0.25s ease;
}

.tf-search-btn:hover {
    background: #b8112a;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(208, 20, 45, 0.4);
    color: #ffffff !important;
}

.tf-search-btn:active {
    transform: translateY(0);
}

.tf-search-btn i {
    font-size: 1.25rem;
}

/* Responsive */
@media (max-width: 991px) {
    .tf-main-container {
        padding: 24px 20px 28px;
        border-radius: 15px;
    }

    .tf-direction-bar {
        margin-bottom: 16px;
    }

    .tf-radio-label {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .tf-field-card {
        min-height: 60px;
    }

    .tf-search-btn {
        min-height: 60px;
    }
}

@media (max-width: 575px) {
    .tf-main-container {
        padding: 20px 16px 24px;
    }

    .tf-direction-bar {
        gap: 8px;
    }

    .tf-radio-label {
        padding: 7px 14px;
        font-size: 0.78rem;
        gap: 6px;
    }

    .tf-field-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }
}

/* Kendo DatePicker inside tf-field-card */
.tf-field-card .k-datetimepicker,
.tf-field-card .k-datepicker,
.tf-field-card .k-picker-wrap {
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: block !important;
}

.tf-field-card .k-datetimepicker .k-input,
.tf-field-card .k-datepicker .k-input,
.tf-field-card .k-datepicker .k-input-inner {
    padding: 0 !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #1a2332 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    height: auto !important;
    line-height: 1.3 !important;
}

.tf-field-card .k-select,
.tf-field-card .k-input-button,
.tf-field-card .k-link-time {
    display: none !important;
}

/* Kendo Calendar Popup Styling */
#tf-col-date .k-animation-container,
.k-animation-container {
    z-index: 999999 !important;
}

#tf-col-date .k-animation-container {
    top: 100% !important;
    left: 0 !important;
    position: absolute !important;
    margin-top: 6px !important;
}

.k-calendar-container {
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #e2e8f0 !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

#ui-datepicker-div .ui-datepicker-header {
    background: transparent !important;
    border: none !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    padding: 4px 0 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

#ui-datepicker-div .ui-datepicker-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

#ui-datepicker-div .ui-datepicker-prev,
#ui-datepicker-div .ui-datepicker-next {
    cursor: pointer !important;
    border-radius: 8px !important;
    top: 10px !important;
}

#ui-datepicker-div .ui-datepicker-calendar {
    width: 100% !important;
    margin: 0 !important;
}

#ui-datepicker-div .ui-datepicker-calendar th {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    padding: 6px 0 !important;
    text-transform: uppercase !important;
}

#ui-datepicker-div .ui-datepicker-calendar td {
    padding: 2px !important;
}

#ui-datepicker-div .ui-datepicker-calendar td a {
    display: block !important;
    text-align: center !important;
    padding: 6px 0 !important;
    border-radius: 8px !important;
    border: none !important;
    background: #f8fafc !important;
    color: #1e293b !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

#ui-datepicker-div .ui-datepicker-calendar td a:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

#ui-datepicker-div .ui-datepicker-calendar td a.ui-state-active,
#ui-datepicker-div .ui-datepicker-calendar td a.ui-state-highlight {
    background: #2563eb !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Column swap transition */
#tf-col-airport,
#tf-col-resort {
    transition: all 0.3s ease;
}

.form-floating > .form-control, .form-floating > .form-select {
    height: calc(5.215rem + 2px);
    line-height: 5.215;
}

/* Voucher / Reservation Confirmation Page Custom Styling */
.voucher-page .voucher-success-card {
    border-color: #e2e8f0 !important;
}
.voucher-page .success-badge {
    width: 64px;
    height: 64px;
    background-color: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
}
.voucher-page .success-alert-box {
    background-color: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    color: #15803d !important;
    font-size: 0.95rem;
    line-height: 1.5;
}
.voucher-page .contact-item {
    transition: all 0.2s ease;
    border-color: #e2e8f0 !important;
}
.voucher-page .contact-item:hover {
    border-color: #2563eb !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}
.voucher-page .extra-small {
    font-size: 0.75rem;
    color: #64748b !important;
}
.voucher-page .error-badge {
    width: 64px;
    height: 64px;
    background-color: #fee2e2;
    color: #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
}
.voucher-page .error-alert-box {
    background-color: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    color: #b91c1c !important;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Reservation Custom Styles */
.custom-timepicker-popup {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    padding: 12px !important;
    width: 320px !important;
    max-height: 280px !important;
    overflow-y: auto !important;
}
.custom-timepicker-popup .tp-btn {
    border-radius: 8px !important;
    padding: 6px 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #2563eb !important;
    border-color: #cbd5e1 !important;
    background-color: #f8fafc !important;
    transition: all 0.2s ease !important;
}
.custom-timepicker-popup .tp-btn:hover {
    background-color: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
}

/* Form-Floating Perfect Fit for Select2 */
.form-floating .select2-container--default .select2-selection--single {
    height: calc(5.215rem + 2px) !important;
    background-color: #ffffff !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.375rem !important;
    padding-top: 1.4rem !important;
    padding-left: 0.75rem !important;
    display: flex !important;
    align-items: center !important;
}
.form-floating .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #212529 !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    padding-left: 0 !important;
    line-height: 1.5 !important;
}
.form-floating .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    top: 0 !important;
    right: 12px !important;
}
.form-floating .select2-container--default.select2-container--open .select2-selection--single,
.form-floating .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #86b7fe !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
    outline: 0 !important;
}
.form-floating > label {
    z-index: 5 !important;
}

/* Select2 Dropdown Popup & Search Field Styling */
.select2-dropdown {
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
    z-index: 99999 !important;
    overflow: hidden !important;
}
.select2-container--default .select2-search--dropdown {
    padding: 8px !important;
    background-color: #f8fafc !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    outline: none !important;
}
.select2-container--default .select2-results__group {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    padding: 8px 12px !important;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.select2-container--default .select2-results__option--selectable {
    padding-left: 20px !important;
    font-size: 13px !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #2563eb !important;
    color: #ffffff !important;
}