/*
|--------------------------------------------------------------------------
| assets/css/intl-phone.css — ajustes del selector de país del teléfono
| (assets/js/intl-phone.js + intl-tel-input)
|--------------------------------------------------------------------------
*/

.iti {
    display: block;
    width: 100%;
}

.iti input[data-intl-phone] {
    width: 100%;
}

.iti__country-list {
    z-index: 30;
    max-width: 340px;
    border-radius: 12px;
    border-color: #e7edf3;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
    font-size: 14px;
}

.iti__selected-flag {
    border-radius: 12px 0 0 12px;
}

/* Bandera + prefijo como un bloque separado del número (2026-11-05), en los formularios .spa-field. */
.spa-field .iti .iti__country-container {
    padding: 1px;
}

.spa-field .iti .iti__selected-country {
    border-radius: 11px 0 0 11px;
    border-right: 1px solid #e7edf3;
    background: #f8fafc;
}

.spa-field .iti .iti__selected-country-primary {
    padding: 0 6px 0 12px;
}

.spa-field .iti .iti__selected-dial-code {
    margin-left: 0;
    padding-right: 10px;
    color: #202131;
    font-size: 14px;
    font-weight: 600;
}

.spa-field .iti .iti__selected-country:hover,
.spa-field .iti .iti__selected-country:focus-visible {
    background: #f1f5f9;
}

.intl-phone-error {
    display: block;
    margin-top: 6px;
    color: #b42318;
    font-size: 12px;
    font-weight: 600;
}

input[data-intl-phone][aria-invalid="true"] {
    border-color: #f04438;
}
