body.to-auth-page--login {
    --to-auth-orange: #ff6600;
    --to-auth-orange-hover: #e85d00;
    --to-auth-orange-soft: #fff1e8;
    --to-auth-gray: #797979;
    --to-auth-dark: #2f2f2f;
    --to-auth-text: #555555;
    --to-auth-muted: #777777;
    --to-auth-bg: #f3f4f6;
    --to-auth-surface: #ffffff;
    --to-auth-border: #d9d9d9;
    --to-auth-border-soft: rgba(217, 217, 217, 0.72);
    --to-auth-danger: #dc2626;
    --to-auth-success: #15803d;
    --to-auth-warning: #b45309;
    --to-auth-focus: rgba(255, 102, 0, 0.24);
    --to-auth-shadow: 0 28px 80px rgba(47, 47, 47, 0.12);
    --to-auth-shadow-soft: 0 18px 45px rgba(47, 47, 47, 0.08);

    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--to-auth-text);
    background:
        radial-gradient(circle at 85% 5%, rgba(255, 102, 0, 0.13), transparent 28%),
        radial-gradient(circle at 7% 95%, rgba(121, 121, 121, 0.14), transparent 30%),
        linear-gradient(145deg, #ffffff 0%, #f3f4f6 100%);
    font-family: inherit;
}

.to-auth-page--login *,
.to-auth-page--login *::before,
.to-auth-page--login *::after {
    box-sizing: border-box;
}

.to-auth-page--login a {
    color: inherit;
    text-decoration: none;
}

.to-auth-page--login button,
.to-auth-page--login input {
    font: inherit;
}

.to-auth-login-shell {
    position: relative;
    width: min(1180px, calc(100% - 40px));
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    align-items: center;
    gap: 34px;
    margin: 0 auto;
    padding: 46px 0;
}

.to-auth-login-shell::before,
.to-auth-login-shell::after {
    content: "";
    position: fixed;
    z-index: -1;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(10px);
}

.to-auth-login-shell::before {
    width: 430px;
    height: 430px;
    top: -190px;
    right: -125px;
    background: rgba(255, 102, 0, 0.14);
}

.to-auth-login-shell::after {
    width: 360px;
    height: 360px;
    bottom: -155px;
    left: -120px;
    background: rgba(121, 121, 121, 0.15);
}

.to-auth-login-panel {
    width: 100%;
}

.to-auth-login-brand {
    margin-bottom: 22px;
}

.to-auth-login-brand__link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--to-auth-dark);
}

.to-auth-brand__media {
    width: 136px;
    min-width: 136px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8px 10px;
    border: 1px solid rgba(217, 217, 217, 0.78);
    border-radius: 18px;
    background: var(--to-auth-surface);
    box-shadow: var(--to-auth-shadow-soft);
}

.to-auth-brand__logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.to-auth-brand__content {
    display: grid;
    gap: 4px;
}

.to-auth-brand__title {
    color: var(--to-auth-dark);
    font-size: 18px;
    font-weight: 950;
    line-height: 1.4;
}

.to-auth-brand__subtitle {
    color: var(--to-auth-muted);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.7;
}

.to-auth-login-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 34px;
    border: 1px solid rgba(217, 217, 217, 0.78);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--to-auth-shadow);
    backdrop-filter: blur(18px);
}

.to-auth-login-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 34px;
    left: 34px;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, var(--to-auth-orange), var(--to-auth-orange-hover));
}

.to-auth-login-card__header {
    padding-top: 6px;
    margin-bottom: 24px;
}

.to-auth-card__eyebrow {
    width: max-content;
    max-width: 100%;
    margin: 0 0 10px;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--to-auth-orange);
    background: var(--to-auth-orange-soft);
    font-size: 12px;
    font-weight: 950;
    line-height: 1.6;
}

.to-auth-card__title {
    margin: 0;
    color: var(--to-auth-dark);
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 950;
    line-height: 1.45;
    letter-spacing: -0.03em;
}

.to-auth-card__description {
    margin: 12px 0 0;
    color: var(--to-auth-text);
    font-size: 14px;
    font-weight: 650;
    line-height: 2;
}

.to-auth-alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.9;
}

.to-auth-alert--success {
    color: var(--to-auth-success);
    border: 1px solid rgba(21, 128, 61, 0.18);
    background: rgba(220, 252, 231, 0.72);
}

.to-auth-alert--danger {
    color: var(--to-auth-danger);
    border: 1px solid rgba(220, 38, 38, 0.18);
    background: rgba(254, 226, 226, 0.72);
}

.to-auth-alert__title {
    display: block;
    margin-bottom: 6px;
    font-weight: 950;
}

.to-auth-alert__list {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0 18px 0 0;
}

.to-auth-login-form {
    display: grid;
    gap: 18px;
}

.to-auth-field {
    display: grid;
    gap: 8px;
}

.to-auth-field__label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.to-auth-field__label {
    color: var(--to-auth-dark);
    font-size: 13px;
    font-weight: 950;
    line-height: 1.7;
}

.to-auth-field__control {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid var(--to-auth-border);
    border-radius: 17px;
    color: var(--to-auth-dark);
    background: #ffffff;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.8;
    outline: none;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
}

.to-auth-field__control:focus {
    border-color: var(--to-auth-orange);
    box-shadow: 0 0 0 4px var(--to-auth-focus);
}

.to-auth-field__control.is-invalid {
    border-color: var(--to-auth-danger);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.10);
}

.to-auth-field__hint {
    margin: 0;
    color: var(--to-auth-muted);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.8;
}

.to-auth-field__error {
    margin: 0;
    color: var(--to-auth-danger);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.8;
}

.to-auth-password {
    position: relative;
}

.to-auth-password__control {
    padding-left: 84px;
}

.to-auth-password__toggle {
    position: absolute;
    top: 50%;
    left: 10px;
    min-width: 64px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 12px;
    color: var(--to-auth-orange);
    background: var(--to-auth-orange-soft);
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
    transition:
        color 0.18s ease,
        background-color 0.18s ease,
        transform 0.18s ease;
}

.to-auth-password__toggle:hover {
    color: var(--to-auth-surface);
    background: var(--to-auth-orange);
}

.to-auth-password__toggle:focus-visible {
    outline: 3px solid var(--to-auth-focus);
    outline-offset: 2px;
}

.to-auth-password__toggle:active {
    transform: translateY(-50%) scale(0.98);
}

.to-auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 2px;
}

.to-auth-check {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--to-auth-text);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.8;
    cursor: pointer;
}

.to-auth-check__input {
    width: 18px;
    height: 18px;
    accent-color: var(--to-auth-orange);
    cursor: pointer;
}

.to-auth-button {
    width: 100%;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 0;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.8;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
}

.to-auth-button--primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--to-auth-orange) 0%, var(--to-auth-orange-hover) 100%);
    box-shadow: 0 16px 32px rgba(255, 102, 0, 0.24);
}

.to-auth-button--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 38px rgba(255, 102, 0, 0.30);
}

.to-auth-button--primary:focus-visible {
    outline: 4px solid var(--to-auth-focus);
    outline-offset: 3px;
}

.to-auth-button--primary:active {
    transform: translateY(0);
}

.to-auth-login-submit {
    position: relative;
    margin-top: 4px;
}

.to-auth-login-card__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--to-auth-border-soft);
    color: var(--to-auth-text);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.8;
}

.to-auth-login-card__footer a {
    color: var(--to-auth-orange);
    font-weight: 950;
}

.to-auth-login-card__footer a:hover {
    color: var(--to-auth-orange-hover);
}

.to-auth-login-aside {
    width: 100%;
}

.to-auth-login-aside__inner {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 46px;
    border: 1px solid rgba(217, 217, 217, 0.68);
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 241, 232, 0.52)),
        radial-gradient(circle at top left, rgba(255, 102, 0, 0.15), transparent 36%);
    box-shadow: var(--to-auth-shadow-soft);
}

.to-auth-login-aside__inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 102, 0, 0.10), transparent 42%),
        radial-gradient(circle at top left, rgba(255, 241, 232, 0.92), transparent 40%);
    pointer-events: none;
}

.to-auth-login-aside__inner > * {
    position: relative;
    z-index: 1;
}

.to-auth-login-aside__badge {
    width: max-content;
    max-width: 100%;
    margin-bottom: 18px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 102, 0, 0.18);
    border-radius: 999px;
    color: var(--to-auth-orange);
    background: rgba(255, 241, 232, 0.82);
    font-size: 12px;
    font-weight: 950;
    line-height: 1.7;
}

.to-auth-aside__eyebrow {
    margin: 0 0 10px;
    color: var(--to-auth-gray);
    font-size: 13px;
    font-weight: 950;
    line-height: 1.8;
}

.to-auth-aside__title {
    max-width: 600px;
    margin: 0;
    color: var(--to-auth-dark);
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 950;
    line-height: 1.55;
    letter-spacing: -0.04em;
}

.to-auth-login-aside__text {
    max-width: 610px;
    margin: 16px 0 0;
    color: var(--to-auth-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 2.1;
}

.to-auth-login-steps {
    display: grid;
    gap: 12px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.to-auth-steps__item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 10px 12px;
    border: 1px solid rgba(217, 217, 217, 0.74);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
}

.to-auth-steps__number {
    width: 34px;
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: #ffffff;
    background: var(--to-auth-dark);
    font-size: 13px;
    font-weight: 950;
}

.to-auth-steps__text {
    color: var(--to-auth-dark);
    font-size: 13px;
    font-weight: 850;
    line-height: 1.8;
}

.to-auth-login-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.to-auth-login-trust span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid rgba(217, 217, 217, 0.76);
    border-radius: 999px;
    color: var(--to-auth-dark);
    background: rgba(255, 255, 255, 0.76);
    font-size: 12px;
    font-weight: 950;
    line-height: 1.7;
}

@media (max-width: 1080px) {
    .to-auth-login-shell {
        grid-template-columns: 1fr;
        width: min(680px, calc(100% - 32px));
        gap: 26px;
        padding: 34px 0;
    }

    .to-auth-login-aside__inner {
        min-height: auto;
        padding: 34px;
    }
}

@media (max-width: 680px) {
    .to-auth-login-shell {
        width: min(100% - 24px, 520px);
        padding: 24px 0;
    }

    .to-auth-login-brand__link {
        width: 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .to-auth-brand__media {
        width: 150px;
        min-width: 150px;
        height: 58px;
    }

    .to-auth-login-card {
        padding: 26px 18px;
        border-radius: 24px;
    }

    .to-auth-login-card::before {
        right: 22px;
        left: 22px;
    }

    .to-auth-card__title {
        font-size: 25px;
    }

    .to-auth-password__control {
        padding-left: 76px;
    }

    .to-auth-password__toggle {
        min-width: 58px;
        height: 36px;
        left: 8px;
    }

    .to-auth-options {
        align-items: flex-start;
        flex-direction: column;
    }

    .to-auth-login-card__footer {
        text-align: center;
    }

    .to-auth-login-aside__inner {
        padding: 26px 18px;
        border-radius: 24px;
    }

    .to-auth-aside__title {
        font-size: 24px;
    }

    .to-auth-login-trust {
        flex-direction: column;
    }

    .to-auth-login-trust span {
        width: 100%;
    }
}