.iti {
    width: 100%;
}

.iti input#phone {
    width: 100%;
}

.iti__selected-country {
    border-radius: 10px 0 0 10px;
}

.iti__country-container {
    color: #20252b;
}

.iti__dropdown-content {
    z-index: 50;
}

.iti__search-input {
    font: inherit;
}

.iti__country-list {
    font-size: 14px;
}

/*
 * Sur mobile, intl-tel-input peut ouvrir le sélecteur en plein écran.
 * On garde son comportement natif, plus pratique avec beaucoup de pays.
 */






/* V5 — recherche séparée du champ téléphone */
.iti__country-selector {
    z-index: 1000;
}

.iti__search-input-wrapper {
    padding: 10px;
    border-bottom: 1px solid #e3e6ea;
    background: #fff;
}

.iti__search-input {
    width: 100%;
    min-height: 40px;
    padding: 8px 11px;
    border: 1px solid #d9dde2;
    border-radius: 9px;
    background: #fff;
    color: #20252b;
    font: inherit;
    outline: none;
}

.iti__search-input:focus {
    border-color: #df6c32;
}

.iti__country-list {
    max-height: 280px;
    overflow-y: auto;
}


/* V6 — spinner d'envoi à la place de la flèche */
.register-button.is-loading svg,
.register-button.is-loading .register-button__arrow {
    display: none !important;
}

.register-button.is-loading::after {
    content: "";
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 2px solid rgba(255, 255, 255, .42);
    border-top-color: #fff;
    border-radius: 50%;
    animation: register-button-spin .72s linear infinite;
}

@keyframes register-button-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .register-button.is-loading::after {
        animation-duration: 1.4s;
    }
}
