.iti {
    width: 100%;
    position: relative;
}

.mc--loading {
    font-size: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.mc--loading.u-form-control-hidden {
    display: none !important;
}

.mc--loading > * {
    display: none !important;
}

.mc--loading:before {
    content: "";
    display: block;
    width: 1.2rem;
    height: 1.2rem;
    border: .2rem solid #999999;
    border-top: .2rem solid #f3f3f3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Phone validation states */
input.error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 4px rgba(231, 76, 60, 0.4);
}

input.correct {
    border-color: #27ae60 !important;
    box-shadow: 0 0 4px rgba(39, 174, 96, 0.4);
}

/* Phone error message */
.phone-error-msg {
    display: none;
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    text-align: left;
}
