/* Обновление авторизации 29.05.2025 */
.auth_page.auth-refresh {
    color: #4a4a4a;
}

.auth-refresh,
.auth-refresh * {
    box-sizing: border-box;
}

.auth-refresh .cat-top {
    display: block;
    margin: 0 0 20px;
    padding: 0;
}

.auth-refresh .cat-title {
    color: #4a4a4a;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
}

.auth-refresh .auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 292px;
    margin: 0;
}

.auth-refresh .auth-form--register {
    width: 304px;
}

.auth-refresh .auth-field,
.auth-refresh .auth-form--register .auth-field,
.auth-refresh .auth-form--register .auth-primary,
.auth-refresh .auth-form--register .auth-account-line,
.auth-refresh .auth-form--register .auth-agreement,
.auth-refresh .auth-form--register .auth-checkbox {
    width: 292px;
}

.auth-refresh .auth-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.auth-refresh .auth-label {
    display: block;
    margin: 0;
    padding: 0;
    color: #4a4a4a;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.auth-refresh .auth-control,
.auth-refresh input.auth-control.form-control,
.auth-refresh input.auth-control.myinput {
    display: block;
    width: 100%;
    height: 39px;
    margin: 0;
    padding: 8px 12px;
    color: #4a4a4a;
    background: #fff;
    border: 1px solid #9b9b9b;
    border-radius: 4px;
    box-shadow: none;
    outline: none;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}

.auth-refresh .auth-control::placeholder {
    color: #9b9b9b;
    opacity: 1;
}

.auth-refresh .auth-control:focus {
    border-color: #4a4a4a;
    box-shadow: none;
}

.auth-refresh .auth-input-wrap {
    position: relative;
    width: 100%;
}

.auth-refresh .auth-input-wrap .auth-control {
    padding-right: 40px;
}

.auth-refresh .auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 4px;
    color: #9b9b9b;
    background: transparent;
    border: 0;
    border-radius: 0;
    outline: none;
    transform: translateY(-50%);
    cursor: pointer;
    transition: color .14s ease;
}

.auth-refresh .auth-password-toggle:hover,
.auth-refresh .auth-password-toggle:focus {
    color: #737373;
}

.auth-refresh .auth-password-toggle:active {
    color: #4a4a4a;
}

.auth-refresh .auth-password-toggle:focus-visible {
    outline: 1px solid #9b9b9b;
    outline-offset: 1px;
}

.auth-refresh .auth-eye {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-refresh .auth-eye-off {
    display: none;
}

.auth-refresh .auth-password-toggle.is-visible .auth-eye-open {
    display: none;
}

.auth-refresh .auth-password-toggle.is-visible .auth-eye-off {
    display: block;
}

.auth-refresh .auth-primary,
.auth-refresh .auth-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 292px;
    min-height: 36px;
    padding: 8px 30px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: .26px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .14s ease, border-color .14s ease, color .14s ease;
}

.auth-refresh .auth-primary {
    color: #fff;
    background: #c40006;
    border: 1px solid #c40006;
    text-transform: uppercase;
}

.auth-refresh .auth-primary:hover,
.auth-refresh .auth-primary:focus {
    color: #fff;
    background: #a90005;
    border-color: #a90005;
    text-decoration: none;
}

.auth-refresh .auth-primary:active {
    color: #fff;
    background: #8f0004;
    border-color: #8f0004;
}

.auth-refresh .auth-secondary {
    color: #c40006;
    background: #fff;
    border: 1px solid #c40006;
}

.auth-refresh .auth-secondary:hover,
.auth-refresh .auth-secondary:focus {
    color: #a90005;
    background: #fff5f5;
    border-color: #a90005;
    text-decoration: none;
}

.auth-refresh .auth-secondary:active,
.auth-refresh .auth-secondary.is-active {
    color: #8f0004;
    background: #f9e8e8;
    border-color: #8f0004;
    text-decoration: none;
}

.auth-refresh .auth-help-toggle {
    align-self: center;
    margin: 0;
    padding: 0;
    color: #c40006;
    background: transparent;
    border: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: .26px;
    text-align: center;
    cursor: pointer;
    transition: color .14s ease;
}

.auth-refresh .auth-help-toggle:hover,
.auth-refresh .auth-help-toggle:focus {
    color: #a90005;
}

.auth-refresh .auth-help-toggle:active {
    color: #8f0004;
}

.auth-refresh .auth-help-options {
    display: none;
    flex-direction: column;
    gap: 8px;
    width: 292px;
}

.auth-refresh .auth-help-options.is-open {
    display: flex;
    animation: authHintIn .16s ease-out both;
}

.auth-refresh .auth-action-hint {
    width: 292px;
    margin: 0;
    color: #6c6c6c;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    animation: authHintIn .16s ease-out both;
}

.auth-refresh .auth-account-line,
.auth-refresh .auth-agreement,
.auth-refresh .auth-note,
.auth-refresh .auth-checkbox {
    color: #4a4a4a;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
}

.auth-refresh .auth-account-line,
.auth-refresh .auth-agreement {
    width: 292px;
    margin: 0;
    text-align: center;
}

.auth-refresh .auth-account-line a,
.auth-refresh .auth-agreement a {
    color: #4a4a4a;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .14s ease;
}

.auth-refresh .auth-account-line a:hover,
.auth-refresh .auth-account-line a:focus,
.auth-refresh .auth-agreement a:hover,
.auth-refresh .auth-agreement a:focus {
    color: #2f2f2f;
    text-decoration: underline;
}

.auth-refresh .auth-account-line a:active,
.auth-refresh .auth-agreement a:active {
    color: #1f1f1f;
}

.auth-refresh .auth-note {
    width: 292px;
    margin: 0;
}

.auth-refresh .error-text,
.auth-refresh .errorMessage,
.auth-refresh .auth-feedback {
    margin: 0;
    color: #c40006;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

.auth-refresh .auth-feedback.is-success {
    color: #4a4a4a;
}

.auth-refresh .auth-feedback.is-error {
    color: #c40006;
}

.auth-refresh .auth-feedback:not(:empty) {
    animation: authHintIn .16s ease-out both;
}

.auth-refresh .error-text:empty,
.auth-refresh .errorMessage:empty,
.auth-refresh .auth-feedback:empty {
    display: none !important;
}

.auth-refresh .auth-field.error .auth-control,
.auth-refresh .auth-input-wrap.error .auth-control,
.auth-refresh .auth-field.auth-token-error .auth-control,
.auth-refresh .auth-captcha.error {
    border-color: #c40006;
}

.auth-refresh .auth-checkbox {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    cursor: pointer;
}

.auth-refresh .auth-checkbox-input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.auth-refresh .auth-checkbox-box {
    position: relative;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    background: #fff;
    border: 1px solid #9b9b9b;
    border-radius: 2px;
    transition: background-color .14s ease, border-color .14s ease;
}

.auth-refresh .auth-checkbox:hover .auth-checkbox-box {
    border-color: #737373;
}

.auth-refresh .auth-checkbox-input:checked + .auth-checkbox-box {
    background: #c40006;
    border-color: #c40006;
}

.auth-refresh .auth-checkbox-input:checked + .auth-checkbox-box::after {
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    content: '';
}

.auth-refresh .auth-checkbox-input:focus-visible + .auth-checkbox-box {
    outline: 1px solid #4a4a4a;
    outline-offset: 2px;
}

.auth-refresh .auth-captcha {
    width: 304px;
}

.auth-refresh .auth-captcha .smart-captcha {
    width: 304px;
    min-height: 100px;
}

.auth-refresh .auth-captcha .error-text,
.auth-refresh .auth-captcha .errorMessage {
    margin-top: 4px;
}

.auth-refresh .auth-loading {
    opacity: .65;
    pointer-events: none;
}

@keyframes authHintIn {
    from {
        opacity: 0;
        transform: translateY(-2px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-refresh .auth-primary,
    .auth-refresh .auth-secondary,
    .auth-refresh .auth-help-toggle,
    .auth-refresh .auth-password-toggle,
    .auth-refresh .auth-account-line a,
    .auth-refresh .auth-agreement a,
    .auth-refresh .auth-checkbox-box {
        transition: none;
    }

    .auth-refresh .auth-help-options.is-open,
    .auth-refresh .auth-action-hint,
    .auth-refresh .auth-feedback:not(:empty) {
        animation: none;
    }
}

@media (max-width: 767px) {
    .auth-refresh .auth-form,
    .auth-refresh .auth-form--register,
    .auth-refresh .auth-field,
    .auth-refresh .auth-form--register .auth-field,
    .auth-refresh .auth-primary,
    .auth-refresh .auth-secondary,
    .auth-refresh .auth-help-options,
    .auth-refresh .auth-action-hint,
    .auth-refresh .auth-account-line,
    .auth-refresh .auth-agreement,
    .auth-refresh .auth-note,
    .auth-refresh .auth-checkbox,
    .auth-refresh .auth-form--register .auth-primary,
    .auth-refresh .auth-form--register .auth-account-line,
    .auth-refresh .auth-form--register .auth-agreement,
    .auth-refresh .auth-form--register .auth-checkbox {
        width: 100%;
        max-width: none;
    }

    .auth-refresh .auth-captcha,
    .auth-refresh .auth-captcha .smart-captcha {
        width: 304px;
        max-width: 100%;
    }
}

