/* ===================================
   Custom Form Styles for Select Dropdown
======================================*/

.contact-formfield {
    position: relative;
}

.contact-formfield select {
    /* Reset browser default styles */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* Style to match other input fields */
    width: 100%;
    background-color: #fff; /* Default light background */
    border: 1px solid #e0e0e0; /* Match your theme's border color */
    border-radius: 5px;
    padding: 18px 20px;
    padding-right: 50px; /* Make space for the custom arrow */
    font-size: 16px;
    color: #555;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
    line-height: 1.5; /* Ensure text is vertically centered */
}

/* Remove outline on focus and add a subtle glow */
.contact-formfield select:focus {
    outline: none;
    border-color: #007bff; /* Example focus color, change to match your brand */
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Custom dropdown arrow using Font Awesome (already included in your project) */
.select-field::after {
    content: '\f078'; /* Font Awesome down-arrow icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    pointer-events: none; /* Allows clicks to pass through to the select element */
    color: #555;
    font-size: 14px;
}