body.auth-screen-page {
    --ks-font: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    --ks-white: #ffffff;
    --ks-azure-28: #2f4a61;
    --ks-azure-35: #3a5f7a;
    --ks-azure-42: #5b6b7c;
    --ks-azure-43: #2b6faf;
    --ks-azure-55: #4891d2;
    --ks-azure-60: #8a97a6;
    --ks-azure-82: #c5d0dc;
    --ks-grey-91: #e1e8f0;
    --ks-grey-95: #e8f3fc;
    --ks-grey-97: #f5f8fb;
    --ks-danger: #d64545;
    --ks-focus: 0 0 0 2px rgba(72, 145, 210, 0.25);
    --ks-shadow-btn: 0 1px 1px rgba(47, 74, 97, 0.13);
    --ks-shadow-popover: 0 4px 12px rgba(47, 74, 97, 0.16);
    --ks-radius: 6px;
    --ks-control-h: 40px;
    margin: 0;
    min-height: 100vh;
    font-family: var(--ks-font);
    color: var(--ks-azure-28);
    background: var(--ks-white);
}

.auth-screen {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 32px 16px;
    font-family: var(--ks-font);
    color: var(--ks-azure-28);
    background: var(--ks-white);
}

.auth-screen *,
.auth-screen *::before,
.auth-screen *::after {
    box-sizing: border-box;
}

.auth-screen__card {
    width: 100%;
    max-width: 400px;
}

.auth-screen__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.auth-screen__logo img {
    display: block;
    width: 170px;
    height: auto;
}

.auth-screen__title {
    margin: 0 0 16px;
    font-family: var(--ks-font);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0;
    text-align: center;
    color: var(--ks-azure-28);
}

.auth-screen__lead {
    margin: -8px 0 16px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    color: var(--ks-azure-42);
}

.auth-screen__form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.auth-screen__field {
    margin: 0 0 8px;
}

.auth-screen__field--hidden {
    display: none;
    margin: 0;
}

.auth-screen__label {
    display: block;
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    color: var(--ks-azure-42);
}

.auth-screen__required {
    color: var(--ks-danger);
}

.auth-screen__input,
.auth-screen textarea.auth-screen__input,
.auth-screen .form-control {
    width: 100%;
    min-height: var(--ks-control-h);
    padding: 8px 12px;
    border: 1px solid var(--ks-grey-91);
    border-radius: var(--ks-radius);
    background: var(--ks-white);
    box-shadow: none;
    font-family: var(--ks-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--ks-azure-42);
}

.auth-screen textarea.auth-screen__input,
.auth-screen textarea.form-control {
    min-height: 96px;
    padding: 10px 12px;
    resize: vertical;
}

.auth-screen__input::placeholder,
.auth-screen textarea.auth-screen__input::placeholder,
.auth-screen .form-control::placeholder {
    color: var(--ks-azure-60);
}

.auth-screen__input:focus,
.auth-screen textarea.auth-screen__input:focus,
.auth-screen .form-control:focus {
    outline: none;
    border-color: var(--ks-azure-55);
    box-shadow: var(--ks-focus);
}

.auth-screen__field.has-error .auth-screen__input,
.auth-screen__field.has-error textarea.auth-screen__input,
.auth-screen__field.has-error .form-control {
    border-color: var(--ks-danger);
}

.auth-screen__error,
.auth-screen .help-block {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.3;
    color: var(--ks-danger);
}

.auth-screen__hint {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.3;
    color: var(--ks-azure-60);
}

.auth-screen__password {
    position: relative;
}

.auth-screen__password .auth-screen__input {
    padding-right: 40px;
}

.auth-screen__password-toggle {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--ks-control-h);
    height: var(--ks-control-h);
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ks-azure-42);
    cursor: pointer;
}

.auth-screen__password-toggle:hover {
    opacity: 0.8;
}

.auth-screen__password-toggle:focus {
    outline: none;
    box-shadow: var(--ks-focus);
    border-radius: var(--ks-radius);
}

.auth-screen__check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0 6px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    color: var(--ks-azure-42);
    cursor: pointer;
}

.auth-screen__check-input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.auth-screen__check-box {
    position: relative;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 1px solid var(--ks-azure-82);
    border-radius: 2px;
    background: var(--ks-white);
}

.auth-screen__check-input:checked + .auth-screen__check-box {
    border-color: var(--ks-azure-43);
    background: var(--ks-azure-43);
}

.auth-screen__check-input:checked + .auth-screen__check-box::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 8px;
    border: solid var(--ks-white);
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.auth-screen__check-input:focus + .auth-screen__check-box {
    box-shadow: var(--ks-focus);
}

.auth-screen__actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

.auth-screen__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: var(--ks-control-h);
    padding: 0 16px;
    border: 0;
    border-radius: var(--ks-radius);
    background: linear-gradient(180deg, var(--ks-azure-35) 0%, var(--ks-azure-28) 100%);
    box-shadow: var(--ks-shadow-btn);
    font-family: var(--ks-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    color: var(--ks-white);
    cursor: pointer;
}

.auth-screen__btn:hover {
    background: linear-gradient(180deg, #35566f 0%, #274054 100%);
}

.auth-screen__btn:focus {
    outline: none;
    box-shadow: var(--ks-focus);
}

.auth-screen__btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.auth-screen__btn--secondary {
    border: 1px solid var(--ks-grey-91);
    background: var(--ks-white);
    box-shadow: none;
    color: var(--ks-azure-42);
    font-weight: 500;
}

.auth-screen__btn--secondary:hover {
    background: var(--ks-grey-97);
}

.auth-screen__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

.auth-screen__link {
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    color: var(--ks-azure-42);
    text-decoration: none;
}

.auth-screen__link:hover {
    color: var(--ks-azure-43);
    text-decoration: underline;
}

.auth-screen__captcha {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-screen__captcha-img img {
    display: block;
    height: auto;
    max-height: 48px;
    width: auto;
    cursor: pointer;
}

.auth-screen__captcha-input {
    flex: 1 1 auto;
    min-width: 0;
}

.auth-screen__captcha-input .auth-screen__input {
    width: 100%;
}

.auth-screen__turnstile {
    margin: 4px 0 8px;
}

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

.auth-screen__alert {
    padding: 8px 10px;
    border: 1px solid var(--ks-grey-91);
    border-radius: var(--ks-radius);
    background: var(--ks-grey-97);
    font-size: 14px;
    line-height: 1.4;
    color: var(--ks-azure-28);
}

.auth-screen__alert--success {
    background: var(--ks-grey-95);
    color: var(--ks-azure-28);
}

.auth-screen__alert--danger,
.auth-screen__alert--warning {
    border-color: var(--ks-danger);
    color: var(--ks-danger);
    background: var(--ks-white);
}

.auth-screen__alert--info {
    color: var(--ks-azure-42);
}
