/**
 * РЎС‚СЂР°РЅРёС†Р° Р°РІС‚РѕСЂРёР·Р°С†РёРё /auth/ вЂ” С€Р°Р±Р»РѕРЅ cabinetVue
 */

.auth-page {
    background-color: #000000;
    background-image:
    radial-gradient(51.5% 62.25% at 100% 50%, #00ceff1a 0, rgb(0 0 0 / 0%) 100%), radial-gradient(53.92% 54.81% at 0 27.54%, #00ceff1a 0, rgb(0 0 0 / 72%) 100%);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0 auto;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    padding: 80px 24px 24px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

html:has(.auth-page),
body:has(.auth-page) {
    overflow: hidden;
    height: 100%;
    max-height: 100%;
}

body:has(.auth-page) .lx-bg,
body:has(.auth-page)::before {
    display: none;
}

.auth-glass {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: #15171c;
    border-top: 1px solid #ffffff05;
    border-bottom: 1px solid #ffffff05;
    border-radius: 14px;
}

.auth-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.auth-shell__main {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 460px;
    flex-shrink: 0;
    min-height: 0;
}

.auth-panels {
    position: relative;
    transition: min-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-panel-pane {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition:
        opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.35s;
    pointer-events: none;
}

.auth-panel-pane.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.auth-panel-pane:not(.is-active) {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

@media (prefers-reduced-motion: reduce) {
    .auth-panels,
    .auth-panel-pane,
    .auth-login-extras {
        transition: none !important;
    }
}

.auth-panel {
    position: relative;
    z-index: 1;
    padding: 32px 32px 36px;
}

.auth-panel__welcome {
    margin: 0 0 28px;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    color: #f8fafc;
}

.auth-slogan {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
    max-width: 520px;
}

.auth-slogan__text {
    margin: 0;
    background: linear-gradient(180deg, #f8fafc, #6b778d);
    text-align: left;
    font-size: 32px;
    font-weight: 100;
    line-height: 33px;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: rgba(0, 0, 0, 0);
}

.auth-login-extras {
    margin-top: 12px;
    overflow: hidden;
    opacity: 1;
    transition:
        max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-login-extras.is-collapsed {
    max-height: 0 !important;
    margin-top: 0;
    opacity: 0;
    pointer-events: none;
}

.auth-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.auth-action-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    min-height: 140px;
    padding: 20px;
    color: #f8fafc;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.auth-action-card:hover {
    background: #1c1f26;
    border-color: #ffffff05;
    transform: translateY(-1px);
}

.auth-action-card__icon {
    display: flex;
    color: #ffb400;
}

.auth-action-card__text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    color: #f1f5f9;
}

.auth-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    flex-shrink: 0;
    width: 100%;
    max-width: 1200px;
    margin: 24px auto 0;
    padding: 0 8px;
    font-size: 13px;
    color: #64748b;
}

.auth-footer__copy {
    flex-shrink: 0;
}

.auth-footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
}

.auth-footer-links a {
    color: #64748b;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-footer-links a:hover {
    color: #94a3b8;
}

.auth-form-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 14px;
    box-shadow: none;
}

.auth-form .field-row {
    margin-bottom: 16px;
}

.auth-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #94a3b8;
}

.auth-form input[type="text"],
.auth-form input[type="password"],
.auth-form input[type="tel"],
.auth-form-aspro .form-control,
.auth-form-aspro select.form-control,
.auth-form-aspro textarea.form-control,
.auth-form-wrap .bx-auth-reg input[type="text"],
.auth-form-wrap .bx-auth-reg input[type="password"],
.auth-form-wrap .bx-auth-reg select {
    width: 100%;
    background-color: transparent !important;
    background: transparent !important;
    border: 1px solid #ffffff05 !important;
    border-radius: 14px !important;
    padding: 15px 17px !important;
    color: #f8fafc !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    outline: none;
    height: 50px !important;
    caret-color: #f8fafc !important;
}

.auth-form-wrap .bx-auth-reg textarea {
    width: 100%;
    background-color: transparent !important;
    background: transparent !important;
    border: 1px solid #ffffff05 !important;
    border-radius: 14px !important;
    padding: 15px 17px !important;
    color: #f8fafc !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    outline: none;
    caret-color: #f8fafc !important;
    min-height: 50px;
}

.auth-form-wrap .bx-auth-reg input[type="text"],
.auth-form-wrap .bx-auth-reg input[type="password"],
.auth-form-wrap .bx-auth-reg select,
.auth-form-wrap .bx-auth-reg textarea {
    margin-top: 6px;
}

.auth-form input::placeholder,
.auth-form-wrap .bx-auth-reg input::placeholder,
.auth-form-wrap .bx-auth-reg textarea::placeholder {
    color: #64748b;
}

.auth-form input[type="text"]:focus,
.auth-form input[type="password"]:focus,
.auth-form input[type="tel"]:focus {
    border-color: #ffffff05 !important;
}

.auth-form-aspro .form-control:focus,
.auth-form-aspro select.form-control:focus,
.auth-form-aspro textarea.form-control:focus,
.auth-form-wrap .bx-auth-reg input[type="text"]:focus,
.auth-form-wrap .bx-auth-reg input[type="password"]:focus,
.auth-form-wrap .bx-auth-reg select:focus,
.auth-form-wrap .bx-auth-reg textarea:focus {
    border-color: #ffffff05 !important;
}

.auth-form .submit-row {
    margin-top: 24px;
}

.auth-form .btn-submit {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    font-weight: 500;
    color: #f8fafc;
    background-color: var(--cv-accent, #2fc6f6);
    border: 1px solid #ffffff05;
    border-radius: 14px;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
}

.auth-form .btn-submit:hover {
    background-color: var(--cv-accent-hover, #1eb8e8);
    opacity: 0.95;
}

.auth-form .error-msg {
    margin-bottom: 16px;
    padding: 10px 12px;
    font-size: 14px;
    color: #c00;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 14px;
    border: 1px solid #ffffff05;
}

.auth-form-wrap .error-msg {
    margin-bottom: 16px;
    padding: 10px 12px;
    font-size: 14px;
    color: #f87171;
    background: rgba(220, 38, 38, 0.12);
    border-radius: 14px;
    border: 1px solid #ffffff05;
}

.auth-form-wrap__title {
    font-size: 24px;
    font-weight: 500;
    color: #f8fafc;
    margin: 0 0 8px;
}

.auth-form-wrap__title--tabbed {
    margin-top: 0;
}

.auth-form-wrap__lead {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.45;
    color: #94a3b8;
}

.auth-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    margin: 0 0 24px;
    border-radius: 14px;
    overflow: visible;
    border: 1px solid #ffffff05;
    background: #1e293b;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    color: #94a3b8;
    text-decoration: none;
    background: transparent;
    border: 1px solid #ffffff05;
    border-radius: 14px;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
}

.auth-tab:hover {
    color: #f1f5f9;
}

.auth-tab.is-active {
    color: #f8fafc;
    font-weight: 600;
    background: #3d4658;
}

.auth-form__checkboxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0 0;
}

.auth-checkbox {
    position: relative;
}

.auth-checkbox__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

.auth-checkbox__label {
    display: block;
    position: relative;
    padding: 0 0 0 28px;
    margin: 0;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.45;
    color: #94a3b8;
    min-height: 20px;
}

.auth-checkbox__text a {
    color: var(--cv-accent, #2fc6f6);
    text-decoration: none;
}

.auth-checkbox__text a:hover {
    text-decoration: underline;
}

.auth-checkbox__box {
    position: absolute;
    top: 1px;
    left: 0;
    width: 20px;
    height: 20px;
    box-sizing: border-box;
    border-radius: 14px;
    background: transparent;
    border: 1px solid #ffffff05;
    transition: border-color 0.2s, background 0.2s;
}

.auth-checkbox__label:hover .auth-checkbox__box {
    border-color: #ffffff05;
}

.auth-checkbox__input:checked + .auth-checkbox__label {
    color: #f1f5f9;
}

.auth-checkbox__input:checked + .auth-checkbox__label .auth-checkbox__box {
    border: 1px solid #ffffff05;
    background: var(--cv-accent, #2fc6f6);
}

.auth-checkbox__input:checked + .auth-checkbox__label .auth-checkbox__box::before {
    content: "";
    position: absolute;
    left: -3px;
    top: 0;
    width: 4px;
    height: 8px;
    border-right: 1px solid #ffffff05;
    border-bottom: 1px solid #ffffff05;
    transform: rotate(45deg);
    box-sizing: content-box;
}

.auth-form-wrap__switch {
    margin: 20px 0 0;
    font-size: 14px;
    text-align: center;
}

.auth-form-wrap__switch a {
    color: var(--cv-accent, #2fc6f6);
    text-decoration: none;
}

.auth-form-wrap__switch a:hover {
    text-decoration: underline;
}

.auth-form__links {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}

.auth-form__links a {
    color: var(--cv-accent, #2fc6f6);
    text-decoration: none;
}

.auth-form__links a:hover {
    text-decoration: underline;
}

.auth-form__hint {
    margin: 8px 0 0;
    font-size: 12px;
    color: #64748b;
}

.auth-form__social {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #ffffff05;
}

.auth-form__social-label {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.auth-form .field-row--checkbox {
    display: none;
}

.auth-captcha-img {
    display: block;
    margin: 8px 0;
    border-radius: 14px;
}

/* Р¤РѕСЂРјР° СЂРµРіРёСЃС‚СЂР°С†РёРё (bitrix:main.register, С€Р°Р±Р»РѕРЅ .default) */
.auth-form-wrap .bx-auth-reg {
    color: #f1f5f9;
}

.auth-form-wrap .bx-auth-reg table {
    width: 100%;
    border-collapse: collapse;
}

.auth-form-wrap .bx-auth-reg thead td {
    display: none;
}

.auth-form-wrap .bx-auth-reg tbody td {
    display: block;
    width: 100% !important;
    padding: 0 0 4px;
    border: 1px solid #ffffff05;
    color: #94a3b8;
    font-size: 14px;
}

.auth-form-wrap .bx-auth-reg tbody td + td {
    padding-bottom: 16px;
}

.auth-form-wrap .bx-auth-reg input[type="file"] {
    width: 100%;
    margin-top: 6px;
    padding: 12px 17px;
    font-size: 14px;
    border: 1px solid #ffffff05;
    border-radius: 14px;
    box-sizing: border-box;
    background: transparent;
    color: #f8fafc;
}

.auth-form-wrap .bx-auth-reg tfoot td {
    display: block;
    padding: 8px 0 0;
    border: 1px solid #ffffff05;
}

.auth-form-aspro .auth-field__box .form-control,
.auth-form-aspro .auth-field__box select.form-control,
.auth-form-aspro .auth-field__box textarea.form-control {
    border-color: #ffffff05 !important;
}

.auth-form-aspro .auth-field__box .form-control:focus,
.auth-form-aspro .auth-field__box select.form-control:focus,
.auth-form-aspro .auth-field__box textarea.form-control:focus {
    border-color: #ffffff05 !important;
}

.auth-form-aspro .auth-field__input--textarea {
    height: auto !important;
    min-height: 100px;
    resize: vertical;
}

.auth-form-aspro select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239aa4b2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px !important;
}

.auth-form-aspro .auth-field__input--file {
    height: auto !important;
    min-height: 50px;
    padding: 12px 17px !important;
}

.auth-form-reg .form-body {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.auth-form-reg .auth-field .form-control,
.auth-form-reg .auth-field__input {
    margin-top: 0 !important;
}

.auth-form-reg .form-footer {
    padding-top: 4px;
}

.auth-form-reg .auth-form-aspro__privacy {
    margin-bottom: 20px;
}

.auth-form-reg .auth-field {
    margin-bottom: 20px;
}

.auth-form-reg__hint,
.auth-form-reg__note {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: #94a3b8;
}

.auth-form-reg__success {
    color: #86efac;
    background: rgba(34, 197, 94, 0.12);
    border-color: #ffffff05;
}

.auth-form-reg .auth-field--custom .auth-field__box--custom input[type="text"],
.auth-form-reg .auth-field--custom .auth-field__box--custom input[type="password"],
.auth-form-reg .auth-field--custom .auth-field__box--custom input[type="email"],
.auth-form-reg .auth-field--custom .auth-field__box--custom select,
.auth-form-reg .auth-field--custom .auth-field__box--custom textarea {
    width: 100%;
    background: transparent !important;
    border: 1px solid #ffffff05 !important;
    border-radius: 14px !important;
    padding: 15px 17px !important;
    color: #f8fafc !important;
    font-size: 14px !important;
    box-sizing: border-box;
    outline: none;
}

.auth-form-reg .auth-field--custom .auth-field__box--custom input:focus,
.auth-form-reg .auth-field--custom .auth-field__box--custom select:focus,
.auth-form-reg .auth-field--custom .auth-field__box--custom textarea:focus {
    border-color: #ffffff05 !important;
}

.auth-form-wrap .bx-auth-reg input[type="submit"],
.auth-form-wrap .bx-auth-reg input[name="register_submit_button"],
.auth-form-wrap .bx-auth-reg input[name="code_submit_button"] {
    width: 100%;
    margin-top: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #0b0f1a;
    background-color: #e6a200;
    border: 1px solid #ffffff05;
    border-radius: 14px;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
}

.auth-form-wrap .bx-auth-reg input[type="submit"]:hover {
    background-color: #e6b400;
}

.auth-form-wrap .bx-auth-reg .starrequired {
    color: #f87171;
}

.auth-form-wrap .bx-auth-reg > p {
    font-size: 13px;
    color: #94a3b8;
    margin: 12px 0 0;
}

/* РЁС‚Р°С‚РЅР°СЏ С„РѕСЂРјР° Aspro (cabinet) */
.auth-form-aspro {
    position: relative;
}

.auth-form-aspro__form {
    margin: 0;
}

.auth-form-aspro__error {
    margin-bottom: 16px;
    padding: 10px 12px;
    font-size: 14px;
    color: #f87171;
    background: rgba(220, 38, 38, 0.12);
    border-radius: 14px;
    border: 1px solid #ffffff05;
}

.auth-form-aspro .form-group {
    margin-bottom: 16px;
}

.auth-form-aspro .auth-field {
    margin-bottom: 20px;
}

.auth-form-aspro__label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #94a3b8;
}

.auth-form-aspro .auth-field__label {
    position: absolute;
    top: 0;
    left: 14px;
    z-index: 2;
    margin: 0;
    padding: 0 6px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
    color: #94a3b8;
    background: #15171c;
    pointer-events: none;
    transform: translateY(-50%);
}

.auth-form-aspro .auth-field__box:focus-within .auth-field__label {
    color: #f8fafc;
}

.auth-form-aspro .auth-field .required-star {
    color: inherit;
}

.auth-form-aspro .required-star {
    color: #f87171;
}

.auth-form-aspro .input {
    position: relative;
}

.auth-form-aspro .eye-password .input {
    position: relative;
}

.auth-form-aspro .eye-password .input::after {
    content: "";
    position: absolute;
    right: 1px;
    top: 1px;
    z-index: 3;
    width: 48px;
    height: 48px;
    cursor: pointer;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%239aa4b2' stroke-width='1.5' d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3' stroke='%239aa4b2' stroke-width='1.5'/%3E%3Cline x1='4' y1='4' x2='20' y2='20' stroke='%239aa4b2' stroke-width='1.5'/%3E%3C/svg%3E") center / 20px no-repeat;
    pointer-events: auto;
}

.auth-form-aspro .eye-password.password-show .input::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%239aa4b2' stroke-width='1.5' d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3' stroke='%239aa4b2' stroke-width='1.5'/%3E%3C/svg%3E");
}

.auth-form-aspro .eye-password .form-control {
    padding-right: 52px !important;
}

.auth-form-aspro .auth__bottom {
    padding-top: 4px;
}

.auth-form-aspro .auth__bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.auth-form-aspro .auth-form-aspro__forgot {
    flex-shrink: 0;
    font-size: 13px;
    color: #f1f5f9;
    text-decoration: none;
    padding-top: 0;
}

.auth-form-aspro .auth-form-aspro__forgot:hover {
    color: #f8fafc;
    text-decoration: underline;
}

.auth-form-aspro .auth-form-aspro__privacy {
    margin-bottom: 20px;
}

.auth-form-aspro .form-checkbox {
    position: relative;
}

.auth-form-aspro .form-checkbox__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.auth-form-aspro .form-checkbox__label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.5;
    color: #f8fafc;
    min-height: 20px;
}

.auth-form-aspro .auth__bottom-row .form-checkbox__label {
    align-items: center;
}

.auth-form-aspro .form-checkbox__text {
    display: block;
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.auth-form-aspro .form-checkbox__text a {
    color: #f8fafc;
    text-decoration: underline;
}

.auth-form-aspro .form-checkbox__text a:hover {
    opacity: 0.85;
}

.auth-form-aspro .form-checkbox__box {
    position: relative;
    top: auto;
    left: auto;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 6px;
    background: transparent;
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.auth-form-aspro .auth-form-aspro__privacy .form-checkbox__box {
    margin-top: 2px;
}

.auth-form-aspro .form-checkbox__label:hover .form-checkbox__box {
    border-color: #ffffff05;
}

.auth-form-aspro .form-checkbox__input:focus-visible + .form-checkbox__label .form-checkbox__box {
    border-color: #ffffff05;
    box-shadow: 0 0 0 2px rgba(255, 200, 0, 0.2);
}

.auth-form-aspro .form-checkbox__input:checked + .form-checkbox__label {
    color: #f8fafc;
}

.auth-form-aspro .form-checkbox__input:checked + .form-checkbox__label .form-checkbox__box {
    background-color: #ffb400;
    border-color: #ffb400;
}

.auth-form-aspro .form-checkbox__input:checked + .form-checkbox__label .form-checkbox__box::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 0px;
    width: 5px;
    height: 10px;
    border: solid #0b0d10;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.auth-form-aspro .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffffff05;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, opacity 0.2s;
}

.auth-form-aspro .btn-default {
    background: #ffb400;
    color: #0b0d10;
    font-weight: 500;
}

.auth-form-aspro .btn-default:hover {
    background: #ffc233;
}

.auth-form-aspro .btn-lg {
    min-height: 50px;
    padding: 12px 24px;
    font-size: 15px;
    border-radius: 14px;
}

.auth-form-aspro .btn-wide {
    width: 100%;
}

.auth-form-aspro .auth__bottom-btns {
    margin-bottom: 8px;
}

.auth-form-aspro .social_block {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #ffffff05;
}

.auth-form-aspro .social__title {
    font-size: 14px;
    color: #94a3b8;
    text-align: center;
    margin-bottom: 16px;
}

.auth-form-aspro .social__items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.auth-form-aspro .social__item {
    margin: 0;
    padding: 0;
}

.auth-form-aspro .social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 1023px) {
    .auth-slogan {
        display: none;
    }

    .auth-shell {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .auth-page {
        padding: 48px 16px 24px;
    }

    .auth-panel {
        padding: 24px 20px 28px;
    }

    .auth-panel__welcome {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .auth-actions {
        grid-template-columns: 1fr;
    }

    .auth-action-card {
        min-height: 120px;
    }

    .auth-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-top: 32px;
    }

    .auth-footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* Поля и кнопка: глобальный underline из legacy-base их схлопывает */
body.cabinet-app:has(.auth-page) {
    overflow: auto;
}

body.cabinet-app .auth-page {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: none;
    overflow: visible;
    padding: 40px 24px 24px;
}

body.cabinet-app .auth-shell,
body.cabinet-app .auth-shell__main {
    flex: 0 0 auto;
    overflow: visible;
}

body.cabinet-app .auth-page .auth-form-aspro input.form-control,
body.cabinet-app .auth-page .auth-form-aspro select.form-control,
body.cabinet-app .auth-page .auth-form input[type="text"],
body.cabinet-app .auth-page .auth-form input[type="password"],
body.cabinet-app .auth-page .auth-form input[type="tel"],
body.cabinet-app .auth-page .bx-auth-reg input[type="text"],
body.cabinet-app .auth-page .bx-auth-reg input[type="password"],
body.cabinet-app .auth-page .bx-auth-reg input[type="email"] {
    width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 14px !important;
    background: #0b0d10 !important;
    background-color: #0b0d10 !important;
    box-shadow: none !important;
    color: #e2e8f0 !important;
    caret-color: #e2e8f0 !important;
    font-size: 14px !important;
    line-height: 48px !important;
    outline: none !important;
}

body.cabinet-app .auth-page .auth-form-aspro textarea.form-control,
body.cabinet-app .auth-page .bx-auth-reg textarea {
    height: auto !important;
    min-height: 100px !important;
    padding: 14px 16px !important;
    line-height: 1.45 !important;
}

body.cabinet-app .auth-page .auth-form-aspro .eye-password input.form-control {
    padding-right: 48px !important;
}

body.cabinet-app .auth-page .auth-form-aspro input.form-control:focus,
body.cabinet-app .auth-page .auth-form input[type="text"]:focus,
body.cabinet-app .auth-page .auth-form input[type="password"]:focus,
body.cabinet-app .auth-page .bx-auth-reg input:focus,
body.cabinet-app .auth-page .bx-auth-reg textarea:focus {
    border-color: rgba(255, 255, 255, 0.32) !important;
    box-shadow: none !important;
}

body.cabinet-app .auth-page .auth-form-aspro .btn-default,
body.cabinet-app .auth-page .auth-form-aspro button[type="submit"],
body.cabinet-app .auth-page .auth-form .btn-submit,
body.cabinet-app .auth-page .bx-auth-reg input[type="submit"] {
    background: #ffb400 !important;
    background-color: #ffb400 !important;
    border: 0 !important;
    color: #0b0d10 !important;
    box-shadow: none !important;
}

body.cabinet-app .auth-page .auth-form-aspro .btn-default:hover,
body.cabinet-app .auth-page .auth-form-aspro button[type="submit"]:hover,
body.cabinet-app .auth-page .auth-form .btn-submit:hover {
    background: #ffc233 !important;
    background-color: #ffc233 !important;
    color: #0b0d10 !important;
}

body.cabinet-app .auth-page .form-checkbox__box {
    width: 20px !important;
    height: 20px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    background: transparent !important;
}

body.cabinet-app .auth-page .form-checkbox__input:checked + .form-checkbox__label .form-checkbox__box {
    background: #ffb400 !important;
    border-color: #ffb400 !important;
}

body.cabinet-app .auth-page .form-checkbox__input:checked + .form-checkbox__label .form-checkbox__box::after {
    border-color: #0b0d10 !important;
}

html[data-theme="light"] body.cabinet-app .auth-page {
    background: #f0f3f5;
    background-image: none;
}

html[data-theme="light"] body.cabinet-app .auth-page .auth-glass {
    background: #fff;
    border-color: transparent;
    box-shadow: 0 24px 40px #0000000d;
}

html[data-theme="light"] body.cabinet-app .auth-page .auth-panel__welcome,
html[data-theme="light"] body.cabinet-app .auth-page .auth-form-wrap__title,
html[data-theme="light"] body.cabinet-app .auth-page .auth-form-aspro .form-checkbox__label,
html[data-theme="light"] body.cabinet-app .auth-page .auth-form-aspro .auth-form-aspro__forgot,
html[data-theme="light"] body.cabinet-app .auth-page .auth-action-card,
html[data-theme="light"] body.cabinet-app .auth-page .auth-action-card__text {
    color: #28303f;
}

html[data-theme="light"] body.cabinet-app .auth-page .auth-form-wrap__lead,
html[data-theme="light"] body.cabinet-app .auth-page .auth-form label,
html[data-theme="light"] body.cabinet-app .auth-page .auth-form__hint {
    color: #6e788a;
}

html[data-theme="light"] body.cabinet-app .auth-page .auth-tabs {
    background: #f0f3f5;
    border-color: #e6e8ec;
}

html[data-theme="light"] body.cabinet-app .auth-page .auth-tab {
    color: #6e788a;
    border-color: transparent;
}

html[data-theme="light"] body.cabinet-app .auth-page .auth-tab.is-active {
    background: #fff;
    color: #28303f;
}

html[data-theme="light"] body.cabinet-app .auth-page .auth-field__label {
    background: #fff;
    color: #6e788a;
}

html[data-theme="light"] body.cabinet-app .auth-page .auth-field__box:focus-within .auth-field__label {
    color: #28303f;
}

html[data-theme="light"] body.cabinet-app .auth-page .auth-form-aspro input.form-control,
html[data-theme="light"] body.cabinet-app .auth-page .auth-form-aspro select.form-control,
html[data-theme="light"] body.cabinet-app .auth-page .auth-form input[type="text"],
html[data-theme="light"] body.cabinet-app .auth-page .auth-form input[type="password"],
html[data-theme="light"] body.cabinet-app .auth-page .auth-form input[type="tel"],
html[data-theme="light"] body.cabinet-app .auth-page .bx-auth-reg input[type="text"],
html[data-theme="light"] body.cabinet-app .auth-page .bx-auth-reg input[type="password"],
html[data-theme="light"] body.cabinet-app .auth-page .bx-auth-reg input[type="email"],
html[data-theme="light"] body.cabinet-app .auth-page .auth-form-aspro textarea.form-control {
    background: #f0f3f5 !important;
    background-color: #f0f3f5 !important;
    border-color: #e6e8ec !important;
    color: #28303f !important;
    caret-color: #28303f !important;
}

html[data-theme="light"] body.cabinet-app .auth-page .auth-form-aspro input.form-control:focus,
html[data-theme="light"] body.cabinet-app .auth-page .auth-form input:focus,
html[data-theme="light"] body.cabinet-app .auth-page .bx-auth-reg input:focus {
    border-color: #28303f !important;
}

html[data-theme="light"] body.cabinet-app .auth-page .auth-form-aspro .btn-default,
html[data-theme="light"] body.cabinet-app .auth-page .auth-form-aspro button[type="submit"],
html[data-theme="light"] body.cabinet-app .auth-page .auth-form .btn-submit,
html[data-theme="light"] body.cabinet-app .auth-page .bx-auth-reg input[type="submit"],
html[data-theme="light"] body.cabinet-app .auth-page .auth-form-aspro .btn-default:hover,
html[data-theme="light"] body.cabinet-app .auth-page .auth-form .btn-submit:hover {
    background: #ffc800 !important;
    background-color: #ffc800 !important;
    color: #28303f !important;
}

html[data-theme="light"] body.cabinet-app .auth-page .form-checkbox__box {
    border-color: #c5cad3 !important;
    background: #fff !important;
}

html[data-theme="light"] body.cabinet-app .auth-page .form-checkbox__input:checked + .form-checkbox__label .form-checkbox__box {
    background: #ffc800 !important;
    border-color: #ffc800 !important;
}

html[data-theme="light"] body.cabinet-app .auth-page .form-checkbox__input:checked + .form-checkbox__label .form-checkbox__box::after {
    border-color: #28303f !important;
}

html[data-theme="light"] body.cabinet-app .auth-page .auth-slogan__text {
    background: linear-gradient(180deg, #28303f, #6e788a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

html[data-theme="light"] body.cabinet-app .auth-page .auth-action-card__icon {
    color: #28303f;
}

html[data-theme="light"] body.cabinet-app .auth-page .auth-footer,
html[data-theme="light"] body.cabinet-app .auth-page .auth-footer-links a {
    color: #6e788a;
}
