/* ===========================================
   VTC PLUGIN CSS SCOPING
   ALL styles are scoped to VTC elements only
   =========================================== */

/* This CSS file contains NO global selectors that affect theme elements.
   All VTC styles are prefixed with .vtc- classes to ensure complete isolation.
   The theme's header, footer, and all other elements remain completely unaffected. */

/* VTC pages - NO special CSS needed for header/footer
   They are outside our .vtc- scoped elements, so theme styles apply automatically */

/* ===========================================
   MOBILE RESPONSIVE FIX - NESTED SCOPE ONLY
   Only affects elements INSIDE VTC wrappers
   =========================================== */

/* Mobile fixes - ultra-specific descendant selectors */
@media (max-width: 768px) {

    /* Main VTC wrappers */
    .vtc-booking-wrapper,
    .vtc-booking-page,
    .vtc-modern-wrapper,
    .vtc-modern-booking-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0.75rem !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* Form containers INSIDE VTC wrappers only */
    .vtc-booking-wrapper .vtc-hero-section,
    .vtc-booking-wrapper .vtc-search-form-compact,
    .vtc-modern-wrapper .vtc-search-form-modern,
    .vtc-modern-wrapper .vtc-form-card,
    .vtc-modern-wrapper .vtc-modern-form,
    .vtc-booking-page .vtc-page-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0.75rem !important;
        box-sizing: border-box !important;
    }

    /* Form fields INSIDE VTC wrappers only */
    .vtc-booking-wrapper .vtc-form-group,
    .vtc-booking-wrapper .vtc-field-group,
    .vtc-modern-wrapper .vtc-form-group,
    .vtc-modern-wrapper .vtc-field-group,
    .vtc-modern-wrapper .vtc-form-fields,
    .vtc-booking-page .vtc-form-group,
    .vtc-booking-page .vtc-field-group {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    /* Inputs INSIDE VTC wrappers only */
    .vtc-booking-wrapper .vtc-input,
    .vtc-booking-wrapper .vtc-textarea,
    .vtc-modern-wrapper .vtc-input,
    .vtc-modern-wrapper .vtc-modern-input,
    .vtc-modern-wrapper .vtc-textarea,
    .vtc-booking-page .vtc-input,
    .vtc-booking-page .vtc-textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        font-size: 16px !important;
        /* Prevent iOS zoom */
    }

    /* Input wrappers INSIDE VTC only */
    .vtc-modern-wrapper .vtc-input-with-icon,
    .vtc-booking-wrapper .vtc-input-with-icon {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Form rows - stack vertically on mobile */
    .vtc-booking-wrapper .vtc-form-row,
    .vtc-booking-page .vtc-form-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }
}

/* ===========================================
   VTC BOOKING PLUGIN - GREEN THEME
   Complete CSS with Modal & Elegant Hero Form
   Version: 1.0.7
   =========================================== */

/* ===========================================
   SCOPE: Only apply styles to plugin elements
   Do NOT override WordPress theme styles
   =========================================== */

/* ===========================================
   GLOBAL WRAPPER
   =========================================== */
.vtc-booking-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Ensure proper box-sizing for plugin content only - SCOPED */
.vtc-page-container .vtc-page-content [class*="vtc-"],
.vtc-page-container .vtc-page-content [class*="vtc-"] * {
    box-sizing: border-box;
}

.vtc-page-content {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Standalone pages - no need for old container styles */
.vtc-standalone .vtc-page-content-wrapper {
    width: 100%;
}

/* Legacy container styles (for old implementation - can be removed) */
.vtc-page-container {
    position: relative;
    clear: both;
    padding: 3rem 0;
}

.vtc-page-container .vtc-page-content {
    position: relative;
    isolation: isolate;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
}

.vtc-results-content {
    max-width: 1200px;
}

.vtc-booking-content {
    max-width: 900px;
}

/* VTC Main Wrapper - Clean container without affecting parent */
.vtc-main-wrapper {
    display: block;
    width: 100%;
    position: relative;
    clear: both;
}

/* ===========================================
   HERO SECTION - COMPACT FORM
   =========================================== */
.vtc-hero-section {
    background: transparent;
    padding: 0;
    min-height: auto;
}

/* Compact Hero Form - Minimal Clean Design */
.vtc-search-form-compact {
    background: white;
    border-radius: 16px;
    padding: 1.75rem 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.vtc-form-header-compact {
    text-align: center;
    margin-bottom: 1.25rem;
}

.vtc-form-title-compact {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--vtc-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

.vtc-form-subtitle-compact {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0;
    font-weight: 400;
}

/* ===========================================
   BOOKING TABS
   =========================================== */
.vtc-booking-tabs {
    display: flex;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
    background: #f8fafc;
    padding: 0.375rem;
    border-radius: 10px;
}

.vtc-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.625rem 0.875rem;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.vtc-tab-btn:hover {
    background: var(--vtc-primary-rgb-08);
    color: var(--vtc-primary);
}

.vtc-tab-btn.vtc-tab-active {
    background: white;
    color: var(--vtc-primary);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.vtc-tab-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ===========================================
   FORM FIELDS
   =========================================== */
.vtc-form-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
}

.vtc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

.vtc-form-row-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    width: 100%;
}

.vtc-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    width: 100%;
    min-width: 0;
}

.vtc-form-group-full {
    grid-column: 1 / -1;
    width: 100%;
}

.vtc-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.vtc-label-icon {
    width: 14px;
    height: 14px;
    color: var(--vtc-primary);
    flex-shrink: 0;
}

/* ===========================================
   FORM SUBMIT BUTTON
   =========================================== */
.vtc-form-submit {
    margin-top: 0.25rem;
}

.vtc-btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.vtc-btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ===========================================
   IMPROVED FLIGHT INFO CARD
   =========================================== */
#flight-info-display {
    display: none;
    width: 100%;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.vtc-flight-info-card {
    background: var(--vtc-gradient);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: white;
    box-shadow: 0 4px 16px var(--vtc-primary-rgb-25);
}

.vtc-flight-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.vtc-flight-badge {
    font-weight: 700;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
}

.vtc-flight-status {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.3rem 0.625rem;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.5px;
}

.vtc-flight-status-scheduled {
    background: rgba(255, 255, 255, 0.3);
}

.vtc-flight-status-active {
    background: rgba(34, 197, 94, 1);
}

.vtc-flight-status-landed {
    background: rgba(71, 85, 105, 1);
}

.vtc-flight-status-delayed {
    background: rgba(239, 68, 68, 1);
}

.vtc-flight-info-arrival {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.vtc-flight-info-arrival svg {
    flex-shrink: 0;
    opacity: 0.9;
}

.vtc-flight-arrival-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.vtc-flight-label {
    font-size: 0.625rem;
    font-weight: 600;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.75px;
}

.vtc-flight-value {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.25px;
}

/* DateTime-local input styling */
.vtc-input-datetime {
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1e293b;
    border: 1.5px solid var(--vtc-primary-rgb-20) !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: white;
    cursor: pointer;
    font-family: inherit;
}

.vtc-input-datetime:hover {
    border-color: var(--vtc-primary);
    background: #f8fafc;
}

.vtc-input-datetime:focus {
    outline: none;
    border-color: var(--vtc-primary);
    box-shadow: 0 0 0 3px var(--vtc-primary-rgb-10);
    background: white;
}

/* Webkit browsers (Chrome, Safari, Edge) - Style the calendar icon */
.vtc-input-datetime::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: brightness(0) saturate(100%) invert(50%) sepia(98%) saturate(500%) hue-rotate(120deg);
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.vtc-input-datetime::-webkit-calendar-picker-indicator:hover {
    background: var(--vtc-primary-rgb-10);
}

/* Firefox */
.vtc-input-datetime::-moz-calendar-picker-indicator {
    cursor: pointer;
}

/* Green Primary Button - Minimal Design */
.vtc-btn-primary-green {
    background: var(--vtc-gradient);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--vtc-primary-rgb-25);
    min-width: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.vtc-btn-primary-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--vtc-primary-rgb-35);
}

.vtc-btn-primary-green:active {
    transform: translateY(0);
}

/* ===========================================
   MODAL SYSTEM
   =========================================== */
.vtc-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2147483647 !important;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    padding: 2rem 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.vtc-modal-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(4px);
    z-index: 2147483646 !important;
}

.vtc-modal-content {
    position: relative !important;
    background: #f7fafc;
    border-radius: 24px;
    max-width: 1100px;
    width: 100%;
    z-index: 2147483647 !important;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.3s ease;
    margin: auto;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

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

.vtc-modal-close {
    position: absolute !important;
    top: 1.5rem !important;
    right: 1.5rem !important;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--vtc-primary-rgb-20) !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2147483647 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.vtc-modal-close:hover {
    background: #fee;
    transform: rotate(90deg);
}

.vtc-modal-close svg {
    color: #718096;
}

.vtc-modal-close:hover svg {
    color: #e53e3e;
}

.vtc-modal-body {
    padding: 4rem 2.5rem 2rem 2.5rem;
}

/* Modal Footer with Back Button */
.vtc-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 2px solid #e2e8f0;
    display: flex;
    justify-content: center;
    background: white;
    border-radius: 0 0 24px 24px;
}

.vtc-back-btn-bottom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #718096;
    font-size: 0.9375rem;
    font-weight: 600;
    background: white;
    border: 2px solid var(--vtc-primary-rgb-25) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vtc-back-btn-bottom:hover {
    border-color: var(--vtc-primary);
    color: var(--vtc-primary);
    background: var(--vtc-primary-rgb-10);
}

/* ===========================================
   GREEN THEME - STEP 2 VEHICLE SELECTION
   =========================================== */
.vtc-section-title-green {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vtc-primary);
    margin: 0 0 2rem 0;
    text-align: center;
}

.vtc-vehicle-selection {
    background: white;
    border-radius: 20px;
    padding: 2rem 2.5rem 2.5rem 2.5rem;
}

/* Green Gradient for Badges */
.vtc-card-badge {
    background: var(--vtc-gradient);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px var(--vtc-primary-rgb-30);
}

/* Vehicle Cards - Green Theme */
.vtc-vehicle-card-modern {
    background: white;
    border: 2px solid var(--vtc-primary-rgb-15) !important;
    border-radius: 16px;
    overflow: visible;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.vtc-vehicle-card-modern:hover {
    border-color: var(--vtc-primary);
    box-shadow: 0 8px 24px var(--vtc-primary-rgb-15);
    transform: translateY(-2px);
}

/* Green Placeholder for Vehicle Icons */
.vtc-vehicle-placeholder-modern {
    background: var(--vtc-gradient-light);
    border: 2px solid var(--vtc-primary);
}

/* Brand Gradient Select Button */
.vtc-btn-select-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: var(--vtc-gradient);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px var(--vtc-primary-rgb-30);
    white-space: nowrap;
}

.vtc-btn-select-modern:hover {
    transform: translateY(-2px);
    background: var(--vtc-secondary);
    box-shadow: 0 6px 16px var(--vtc-primary-rgb-40);
}

.vtc-btn-select-modern:active {
    transform: translateY(0);
}

.vtc-btn-select-modern svg {
    transition: transform 0.3s ease;
}

.vtc-btn-select-modern:hover svg {
    transform: translateX(4px);
}

/* Price Display - Green Theme */
.vtc-price-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vtc-primary);
    line-height: 1;
}

.vtc-meta-item svg {
    color: var(--vtc-primary);
}

/* ===========================================
   GREEN THEME - STEP 3 OPTIONS
   =========================================== */

/* Options Selected State - Green */
.vtc-option-card-modern input:checked+.vtc-option-content-modern {
    border-color: var(--vtc-primary);
    background: var(--vtc-gradient);
    box-shadow: 0 8px 20px var(--vtc-primary-rgb-30);
}

.vtc-option-card-modern:hover .vtc-option-content-modern {
    border-color: var(--vtc-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--vtc-primary-rgb-15);
}

/* Option Price - Green Theme */
.vtc-option-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--vtc-primary);
    padding: 0.5rem 0.75rem;
    background: var(--vtc-primary-rgb-10);
    border-radius: 8px;
    display: inline-block;
    transition: all 0.3s ease;
}

.vtc-option-card-modern input:checked+.vtc-option-content-modern .vtc-option-price {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.vtc-option-free {
    color: var(--vtc-primary);
    background: var(--vtc-primary-rgb-10);
}

.vtc-option-card-modern input:checked+.vtc-option-content-modern .vtc-option-free {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Checkmark - Green Theme */
.vtc-option-card-modern input:checked+.vtc-option-content-modern .vtc-option-checkmark svg {
    opacity: 1;
    transform: scale(1);
    color: var(--vtc-primary);
}

/* ===========================================
   FORM ELEMENTS
   =========================================== */
.vtc-form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.vtc-label {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.75rem;
}

.vtc-label span {
    margin-left: 0.5rem;
}

.vtc-input,
.vtc-textarea,
select.vtc-input {
    width: 100%;
    max-width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1e293b;
    border: 1.5px solid var(--vtc-primary-rgb-20) !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: white;
    box-shadow: none;
    font-family: inherit;
    box-sizing: border-box;
}

.vtc-input-large {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
}

.vtc-input::placeholder,
.vtc-textarea::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.vtc-input:hover,
.vtc-textarea:hover,
select.vtc-input:hover {
    border-color: var(--vtc-primary);
    background: #f8fafc;
}

.vtc-input:focus,
.vtc-textarea:focus,
select.vtc-input:focus {
    outline: none;
    border-color: var(--vtc-primary);
    background: white;
    box-shadow: 0 0 0 4px var(--vtc-primary-rgb-10);
}

select.vtc-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* ===========================================
   AUTOCOMPLETE SUGGESTIONS
   =========================================== */
.vtc-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    border: 2px solid var(--vtc-primary);
    border-radius: 12px;
    margin-top: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 10px 40px var(--vtc-primary-rgb-20);
    display: none;
}

.vtc-suggestion-item:hover {
    background: var(--vtc-primary);
    color: white;
}

/* ===========================================
   FORM ROW FOR DATES
   =========================================== */
.vtc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ===========================================
   TRIP TYPE BUTTONS - GREEN THEME
   =========================================== */
.vtc-trip-type-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.vtc-trip-type-btn span {
    display: block;
    padding: 0.625rem 0.75rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
    background: #f8fafc;
    border: 1.5px solid var(--vtc-primary-rgb-20) !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.vtc-trip-type-btn:hover span {
    border-color: var(--vtc-primary);
    background: var(--vtc-primary-rgb-10);
}

.vtc-trip-type-active span {
    background: var(--vtc-primary);
    border-color: var(--vtc-primary);
    color: white;
    box-shadow: 0 4px 12px var(--vtc-primary-rgb-30);
}

/* ===========================================
   BUTTONS - GREEN THEME
   =========================================== */
.vtc-btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.vtc-btn-primary {
    background: var(--vtc-gradient);
    color: white;
    box-shadow: 0 4px 12px var(--vtc-primary-rgb-30);
}

.vtc-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--vtc-primary-rgb-40);
}

.vtc-btn-secondary {
    background: white;
    color: #718096;
    border: 2px solid var(--vtc-primary-rgb-25) !important;
}

.vtc-btn-secondary:hover {
    border-color: var(--vtc-primary);
    color: var(--vtc-primary);
    background: var(--vtc-primary-rgb-10);
}

/* ===========================================
   TRIP SUMMARY - CLEAN DESIGN
   =========================================== */
.vtc-trip-summary-compact {
    background: var(--vtc-gradient-light);
    border: 1px solid var(--vtc-primary);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
}

.vtc-summary-route {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vtc-route-point {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.vtc-route-dot-pickup {
    background: var(--vtc-primary);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.vtc-route-dot-dropoff {
    background: #ef4444;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.vtc-route-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1e293b;
}

.vtc-route-line {
    flex: 1;
    height: 1px;
    background: #cbd5e1;
    min-width: 30px;
    max-width: 60px;
}

.vtc-summary-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.vtc-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #475569;
    font-weight: 500;
}

.vtc-meta-item svg {
    color: var(--vtc-primary);
    flex-shrink: 0;
}

/* ===========================================
   VEHICLE GRID & CARDS
   =========================================== */
.vtc-vehicles-grid-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.vtc-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2rem 2rem 1.5rem;
    gap: 2rem;
}

.vtc-card-left {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.vtc-vehicle-image-modern {
    width: 160px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--vtc-gradient-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--vtc-primary);
}

.vtc-vehicle-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vtc-vehicle-icon-modern {
    font-size: 3.5rem;
}

.vtc-vehicle-details {
    flex: 1;
}

.vtc-vehicle-name-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 0.5rem 0;
}

.vtc-vehicle-desc-modern {
    font-size: 0.9375rem;
    color: #718096;
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.vtc-vehicle-features-modern {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.vtc-feature-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #4a5568;
    font-weight: 500;
}

.vtc-feature-modern svg {
    color: var(--vtc-primary);
}

.vtc-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    flex-shrink: 0;
}

.vtc-vehicle-price-modern {
    text-align: right;
}

.vtc-price-label {
    font-size: 0.875rem;
    color: #718096;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.vtc-price-amount-modern {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
}

.vtc-price-currency-modern {
    font-size: 1.125rem;
    font-weight: 600;
    color: #718096;
}

/* ===========================================
   OPTIONS GRID - GREEN THEME
   =========================================== */
.vtc-section-description {
    color: #718096;
    font-size: 0.9375rem;
    margin: -0.5rem 0 2rem 0;
    line-height: 1.6;
}

.vtc-options-modern-grid {
    display: grid;
    /* Use auto-fit to automatically adjust columns based on available space and number of items */
    /* Min 280px ensures cards don't get too narrow, max 1fr allows them to grow */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 100%;
}

@media (max-width: 992px) {
    .vtc-options-modern-grid {
        /* On tablets, allow 2 columns minimum */
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

.vtc-no-options {
    grid-column: 1 / -1;
    padding: 3rem;
    text-align: center;
    color: #718096;
    font-size: 1rem;
    background: #f7fafc;
    border-radius: 12px;
}

.vtc-option-card-modern {
    position: relative;
    cursor: pointer;
    display: block;
}

.vtc-option-card-modern input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.vtc-option-content-modern {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border: 2px solid var(--vtc-primary-rgb-15) !important;
    border-radius: 16px;
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vtc-option-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.vtc-option-icon-modern {
    font-size: 2.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.vtc-option-card-modern:hover .vtc-option-icon-modern {
    transform: scale(1.1);
}

.vtc-option-checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid var(--vtc-primary-rgb-25) !important;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: all 0.3s ease;
}

.vtc-option-checkmark svg {
    width: 16px;
    height: 16px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
    color: white;
}

.vtc-option-card-modern input:checked+.vtc-option-content-modern .vtc-option-checkmark {
    background: white;
    border-color: white;
}

.vtc-option-body {
    flex: 1;
}

.vtc-option-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.vtc-option-card-modern input:checked+.vtc-option-content-modern .vtc-option-name {
    color: white;
}

.vtc-option-desc {
    font-size: 0.875rem;
    color: #718096;
    margin: 0 0 1rem 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.vtc-option-card-modern input:checked+.vtc-option-content-modern .vtc-option-desc {
    color: rgba(255, 255, 255, 0.9);
}

/* ===========================================
   BOOKING DETAILS - STEP 3
   =========================================== */
.vtc-booking-details {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
}

.vtc-form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.vtc-form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.vtc-subsection-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
}

.vtc-subsection-title svg {
    color: var(--vtc-primary);
}

.vtc-booking-details .vtc-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem !important;
    margin-bottom: 2rem !important;
    column-gap: 2.5rem !important;
    row-gap: 2rem !important;
}

.vtc-booking-details .vtc-form-row .vtc-form-group {
    margin-bottom: 0 !important;
}

.vtc-booking-details .vtc-form-group:last-child {
    margin-bottom: 0 !important;
}

/* Ensure spacing for individual form groups */
.vtc-booking-details .vtc-form-group {
    margin-bottom: 1.5rem;
}

.vtc-booking-details .vtc-form-group .vtc-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
}

.vtc-booking-details .vtc-form-group .vtc-input,
.vtc-booking-details .vtc-form-group .vtc-textarea {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.9375rem;
    border: 1.5px solid var(--vtc-primary-rgb-20) !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

/* ===========================================
   PRICE SUMMARY BOX
   =========================================== */
.vtc-price-summary-box {
    background: var(--vtc-gradient-light);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    border: 2px solid var(--vtc-primary);
}

.vtc-price-details {
    margin-top: 1rem;
}

.vtc-price-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: #4a5568;
    border-bottom: 1px solid var(--vtc-primary-rgb-20);
}

.vtc-price-row:last-child {
    border-bottom: none;
}

.vtc-price-total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--vtc-primary);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--vtc-primary);
}

/* ===========================================
   FORM ACTIONS
   =========================================== */
.vtc-form-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-end;
    margin-top: 2rem;
}

.vtc-btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* ===========================================
   MESSAGES
   =========================================== */
.vtc-message {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin: 1rem 0;
    font-weight: 500;
}

.vtc-message.success {
    background: var(--vtc-primary-rgb-10);
    color: var(--vtc-secondary);
    border: 1px solid var(--vtc-primary);
}

.vtc-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* ===========================================
   SPINNER / LOADER
   =========================================== */
.vtc-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */

/* Tablet - Medium Screens */
@media (max-width: 1024px) {
    .vtc-search-form-compact {
        padding: 2rem;
        max-width: 100%;
    }

    .vtc-form-title-compact {
        font-size: 1.75rem;
    }

    .vtc-booking-tabs {
        flex-direction: column;
        gap: 0.375rem;
    }

    .vtc-tab-btn {
        padding: 0.75rem 1rem;
    }
}

/* Mobile - Small Screens */
@media (max-width: 768px) {

    /* Reset box model for mobile */
    .vtc-page-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow-x: hidden !important;
    }

    .vtc-hero-section {
        padding: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .vtc-search-form-compact {
        padding: 1rem !important;
        border-radius: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .vtc-form-header-compact {
        margin-bottom: 1.5rem;
    }

    .vtc-form-title-compact {
        font-size: 1.25rem !important;
    }

    .vtc-form-subtitle-compact {
        font-size: 0.875rem !important;
    }

    .vtc-booking-tabs {
        margin-bottom: 1.5rem;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
    }

    .vtc-tab-btn span {
        display: none;
    }

    .vtc-tab-btn {
        padding: 0.875rem;
        justify-content: center;
        flex-shrink: 0;
    }

    .vtc-form-row {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .vtc-form-row-compact {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Form fields mobile */
    .vtc-form-fields {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    .vtc-form-group,
    .vtc-form-group-full,
    .vtc-input-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .vtc-input,
    .vtc-input-compact,
    .vtc-input-large,
    .vtc-textarea,
    select.vtc-input {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 16px !important;
        /* Prevent zoom on iOS */
        box-sizing: border-box !important;
    }

    .vtc-flight-info-times {
        gap: 1rem;
    }

    /* Autocomplete suggestions mobile */
    .vtc-suggestions {
        width: calc(100% - 2rem) !important;
        max-width: none !important;
        left: 1rem !important;
        right: 1rem !important;
        font-size: 14px !important;
    }

    .vtc-suggestion-item {
        padding: 0.75rem !important;
    }

    .vtc-btn-primary-green {
        width: 100% !important;
        padding: 0.875rem 1.5rem !important;
        font-size: 1rem !important;
    }

    .vtc-modal {
        padding: 0.5rem !important;
    }

    .vtc-modal-content {
        width: 96%;
        max-height: 92vh;
        border-radius: 20px;
    }

    .vtc-modal-body {
        padding: 3.5rem 1.5rem 1.5rem 1.5rem;
    }

    .vtc-modal-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    /* Trip Summary Mobile */
    .vtc-trip-summary-compact {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }

    .vtc-summary-route {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .vtc-route-line {
        display: none;
    }

    .vtc-summary-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .vtc-summary-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        width: 100%;
        padding-top: 1rem;
        border-top: 1px solid #e2e8f0;
    }

    /* Vehicle Cards Mobile */
    .vtc-card-body {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .vtc-card-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        width: 100%;
    }

    .vtc-vehicle-image-modern {
        width: 100%;
        height: 160px;
    }

    .vtc-card-right {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .vtc-vehicle-price-modern {
        text-align: left;
    }

    .vtc-btn-select-modern {
        width: auto;
        flex-shrink: 0;
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
        gap: 0.375rem;
    }

    .vtc-btn-select-modern svg {
        width: 14px;
        height: 14px;
    }

    .vtc-card-badge {
        left: 16px;
        padding: 0.375rem 1rem;
        font-size: 0.75rem;
    }

    .vtc-section-title-green {
        font-size: 1.5rem;
    }

    /* Options Mobile */
    .vtc-options-modern-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .vtc-form-actions {
        flex-direction: column-reverse;
    }

    .vtc-form-actions .vtc-btn {
        width: 100%;
    }

    .vtc-vehicle-selection,
    .vtc-booking-details {
        padding: 1.5rem;
    }

    .vtc-booking-details {
        padding: 1.5rem;
    }

    .vtc-booking-details .vtc-form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {

    /* Extra small screens - aggressive width constraints */
    .vtc-search-form-compact {
        padding: 0.875rem !important;
        margin: 0 !important;
    }

    .vtc-hero-section {
        padding: 0.75rem !important;
    }

    .vtc-form-title-compact {
        font-size: 1.125rem !important;
    }

    .vtc-form-subtitle-compact {
        font-size: 0.8125rem !important;
    }

    .vtc-booking-tabs {
        gap: 0.25rem !important;
        padding: 0.25rem !important;
    }

    .vtc-tab-btn {
        padding: 0.625rem !important;
    }

    .vtc-options-modern-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem !important;
    }

    .vtc-input,
    .vtc-input-large,
    .vtc-textarea {
        padding: 0.5rem 0.75rem !important;
        font-size: 16px !important;
    }

    .vtc-btn-primary-green {
        padding: 0.75rem 1.25rem !important;
    }

    .vtc-btn-select-modern {
        padding: 0.625rem 1rem !important;
        font-size: 0.8125rem !important;
    }

    .vtc-modal-body {
        padding: 1.5rem 1rem;
    }

    .vtc-modal-footer {
        padding: 1rem;
    }
}

/* ===========================================
   ACCESSIBILITY
   =========================================== */
.vtc-input:focus-visible,
.vtc-btn:focus-visible,
.vtc-option-card:focus-within .vtc-option-content {
    outline: 3px solid var(--vtc-primary);
    outline-offset: 2px;
}

/* Hide Old Purple Theme Classes */
.vtc-hero-title,
.vtc-hero-subtitle {
    display: none;
}

/* ===========================================
   FLIGHT INFO DISPLAY
   =========================================== */
.vtc-input-loading {
    background-image: linear-gradient(90deg, transparent 0%, var(--vtc-primary-rgb-10) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: vtc-loading-animation 1.5s infinite;
}

@keyframes vtc-loading-animation {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

#flight-info-display {
    display: none;
    flex: 1 1 100%;
    margin-top: 0.5rem;
}

.vtc-flight-info-card {
    background: var(--vtc-gradient);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: white;
    box-shadow: 0 4px 12px var(--vtc-primary-rgb-20);
}

.vtc-flight-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.vtc-flight-badge {
    font-weight: 700;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    backdrop-filter: blur(10px);
}

.vtc-flight-status {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.25);
}

.vtc-flight-status-scheduled {
    background: rgba(255, 255, 255, 0.25);
}

.vtc-flight-status-active {
    background: rgba(34, 197, 94, 0.9);
}

.vtc-flight-status-landed {
    background: rgba(71, 85, 105, 0.9);
}

.vtc-flight-status-delayed {
    background: rgba(239, 68, 68, 0.9);
}

.vtc-flight-info-times {
    display: flex;
    gap: 1.5rem;
}

.vtc-flight-time {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.vtc-flight-label {
    font-size: 0.6875rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vtc-flight-value {
    font-size: 1rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .vtc-flight-info-card {
        padding: 0.875rem 1rem;
    }

    .vtc-flight-info-times {
        gap: 1rem;
    }

    .vtc-flight-value {
        font-size: 0.9375rem;
    }
}

/* ===========================================
   SUCCESS POPUP - BEAUTIFUL ANIMATION
   =========================================== */
.vtc-success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.vtc-success-popup {
    background: white;
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.vtc-success-popup.vtc-show {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.vtc-success-checkmark {
    margin: 0 auto 24px;
    animation: checkmarkBounce 0.6s ease-out 0.3s both;
}

@keyframes checkmarkBounce {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }

    50% {
        transform: scale(1.2) rotate(5deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.vtc-success-checkmark svg {
    filter: drop-shadow(0 4px 8px var(--vtc-primary-rgb-30));
}

.vtc-success-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px 0;
    animation: slideUp 0.5s ease-out 0.4s both;
}

.vtc-success-message {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 32px 0;
    animation: slideUp 0.5s ease-out 0.5s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.vtc-success-loader {
    width: 100%;
    height: 6px;
    background: #f1f5f9;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 16px;
    animation: slideUp 0.5s ease-out 0.6s both;
}

.vtc-loader-bar {
    height: 100%;
    background: var(--vtc-gradient);
    border-radius: 3px;
    animation: loadingBar 3s ease-out forwards;
}

@keyframes loadingBar {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.vtc-success-redirect {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
    font-weight: 500;
    animation: slideUp 0.5s ease-out 0.7s both;
}

@media (max-width: 640px) {
    .vtc-success-popup {
        padding: 36px 28px;
    }

    .vtc-success-title {
        font-size: 24px;
    }

    .vtc-success-message {
        font-size: 15px;
    }
}

/* Flight Info Message */
.vtc-flight-info {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
}

.vtc-flight-success {
    background: var(--vtc-primary-rgb-10);
    color: var(--vtc-secondary);
    border-left: 4px solid var(--vtc-primary);
}

.vtc-flight-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* Loading state for flight input */
.vtc-modern-input.loading {
    background-image: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ===========================================
   TRIP INFO BAR - Clean Design with Green Gradient
   =========================================== */
.vtc-trip-info-bar {
    background: var(--vtc-gradient-light);
    border: 1px solid var(--vtc-primary);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    box-shadow: 0 1px 3px var(--vtc-primary-rgb-10);
}

.vtc-trip-route {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex: 1;
    min-width: 200px;
}

.vtc-route-arrow {
    color: var(--vtc-primary);
    font-size: 1.125rem;
    font-weight: 700;
    padding: 0 0.375rem;
}

.vtc-location-badge {
    display: inline-block;
    background: white;
    color: var(--vtc-secondary);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.4375rem 0.875rem;
    border-radius: 7px;
    border: 1px solid var(--vtc-primary-rgb-20);
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 0 1px 2px var(--vtc-primary-rgb-05);
}

.vtc-trip-details {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.vtc-detail-badge {
    display: inline-block;
    background: white;
    color: var(--vtc-secondary);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.4375rem 0.875rem;
    border-radius: 7px;
    border: 1px solid var(--vtc-primary-rgb-20);
    white-space: nowrap;
    box-shadow: 0 1px 2px var(--vtc-primary-rgb-05);
}

/* Price Summary Section */
.vtc-price-summary {
    background: var(--vtc-gradient-lighter);
    border: 2px solid var(--vtc-primary);
    border-radius: 16px;
    padding: 1.75rem;
    margin-top: 2rem;
}

.vtc-price-summary .vtc-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 0;
    font-size: 1rem;
    color: #475569;
    border-bottom: 1px solid var(--vtc-primary-rgb-15);
}

.vtc-price-summary .vtc-price-row:last-child {
    border-bottom: none;
}

.vtc-price-summary .vtc-price-total-row {
    margin-top: 0.75rem;
    padding-top: 1rem;
    border-top: 2px solid var(--vtc-primary);
    border-bottom: none;
}

.vtc-price-value-text {
    font-weight: 600;
    color: #1e293b;
}

.vtc-price-total-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--vtc-primary);
}

.vtc-price-details {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: normal;
}

/* Responsive Adjustments for Trip Info Bar */
@media (max-width: 768px) {
    .vtc-trip-info-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.875rem 1rem;
        gap: 0.75rem;
    }

    .vtc-trip-route {
        min-width: 100%;
        flex-wrap: wrap;
    }

    .vtc-location-badge {
        max-width: 140px;
        font-size: 0.75rem;
    }

    .vtc-trip-details {
        width: 100%;
        gap: 0.5rem;
    }

    .vtc-detail-badge {
        font-size: 0.75rem;
        padding: 0.3125rem 0.625rem;
    }

    .vtc-price-summary {
        padding: 1.5rem;
    }

    .vtc-price-total-value {
        font-size: 1.5rem;
    }
}

/* Payment Methods Grid */
.vtc-payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.vtc-payment-card {
    position: relative;
    cursor: pointer;
    display: block;
}

.vtc-payment-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.vtc-payment-card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    box-sizing: border-box;
}

.vtc-payment-card:hover .vtc-payment-card-content {
    border-color: var(--vtc-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--vtc-primary-rgb-15);
}

.vtc-payment-card input:checked+.vtc-payment-card-content {
    border-color: var(--vtc-primary);
    background: var(--vtc-primary-rgb-05);
    box-shadow: 0 8px 20px var(--vtc-primary-rgb-20);
}

.vtc-payment-icon-wrapper {
    font-size: 1.75rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.vtc-payment-card input:checked+.vtc-payment-card-content .vtc-payment-icon-wrapper {
    background: white;
    transform: scale(1.1);
}

.vtc-payment-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.vtc-payment-title {
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
}

.vtc-payment-desc {
    font-size: 0.8125rem;
    color: #64748b;
}

.vtc-payment-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.vtc-payment-check svg {
    width: 14px;
    height: 14px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.vtc-payment-card input:checked+.vtc-payment-card-content .vtc-payment-check {
    background: var(--vtc-primary);
    border-color: var(--vtc-primary);
}

.vtc-payment-card input:checked+.vtc-payment-card-content .vtc-payment-check svg {
    opacity: 1;
    transform: scale(1);
}

/* Payment Section Container */
.vtc-payment-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.vtc-payment-section .vtc-subsection-title {
    margin-bottom: 1.5rem;
}

/* ===========================================
   TERMS AND CONDITIONS CHECKBOX
   =========================================== */
.vtc-terms-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.vtc-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.vtc-checkbox-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.vtc-checkbox-custom {
    position: relative;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    background: white;
    transition: all 0.2s ease;
    margin-top: 2px;
}

.vtc-checkbox-custom::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s ease;
}

.vtc-checkbox-input:checked+.vtc-checkbox-custom {
    background: var(--vtc-gradient, linear-gradient(135deg, #10b981 0%, #059669 100%));
    border-color: transparent;
}

.vtc-checkbox-input:checked+.vtc-checkbox-custom::after {
    transform: rotate(45deg) scale(1);
}

.vtc-checkbox-label:hover .vtc-checkbox-custom {
    border-color: var(--vtc-primary, #10b981);
}

.vtc-checkbox-text {
    color: #1f2937;
    font-size: 14px;
    line-height: 1.5;
}

.vtc-terms-link {
    color: var(--vtc-primary, #10b981);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.vtc-terms-link:hover {
    color: var(--vtc-secondary, #059669);
}

.vtc-terms-error {
    animation: shake 0.3s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* ===========================================
   CATEGORY INCLUSIONS SECTION
   =========================================== */

.vtc-category-inclusions {
    margin-bottom: 2rem;
}

.vtc-inclusions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.vtc-inclusion-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(5, 150, 105, 0.03) 100%);
    border: 2px solid rgba(16, 185, 129, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.vtc-inclusion-item:hover {
    border-color: rgba(16, 185, 129, 0.3);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.05) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.vtc-inclusion-item svg {
    flex-shrink: 0;
    color: var(--vtc-primary, #10b981);
}

.vtc-inclusion-item span {
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.4;
}

.vtc-inclusion-item strong {
    color: var(--vtc-primary, #10b981);
    font-weight: 700;
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .vtc-inclusions-grid {
        grid-template-columns: 1fr;
    }

    .vtc-inclusion-item {
        padding: 0.875rem;
    }
}

/* ===========================================
   MINIMUM DISTANCE BADGE
   =========================================== */

.vtc-minimum-distance-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.875rem;
    padding: 0.625rem 0.75rem;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border: 1px solid #F59E0B;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #92400E;
    text-align: center;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.1);
    transition: all 0.2s ease;
    width: 100%;
    white-space: normal;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.vtc-minimum-distance-badge::before {
    content: "ⓘ";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #F59E0B;
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.vtc-minimum-distance-badge:hover {
    background: linear-gradient(135deg, #FDE68A 0%, #FCD34D 100%);
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.15);
}

.vtc-minimum-price-warning {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    border: 1px solid #FCD34D;
    border-left: 4px solid #F59E0B;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #78350F;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.08);
}

.vtc-minimum-price-warning svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: #F59E0B;
}

.vtc-minimum-price-warning strong {
    color: #92400E;
    font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .vtc-minimum-distance-badge {
        font-size: 0.6875rem;
        padding: 0.5rem 0.625rem;
        gap: 0.375rem;
        margin-top: 0.75rem;
        flex-basis: 100%;
        order: 3;
    }

    .vtc-minimum-distance-badge::before {
        width: 15px;
        height: 15px;
        font-size: 0.625rem;
        flex-shrink: 0;
    }

    .vtc-minimum-price-warning {
        padding: 0.875rem 1rem;
        font-size: 0.8125rem;
        gap: 0.625rem;
    }

    .vtc-minimum-price-warning svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .vtc-minimum-distance-badge {
        font-size: 0.625rem;
        padding: 0.4375rem 0.5rem;
        gap: 0.3125rem;
        flex-basis: 100%;
    }

    .vtc-minimum-distance-badge::before {
        width: 14px;
        height: 14px;
        font-size: 0.5625rem;
    }
}