.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.search-field {
    position: relative;
}

.search-field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #0B0C0D;
    margin-bottom: 8px;
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s;
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: #4D73FC;
    box-shadow: 0 0 0 3px rgba(77, 115, 252, 0.1);
}

.search-submit {
    display: flex;
    align-items: flex-end;
}

.search-btn {
    width: 100%;
    padding: 14px 24px;
    background: #4D73FC;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.search-btn:hover {
    background: #3d5fd9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(77, 115, 252, 0.3);
}

.trip-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 8px;
}

.trip-option {
    flex: 1;
}

.trip-option input[type="radio"] {
    display: none;
}

.trip-option label {
    display: block;
    padding: 10px 16px;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    background: white;
    transition: all 0.2s;
}

.trip-option input[type="radio"]:checked + label,
.trip-option input[type="radio"]:checked ~ label {
    background: #4D73FC;
    color: white;
}

.airport_select_from,
.airport_select_to {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-top: 4px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 8px;
}

.airport-item {
    padding: 12px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s;
}

.airport-item:hover {
    background: #f8f9fa;
}

.passenger-area {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1024px) {
    .search-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-submit {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .search-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .trip-selector {
        flex-direction: column;
        gap: 8px;
    }
    
    .trip-option label {
        padding: 12px;
    }
    
    .search-field input,
    .search-field select {
        padding: 14px 16px;
        font-size: 16px;
    }
    
    .search-btn {
        padding: 16px 24px;
        font-size: 16px;
    }
    
    .airport_select_from,
    .airport_select_to {
        max-height: 250px;
    }
    
    .passenger-area {
        padding: 16px !important;
        max-height: 80vh;
        overflow-y: auto;
    }
}

@media (max-width: 480px) {
    .search-grid {
        gap: 10px;
    }
    
    .search-field label {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .search-field input,
    .search-field select {
        padding: 12px 14px;
        font-size: 15px;
    }
    
    .booking {
        margin-top: -150px !important;
    }
    
    #booking {
        padding: 0 12px !important;
    }
    
    #booking > div {
        padding: 16px !important;
        border-radius: 8px !important;
    }
    
    section[style*="padding-bottom: 160px"],
    section[style*="padding-bottom: 100px"] {
        padding: 40px 0 !important;
        padding-bottom: 120px !important;
    }
    
    section[style*="padding-bottom: 160px"] h1,
    section[style*="padding-bottom: 100px"] h1 {
        font-size: 28px !important;
    }
    
    section[style*="padding-bottom: 160px"] p,
    section[style*="padding-bottom: 100px"] p {
        font-size: 14px !important;
    }
    
    .payment-modal-header h3 {
        font-size: 18px;
    }
    
    .payment-modal-body {
        padding: 16px;
    }
}

@media (max-width: 1000px) {
    .web-100 {
        margin-top: -20px !important;
    }
    
    #booking {
        margin-top: -150px !important;
    }
}

.flight-listing-page {
    padding: 0 16px;
}

@media (max-width: 768px) {
    .flight-listing-page {
        padding: 0 12px;
    }
    
    #flight_offers {
        margin-top: -80px !important;
    }
    
    #floader {
        height: 300px !important;
        border-radius: 12px !important;
    }
}

.booking-form {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.form-wizard-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}

.form-wizard-steps .nav-item {
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
}

.form-wizard-steps .nav-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: #6b7280;
    font-weight: 600;
    transition: all 0.3s;
}

.form-wizard-steps .nav-item.activated .nav-link {
    background: #4D73FC;
    border-color: #4D73FC;
    color: white;
}

.form-wizard-steps .nav-item h5 {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    margin: 0;
}

.form-wizard-steps .nav-item.activated h5 {
    color: #4D73FC;
    font-weight: 600;
}

.form-row-single {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: #0B0C0D;
    margin-bottom: 8px;
}

.form-control {
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #4D73FC;
    box-shadow: 0 0 0 3px rgba(77, 115, 252, 0.1);
}

.payment-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.payment-overlay.active {
    display: flex;
}

.payment-modal {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.payment-modal-header {
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.payment-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #0B0C0D;
}

.payment-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.payment-modal-close:hover {
    background: #f3f4f6;
    color: #0B0C0D;
}

.payment-modal-body {
    padding: 24px;
}

.stripe-element {
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 16px;
}

.stripe-element:focus-within {
    border-color: #4D73FC;
    box-shadow: 0 0 0 3px rgba(77, 115, 252, 0.1);
}

.payment-submit-btn {
    width: 100%;
    padding: 14px;
    background: #4D73FC;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 16px;
}

.payment-submit-btn:hover:not(:disabled) {
    background: #3d5fd9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(77, 115, 252, 0.3);
}

.payment-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .booking-form {
        padding: 20px;
        border-radius: 12px;
    }
    
    .form-wizard-steps {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .form-wizard-steps .nav-item {
        flex: 0 0 calc(50% - 8px);
    }
    
    .form-wizard-steps::before {
        display: none;
    }
    
    .form-row-single {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .payment-modal {
        max-width: 100%;
        border-radius: 12px 12px 0 0;
        max-height: 95vh;
    }
    
    .payment-modal-header {
        padding: 20px;
    }
    
    .payment-modal-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .booking-form {
        padding: 16px;
    }
    
    .form-wizard-steps .nav-link {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .form-wizard-steps .nav-item h5 {
        font-size: 12px;
    }
    
    .form-control {
        padding: 14px 16px;
        font-size: 16px;
    }
}
