
/* UIUX-FINAL-P1-R7 — Semantic Left Panel Composition */
.to-login-page {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    background: #f8fbff;
    color: #07133f;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.to-login-page *,
.to-login-page *::before,
.to-login-page *::after {
    box-sizing: border-box;
}

.to-login-shell {
    display: grid;
    grid-template-columns: 47% 53%;
    min-height: 100vh;
    overflow: hidden;
    background: #f8fbff;
}

.to-login-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        linear-gradient(180deg, #edf8ff 0%, #f5fbff 52%, #e7f4ff 100%);
}

.to-login-hero::after {
    position: absolute;
    right: -18%;
    bottom: 10%;
    width: 78%;
    height: 38%;
    background: linear-gradient(135deg, rgba(224, 241, 255, .08), rgba(184, 220, 248, .34));
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    content: "";
    pointer-events: none;
}

.to-login-hero-inner {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: clamp(72px, 8vw, 122px) clamp(42px, 8.2vw, 126px) 56px;
}

.to-login-hero-brand {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 25px;
    width: max-content;
    max-width: 100%;
}

.to-login-hero-cube {
    width: 82px;
    height: 82px;
    flex: 0 0 auto;
}

.to-login-hero-product,
.to-login-hero-company,
.to-login-hero-copy h1,
.to-login-hero-copy p,
.to-login-hero-tagline p {
    margin: 0;
}

.to-login-hero-product {
    color: #081442;
    font-size: clamp(25px, 2vw, 34px);
    font-weight: 750;
    letter-spacing: -.03em;
    line-height: 1.08;
}

.to-login-hero-company {
    margin-top: 7px;
    color: #5b6c91;
    font-size: clamp(16px, 1.25vw, 21px);
    font-weight: 500;
    line-height: 1.25;
}

.to-login-hero-copy {
    position: relative;
    z-index: 2;
    margin-top: clamp(50px, 6vh, 76px);
}

.to-login-hero-copy h1 {
    max-width: 560px;
    color: #06113e;
    font-size: clamp(38px, 3.05vw, 54px);
    font-weight: 780;
    letter-spacing: -.035em;
    line-height: 1.03;
}

.to-login-hero-copy p {
    margin-top: 22px;
    color: #5e7199;
    font-size: clamp(20px, 1.7vw, 28px);
    font-weight: 450;
    line-height: 1.35;
}

.to-login-hero-visual {
    position: absolute;
    bottom: 28px;
    left: 0;
    z-index: 0;
    width: min(68%, 520px);
    overflow: hidden;
    opacity: .94;
}

.to-login-hero-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.to-login-hero-tagline {
    position: absolute;
    z-index: 2;
    right: clamp(34px, 7vw, 92px);
    bottom: 182px;
    color: #526b98;
    text-transform: uppercase;
}

.to-login-hero-tagline p {
    font-size: clamp(11px, .9vw, 14px);
    font-weight: 650;
    letter-spacing: .21em;
    line-height: 1.7;
}

.to-login-hero-tagline span {
    display: block;
    width: 40px;
    height: 2px;
    margin-top: 14px;
    background: #2188e8;
}

.to-login-main {
    position: relative;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    background:
        radial-gradient(circle at 48% 12%, rgba(238, 247, 255, .72), rgba(255, 255, 255, 0) 38%),
        #fbfdff;
}

.to-login-language {
    position: absolute;
    top: 38px;
    right: 61px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0c1a4a;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    user-select: none;
}

.to-login-language > svg:first-child {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: #3b4d7b;
    stroke-width: 1.9;
}

.to-login-language .to-login-chevron {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #324777;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.to-login-card-wrap {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    padding: 96px 64px 96px;
}

.to-login-card {
    width: min(100%, 628px);
    min-height: 632px;
    padding: 45px 45px 38px;
    border: 1px solid #dce7f1;
    border-radius: 13px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 8px 28px rgba(48, 82, 124, .06);
}

.to-login-card-header {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 20px;
    align-items: start;
    margin-bottom: 29px;
}

.to-login-cube {
    width: 64px;
    height: 64px;
}

.to-login-card-title {
    padding-top: 4px;
}

.to-login-card-title h2 {
    margin: 0;
    color: #06113e;
    font-size: 28px;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -.55px;
}

.to-login-card-title p {
    max-width: 438px;
    margin: 11px 0 0;
    color: #5f7096;
    font-size: 16px;
    font-weight: 450;
    line-height: 1.45;
}

.to-login-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: -8px 0 18px;
    padding: 11px 13px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fff7f7;
    color: #b42318;
    font-size: 13px;
    line-height: 1.4;
}

.to-login-alert svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.to-login-form {
    display: grid;
    gap: 21px;
}

.to-login-field {
    display: grid;
    gap: 8px;
}

.to-login-field label {
    color: #0c1744;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.to-login-input-wrap {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    min-height: 54px;
    align-items: center;
    gap: 7px;
    padding: 0 14px 0 18px;
    border: 1px solid #ccd8e7;
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.to-login-input-wrap:focus-within {
    border-color: #1786f7;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(23, 134, 247, .11);
}

.to-login-input-wrap.is-invalid {
    border-color: #e15252;
    box-shadow: 0 0 0 3px rgba(225, 82, 82, .08);
}

.to-login-input-wrap > svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #6f82a6;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.to-login-input-wrap input {
    width: 100%;
    min-width: 0;
    height: 50px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #10204d;
    font: inherit;
    font-size: 15px;
    line-height: 1;
}

.to-login-input-wrap input::placeholder {
    color: #9aa9c3;
    opacity: 1;
}

.to-login-password-toggle {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #60739b;
    cursor: pointer;
}

.to-login-password-toggle:hover,
.to-login-password-toggle:focus-visible {
    background: #eef6ff;
    outline: none;
}

.to-login-password-toggle svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.to-login-password-toggle .to-login-eye-hide {
    display: none;
}

.to-login-password-toggle[aria-pressed="true"] .to-login-eye-show {
    display: none;
}

.to-login-password-toggle[aria-pressed="true"] .to-login-eye-hide {
    display: block;
}

.to-login-field-error {
    margin: -2px 0 0;
    color: #c0392b;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.to-login-options {
    display: flex;
    min-height: 28px;
    align-items: center;
    justify-content: space-between;
    margin-top: -2px;
}

.to-login-remember {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #152252;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}

.to-login-remember input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.to-login-checkbox {
    display: grid;
    width: 23px;
    height: 23px;
    place-items: center;
    border-radius: 5px;
    background: #1587f5;
    box-shadow: inset 0 0 0 1px rgba(0, 90, 210, .12);
}

.to-login-checkbox svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.to-login-remember--presentation {
    cursor: default;
}

.to-login-submit {
    width: 100%;
    min-height: 54px;
    margin-top: 1px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(90deg, #0e7ff5 0%, #118df9 100%);
    box-shadow: 0 7px 16px rgba(12, 126, 241, .16);
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 650;
    cursor: pointer;
    transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}

.to-login-submit:hover {
    filter: brightness(1.025);
    box-shadow: 0 9px 20px rgba(12, 126, 241, .2);
}

.to-login-submit:active {
    transform: translateY(1px);
}

.to-login-submit:focus-visible {
    outline: 3px solid rgba(18, 137, 250, .24);
    outline-offset: 3px;
}

.to-login-submit:disabled {
    cursor: wait;
    filter: saturate(.72);
    opacity: .82;
}

.to-login-authorized {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 17px;
    align-items: center;
    margin-top: 25px;
}

.to-login-authorized > span {
    height: 1px;
    background: #d9e3ed;
}

.to-login-authorized p {
    margin: 0;
    color: #7382a0;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.to-login-footer {
    position: absolute;
    right: 59px;
    bottom: 45px;
    left: 73px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #8090ae;
    font-size: 12px;
    font-weight: 450;
    line-height: 1.4;
}

.to-login-footer p {
    margin: 0;
}

.to-login-legal {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.to-login-legal i {
    width: 1px;
    height: 15px;
    background: #a6b2c7;
}

@media (max-width: 1180px) {
    .to-login-shell {
        grid-template-columns: 42% 58%;
    }

    .to-login-hero-inner {
        padding-right: 42px;
        padding-left: 48px;
    }

    .to-login-hero-visual {
        width: 76%;
    }

    .to-login-hero-tagline {
        right: 30px;
        bottom: 150px;
    }

    .to-login-card-wrap {
        padding-right: 40px;
        padding-left: 40px;
    }

    .to-login-card {
        padding-right: 38px;
        padding-left: 38px;
    }

    .to-login-footer {
        right: 40px;
        left: 40px;
    }
}

@media (max-width: 900px) {
    .to-login-shell {
        display: block;
        min-height: 100vh;
    }

    .to-login-hero {
        display: none;
    }

    .to-login-main {
        min-height: 100vh;
    }

    .to-login-language {
        top: 25px;
        right: 28px;
    }

    .to-login-card-wrap {
        padding: 88px 24px 112px;
    }

    .to-login-card {
        width: min(100%, 620px);
        min-height: 0;
    }

    .to-login-footer {
        right: 24px;
        bottom: 26px;
        left: 24px;
    }
}

@media (max-width: 620px) {
    .to-login-language {
        top: 20px;
        right: 20px;
        font-size: 13px;
    }

    .to-login-language > svg:first-child {
        width: 19px;
        height: 19px;
    }

    .to-login-card-wrap {
        align-items: flex-start;
        padding: 74px 15px 128px;
    }

    .to-login-card {
        padding: 28px 22px 28px;
        border-radius: 11px;
    }

    .to-login-card-header {
        grid-template-columns: 52px 1fr;
        gap: 15px;
        margin-bottom: 25px;
    }

    .to-login-cube {
        width: 52px;
        height: 52px;
    }

    .to-login-card-title {
        padding-top: 2px;
    }

    .to-login-card-title h2 {
        font-size: 22px;
        letter-spacing: -.35px;
    }

    .to-login-card-title p {
        margin-top: 8px;
        font-size: 13px;
    }

    .to-login-form {
        gap: 18px;
    }

    .to-login-input-wrap {
        min-height: 51px;
        padding-left: 14px;
    }

    .to-login-input-wrap input {
        height: 47px;
        font-size: 14px;
    }

    .to-login-submit {
        min-height: 51px;
    }

    .to-login-authorized {
        gap: 10px;
        margin-top: 20px;
    }

    .to-login-authorized p {
        font-size: 11px;
    }

    .to-login-footer {
        flex-direction: column;
        gap: 9px;
        text-align: center;
    }
}

@media (max-height: 760px) and (min-width: 901px) {
    .to-login-hero-inner {
        padding-top: 56px;
    }

    .to-login-hero-copy {
        margin-top: 30px;
    }

    .to-login-hero-copy h1 {
        font-size: clamp(34px, 2.7vw, 46px);
    }

    .to-login-hero-copy p {
        margin-top: 16px;
        font-size: clamp(17px, 1.45vw, 23px);
    }

    .to-login-hero-visual {
        bottom: 10px;
        width: 64%;
    }

    .to-login-hero-tagline {
        bottom: 88px;
    }

    .to-login-card-wrap {
        padding-top: 76px;
        padding-bottom: 76px;
    }

    .to-login-card {
        min-height: 0;
        padding-top: 32px;
        padding-bottom: 30px;
    }

    .to-login-card-header {
        margin-bottom: 21px;
    }

    .to-login-form {
        gap: 16px;
    }

    .to-login-authorized {
        margin-top: 17px;
    }

    .to-login-footer {
        bottom: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .to-login-page *,
    .to-login-page *::before,
    .to-login-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
/* END UIUX-FINAL-P1-R7 — Semantic Left Panel Composition */

