/* Mobile-first styles for attractive form boxes on cellular devices */
@media (max-width: 767px) {
    .form-fields-container {
        flex-direction: column !important;
        gap: 1.5rem;
        padding: 1.5rem;
        border-radius: 12px;
        margin: 1rem;
    }
    
    .search-form-group {
        width: 100% !important;
        position: relative;
    }
    
    .search-form-group select {
        width: 100% !important;
        padding: 1.2rem 1rem;
        border: 2px solid #e2e8f0;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 500;
        background: transparent;
        color: #333;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        appearance: none;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
        background-position: right 0.75rem center;
        background-repeat: no-repeat;
        background-size: 1.5em 1.5em;
        padding-right: 2.5rem;
        min-height: 56px;
        box-sizing: border-box;
    }
    
    .search-form-group select:focus {
        outline: none;
        border-color: #c1a57b;
        box-shadow: 0 0 0 3px rgba(193, 165, 123, 0.1), 0 4px 12px rgba(0, 0, 0, 0.1);
        transform: translateY(-1px);
    }
    
    .search-form-group select:hover {
        border-color: #c1a57b;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }
    
    .search-button {
        width: 100% !important;
        padding: 1.2rem 2rem;
        background: linear-gradient(135deg, #c1a57b 0%, #a08660 100%);
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 1.1rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 16px rgba(193, 165, 123, 0.3);
        margin-top: 0.5rem;
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .search-button:hover {
        background: linear-gradient(135deg, #a08660 0%, #8b7355 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(193, 165, 123, 0.4);
    }
    
    .search-button:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(193, 165, 123, 0.3);
    }
    
    /* Enhanced container styling for mobile */
    .search-container {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Add subtle animation for form appearance */
    .form-fields-container {
        animation: slideInUp 0.6s ease-out;
    }
    
    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Improve touch targets for mobile */
    .search-form-group select,
    .search-button {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    /* Add focus indicator for accessibility */
    .search-form-group select:focus-visible {
        outline: 2px solid #c1a57b;
        outline-offset: 2px;
    }
}

/* Ensure proper spacing on very small screens */
@media (max-width: 480px) {
    .form-fields-container {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .search-form-group select,
    .search-button {
        font-size: 0.95rem;
    }
}
