.search-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.search-card h2 {
    color: var(--text-color);
    margin-bottom: 30px;
    font-weight: 600;
    text-align: center;
}

.locations-group {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 15px;
    align-items: flex-end;
    margin-bottom: 25px;
}

.btn-swap {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0 auto;
    font-size: 1.2rem;
}

.btn-swap:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(180deg);
}

.search-form .form-group {
    margin-bottom: 0;
}

.search-form label {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.search-form .form-control {
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    font-size: 1.1rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23333' d='M8 10L4 6h8l-4 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.search-form select.form-control {
    cursor: pointer;
}

.search-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(110, 142, 251, 0.25);
}

.trip-type {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    justify-content: center;
}

.trip-type .form-check {
    padding: 10px 20px;
    border-radius: 8px;
    background: var(--light-bg);
    cursor: pointer;
    transition: all 0.3s ease;
}

.trip-type .form-check:hover {
    background: #e9ecef;
}

.dates-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.btn-search {
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .search-card {
        padding: 20px;
        margin: 15px;
    }

    .locations-group {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .btn-swap {
        transform: rotate(90deg);
        margin: 10px auto;
    }

    .btn-swap:hover {
        transform: rotate(270deg);
    }

    .dates-group {
        grid-template-columns: 1fr;
    }

    .trip-type {
        flex-direction: column;
        gap: 15px;
    }
} 