/* Search Form Styling */
.search-card {
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    background-color: white;
    margin-top: -30px;
    position: relative;
    z-index: 10;
    padding: 30px;
}

.search-form {
    padding: 20px;
}

.search-form h2 {
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 1.75rem;
}

/* Search field container */
.search-field-container {
    height: 50px;
    position: relative;
    margin-bottom: 15px;
}

/* Input and select styling */
.search-field-container .form-control {
    height: 50px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 0.375rem 2.25rem 0.375rem 2.5rem;
    font-size: 1rem;
    transition: all 0.2s ease-in-out;
    width: 100%;
    background-color: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.search-field-container .form-control:focus {
    border-color: #0c1800;
    box-shadow: 0 0 0 0.25rem rgba(12, 24, 0, 0.25);
}

/* Icon styling */
.search-field-container .input-icon {
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 4;
}

/* Select dropdown arrow */
.search-field-container .select-arrow {
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
    z-index: 4;
    font-size: 12px;
}

/* Location button styling */
.location-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: none;
    background-color: #f8f9fa;
    cursor: pointer;
    padding: 0;
    margin: 0;
    z-index: 5;
    transition: all 0.2s;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.location-btn i {
    font-size: 16px;
    color: #212529;
    pointer-events: none;
    transition: all 0.2s;
}

.location-btn:hover {
    background-color: #e9ecef;
}

.location-btn:hover i {
    color: #0c1800;
}

/* Search button styling */
.search-btn {
    background-color: #0c1800;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-weight: 600;
    height: 50px;
    transition: all 0.2s ease-in-out;
}

.search-btn:hover {
    background-color: #1e3400;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .search-card {
        margin-top: 20px;
        padding: 20px 15px;
    }
    
    .search-form {
        padding: 10px;
    }
    
    .search-form h2 {
        font-size: 1.5rem;
    }
}
