.hidden {
    display: none !important;
}

input:focus,
textarea:focus {
	outline: none;
}

input:not([type="checkbox"]),
textarea {
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

button {
    outline: none;
    border: 0;
    cursor: pointer;
}

button:active {
    outline: none;
}

button:focus {
    outline: none;
}

#change-number {
    cursor: pointer;
    text-align: center;
    justify-content: center;
}

#name-error,
#phone-error,
#email-error,
#phoneConfirm-error,
#footerName-error,
#footerEmail-error,
#footerPhone-error,
#codeError {
    display: inherit;
    background: transparent !important;
    font-size: 11px;
    width: auto;
    height: auto;
    color: red;
    position: absolute;
    top: 100%;
    left: 16px;
    margin-top: 4px;
    font-family: Verdana, Arial;
}

#codeError {

}

.iti.iti--allow-dropdown {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iti.iti--allow-dropdown {
    flex-direction: column;
    align-items: flex-start;
}

.iti__country-name {
    color: #202020;
}

.iti-mobile .iti--container {
    z-index: 999999999;
}

#phone {
    padding-left: 64px;
}

#change-number {
    display: block;
    margin: 0 auto;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #686868;
    margin-top: 15px;
    text-align: center;
}

#codeError {
    display: none;
}

.popup * {
    font-family: Verdana, Arial;
}

.popup {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999999999;
}

.popup_content {
    width: 514px;
    background: #FFFFFF;
    border-radius: 10px;
    padding: 34px 43px 50px 43px;
    position: relative;
}

.close_popup {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
}

.popup h3 {
    font-weight: 700;
    font-size: 28px;
    line-height: 34px;
    color: #191938;
    margin-bottom: 25px;
}

.popup p {
    color: #191938;
    margin-bottom: 10px;
}

.popup label {
    margin-bottom: 20px;
    display: block;
    position: relative;
}

.popup input {
    border: 1px solid #C0C0C0;
    border-radius: 5px;
    width: 100%;
}

.popup button {
    width: 100%;
}

.popup .politic {
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #747474;
    max-width: 358px;
    display: block;
}

.popup .form_button {
    margin-bottom: 20px;
}

.popup_sms_change h3 {
    margin-bottom: 10px;
}

.popup_sms_change h3 ~ p {
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: #686868;
    margin-bottom: 14px;
}

.popup .btn_gradient {
    width: 100%;
}

@media (max-width: 575px) {
    .popup_content {
        width: 100%;
        height: 100%;
        border-radius: 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        align-content: center;
    }
    .popup_content form {
        width: 100%;
    }
}

#tildaformcaptchabox {
    display: none !important;
}

/* === SMS-верификация: доп. стили (не трогать правила выше) === */

/* Ошибки jQuery Validate (#name-error, #email-error, #phone-error...) позиционируются
   абсолютно (top:100%) относительно ближайшего position:relative предка. У .t-input-block
   (прямой родитель инпута, куда validate вставляет ошибку) такого предка не было — ошибка
   "улетала" к .popup_content/.t-popup__container и все ошибки формы схлопывались в один
   нечитаемый ком внизу попапа. Возвращаем контекст позиционирования на уровень поля. */
.form .t-input-block {
    position: relative;
    margin-bottom: 18px;
}

#phoneConfirm {
    padding-left: 64px;
}

input.error::placeholder {
    color: #d85030;
    opacity: 0.6;
}

.flex_uh {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 10px;
}

.flex_uh .t-submit {
    width: auto;
    flex: 1 1 auto;
}

.popup_content .t-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    background-color: #000000;
    color: #ffffff;
    border-radius: 5px;
    font-weight: 600;
    font-size: 15px;
    transition: opacity 0.2s ease-in-out;
}

.popup_content .t-submit:hover {
    opacity: 0.85;
}
