.register-modal-form {
	display: flex;
	flex-direction: column;
	max-width: 490px;
	width: 100%;
	max-height: 100vh;
	margin: 0 auto;
}
.register-modal-form h2 {
	margin-bottom: 40px;
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 30px;
	font-weight: 300;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #000;
}
.register-modal-form .register-modal-input-container:first-of-type {
	position: fixed;
	bottom: 200vh;
}
.register-modal-form .register-modal-input-container {
	display: flex;
	flex-direction: column;
	margin-bottom: 20px;
}
.register-modal-form .register-modal-form-input-label {
	display: inline-block;
	margin-bottom: 8px;
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 18px;
	font-weight: 300;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #000;
}
.register-modal-form .register-modal-form-input-label.checkbox {
	font-size: 16px;
	font-weight: 300;
	letter-spacing: unset;
	text-transform: none;
}
.register-modal-form .register-input {
	width: 100%;
	padding: 23px 24px 16px;
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 20px;
	font-weight: 300;
	letter-spacing: 0.04em;
	border: none;
	color: #000;
	background-color: #efefef;
}
.register-modal-form .register-modal-form-button {
	margin-top: 20px;
	margin-bottom: 24px;
	padding: 23px 24px;
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 18px;
	font-weight: normal;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	background-color: #000;
}
.register-modal-form .register-modal-form-link {
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 16px;
	font-weight: 300;
	text-transform: none;
	color: #000;
	text-decoration: underline;
	border: none;
}
.register-modal-form .register-input,
.register-modal-form .flag-container {
	padding-top: 23px !important;
	padding-left: 24px !important;
}
.reg-error a {
	/* display: block; */
	/* font-weight: bold; */
	text-decoration: underline;
}
.register-modal-form p.reg-error {
	margin-bottom: 0;
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 14px;
}

.intl-tel-input {
	width: 100%;
}

.register-modal-form-input-label input[type="checkbox"] {
	display: none;
}
.register-modal-form-input-label input[type="checkbox"] + .checkbox-label {
    position: relative;
    margin-right: 15px;
    padding-left: 20px;
    font-size: 14px;
    font-weight: 500;
    line-height: 170%;
    color: #aaa;
}
.register-modal-form-input-label input[type="checkbox"] + .checkbox-label:before {
    position: absolute;
    top: 0;
    left: 0;
	content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    border: 1px solid #afb0b3;
    border-radius: 0;
    background-color: #fff;
}
.register-modal-form-input-label input[type="checkbox"]:checked + .checkbox-label:before {
	content: "\2713";
    font-size: 22px;
    color: #000;
    text-align: center;
    line-height: 18px;
}

@media screen and (max-width: 1100px) {
    .register-modal-form h2 {
            font-size: 25px;
            margin-bottom: 25px;
    }
    .register-modal-form .register-modal-input-container {
            margin-bottom: 15px;
    }
    .register-modal-form .register-modal-form-input-label {
            margin-bottom: 3px;
            font-size: 16px;
    }
    .register-modal-form .register-input {
            padding-top: 10px !important;
            padding-bottom: 6px !important;
            font-size: 16px;
    }
    .register-modal-form .flag-container {
            padding-top: 10px !important;
    }
    .register-modal-form .intl-tel-input.separate-dial-code .selected-dial-code {
            font-size: 16px;
    }
    .register-modal-form .register-modal-form-button {
            margin-top: 10px;
            margin-bottom: 10px;
            padding: 8px 10px;
            font-size: 16px;
    }
}

@media screen and (max-height: 786px) {
    .register-modal-form h2 {
            font-size: 25px;
            margin-bottom: 25px;
    }
    .register-modal-form .register-modal-input-container {
            margin-bottom: 15px;
    }
    .register-modal-form .register-modal-form-input-label {
            margin-bottom: 3px;
            font-size: 16px;
    }
    .register-modal-form .register-input {
            padding-top: 10px !important;
            padding-bottom: 6px !important;
            font-size: 16px;
    }
    .register-modal-form .flag-container {
            padding-top: 10px !important;
    }
    .register-modal-form .intl-tel-input.separate-dial-code .selected-dial-code {
            font-size: 16px;
    }
    .register-modal-form .register-modal-form-button {
            margin-top: 10px;
            margin-bottom: 10px;
            padding: 8px 10px;
            font-size: 16px;
    }
}

.register-message-info{
    padding-left: 36px;
    font-weight: bold;
    margin-bottom: 2.5rem;
    background-color: #000000;
    color:#ffffff;
    display: none;
}
.register-message-info a{
    color:#ffffff;
    font-weight: bold;
    font-size: 16px;
}
.register-message-info-a{
    color:#ffffff;
    font-weight: bold;
    font-size: 16px;
}
.register-message-info a:hover{
    color:#ffffff;
    font-weight: bold;
    font-size: 16px;
}

.register-modal-form-top-link-block{
    display:flex;
    justify-content: space-between;
    padding: 0px 0 30px;
}

.register-sms-confirm {
    max-width: 490px;
    width: 100%;
    margin: 0 auto;
}
.register-sms-confirm h2 {
    margin-bottom: 20px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #000;
}
.register-sms-code-inputs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 30px 0 10px;
}
.register-sms-digit {
    width: 56px;
    height: 64px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 28px;
    text-align: center;
    border: 1px solid #cfcfcf;
    border-radius: 0;
    background-color: #efefef;
}
.register-sms-digit.is-error {
    border-color: tomato;
}
.register-sms-digit.is-success {
    border-color: #288623;
}
.register-sms-error {
    margin: 0 0 20px;
    text-align: center;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    color: tomato;
}
.register-sms-confirm .register-sms-resend {
    width: 100%;
}
.register-sms-confirm .register-sms-resend:disabled {
    opacity: 0.5;
}

/* ==== Анимации: появление панели, ввод/ошибка кода, успех ==== */
@keyframes panelIn {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.register-sms-confirm.is-visible {
    animation: panelIn 0.35s ease;
}

@keyframes digitPop {
    0% { transform: scale(1); }
    40% { transform: scale(1.15); }
    100% { transform: scale(1); }
}
.register-sms-digit.is-pop {
    animation: digitPop 0.2s ease;
}

@keyframes digitShake {
    10%, 90% { transform: translateX(-2px); }
    20%, 80% { transform: translateX(4px); }
    30%, 50%, 70% { transform: translateX(-8px); }
    40%, 60% { transform: translateX(8px); }
}
.register-sms-code-inputs.is-shake {
    animation: digitShake 0.5s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.register-sms-error.is-visible {
    animation: fadeUp 0.3s ease;
}

.register-sms-success-icon {
    margin: 10px auto 0;
    display: block;
}
@keyframes circleIn {
    from { opacity: 0; transform: scale(0.4); }
    to { opacity: 1; transform: scale(1); }
}
.register-sms-success-icon.is-visible {
    animation: circleIn 0.35s cubic-bezier(.34, 1.56, .64, 1);
}
.register-sms-success-icon .success-check {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}
@keyframes checkDraw {
    to { stroke-dashoffset: 0; }
}
.register-sms-success-icon.is-visible .success-check {
    animation: checkDraw 0.35s 0.2s ease forwards;
}

.register-sms-confirm {
    max-width: 490px;
    width: 100%;
    margin: 0 auto;
}
.register-sms-confirm h2 {
    margin-bottom: 20px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #000;
}
.register-sms-code-inputs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 30px 0 10px;
}
.register-sms-digit {
    width: 56px;
    height: 64px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 28px;
    text-align: center;
    border: 1px solid #cfcfcf;
    border-radius: 0;
    background-color: #efefef;
}
.register-sms-digit.is-error {
    border-color: tomato;
}
.register-sms-digit.is-success {
    border-color: #288623;
}
.register-sms-error {
    margin: 0 0 20px;
    text-align: center;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    color: tomato;
}
.register-sms-confirm .register-sms-resend {
    width: 100%;
}
.register-sms-confirm .register-sms-resend:disabled {
    opacity: 0.5;
}

/* ==== Анимации: появление панели, ввод/ошибка кода, успех ==== */
@keyframes panelIn {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.register-sms-confirm.is-visible {
    animation: panelIn 0.35s ease;
}

@keyframes digitPop {
    0% { transform: scale(1); }
    40% { transform: scale(1.15); }
    100% { transform: scale(1); }
}
.register-sms-digit.is-pop {
    animation: digitPop 0.2s ease;
}

@keyframes digitShake {
    10%, 90% { transform: translateX(-2px); }
    20%, 80% { transform: translateX(4px); }
    30%, 50%, 70% { transform: translateX(-8px); }
    40%, 60% { transform: translateX(8px); }
}
.register-sms-code-inputs.is-shake {
    animation: digitShake 0.5s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.register-sms-error.is-visible {
    animation: fadeUp 0.3s ease;
}

.register-sms-success-icon {
    margin: 10px auto 0;
    display: block;
}
@keyframes circleIn {
    from { opacity: 0; transform: scale(0.4); }
    to { opacity: 1; transform: scale(1); }
}
.register-sms-success-icon.is-visible {
    animation: circleIn 0.35s cubic-bezier(.34, 1.56, .64, 1);
}
.register-sms-success-icon .success-check {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}
@keyframes checkDraw {
    to { stroke-dashoffset: 0; }
}
.register-sms-success-icon.is-visible .success-check {
    animation: checkDraw 0.35s 0.2s ease forwards;
}