/* Professional Filter Design */
.car-filter-form {
    display: flex;
    gap: 20px;
    margin: 40px auto;
    padding: 25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-item {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.filter-item i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-size: 16px;
    z-index: 5;
}

/* LTR Specific */
.direction-airport-en .filter-item i {
    left: 15px;
}

.direction-airport-en .filter-item select {
    padding-left: 40px;
}

/* RTL Specific */
.direction-airport-ar .filter-item i {
    right: 15px;
}

.direction-airport-ar .filter-item select {
    padding-right: 40px;
}

.car-filter-form select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    background-color: #f9f9f9;
    font-size: 14px;
    color: #333;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.car-filter-form select:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(var(--secondary-color-rgb), 0.1);
}

.reset-btn {
    background: #f0f0f0;
    color: #666;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 45px;
}

.reset-btn:hover {
    background: #e0e0e0;
    color: #333;
    transform: translateY(-2px);
}

/* Loader Styling */
#filter-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;
}

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

/* Card Animation */
.car-airport-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.car-airport-card.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .car-filter-form {
        padding: 15px;
        gap: 10px;
    }

    .filter-item {
        min-width: 100%;
    }

    .reset-btn {
        width: 100%;
    }
}