/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Delivery Office Select Styling */
#billing_delivery_office_field .select2-container {
    width: 100% !important;
}

#billing_delivery_office_field .select2-selection--single {
    height: auto !important;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

#billing_delivery_office_field .select2-selection__rendered {
    color: #333;
    line-height: 1.4;
    padding: 0;
}

#billing_delivery_office_field .select2-selection__arrow {
    height: 100%;
    right: 8px;
}

/* Delivery Office Display Styling */
.delivery-office-info {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-left: 4px solid #2ea2cc;
    border-radius: 4px;
}

.delivery-office-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    font-size: 18px;
}

.delivery-office-info p {
    margin-bottom: 0;
    font-size: 14px;
}

.delivery-office-info strong {
    color: #2ea2cc;
}

#billing_delivery_office_field .select2-dropdown {
    border: 1px solid #ddd;
    border-radius: 4px;
    z-index: 9999;
}

#billing_delivery_office_field .select2-search--dropdown .select2-search__field {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

#billing_delivery_office_field .select2-results__option {
    padding: 8px 12px;
    font-size: 14px;
}

#billing_delivery_office_field .select2-results__option--highlighted {
    background-color: #0073aa;
    color: white;
}

/* Fallback search input styling */
.delivery-office-search {
    padding: 8px 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
}
