/* Custom styles for select dropdowns */
.contact-side-form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 12px;
    padding-right: 2.5rem !important;
    cursor: pointer;
    width: 100%;
}

/* Improve touch targets for mobile */
@media (max-width: 768px) {
    .contact-side-form-select {
        padding: 0.75rem 2.5rem 0.75rem 1rem !important;
        font-size: 1rem;
        height: auto;
        min-height: 3rem;
        line-height: 1.5;
    }
    
    .contact-side-form-select option {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        line-height: 1.5;
    }
    
    /* Improve dropdown appearance on iOS */
    select.contact-side-form-select {
        border-radius: 8px;
        border: 1px solid #ced4da;
    }
    
    /* Add more touch-friendly padding between options */
    .contact-side-form-select option {
        margin: 4px 0;
        padding: 12px 16px;
    }
}

/* Focus state for better accessibility */
.contact-side-form-select:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Hover state for desktop */
@media (hover: hover) and (pointer: fine) {
    .contact-side-form-select:hover {
        border-color: #adb5bd;
    }
    
    .contact-side-form-select option:hover {
        background-color: #f8f9fa;
    }
}
