.zs-auth-page {
    --auth-primary: #147d7d;
    --auth-primary-dark: #07595b;
    --auth-primary-deep: #063f43;
    --auth-background: #f4f8f8;
    --auth-surface: #ffffff;
    --auth-soft: #eaf5f4;
    --auth-border: #dce7e7;
    --auth-text: #163536;
    --auth-muted: #687c7d;
    --auth-danger: #b42318;
    --auth-danger-soft: #fff1f0;
    --auth-success: #18745d;
    --auth-success-soft: #eaf8f2;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding: clamp(16px, 1.4vw, 22px);
    overflow-x: hidden;
    color: var(--auth-text);
    background: #eaf2f1;
    font-family: Inter, "Segoe UI", Tahoma, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

.zs-auth-page a {
    color: var(--auth-primary-dark);
    text-decoration: none;
}

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

.zs-auth-page button,
.zs-auth-page input {
    font: inherit;
}

.zs-auth-page :focus-visible {
    outline: 3px solid rgba(20, 125, 125, .25);
    outline-offset: 3px;
}

.zs-auth-shell {
    position: relative;
    display: grid;
    direction: ltr;
    grid-template-areas: "product login";
    grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
    width: min(100%, 1600px);
    min-height: calc(100vh - clamp(32px, 2.8vw, 44px));
    min-height: calc(100svh - clamp(32px, 2.8vw, 44px));
    min-height: calc(100dvh - clamp(32px, 2.8vw, 44px));
    overflow: hidden;
    border: 1px solid rgba(134, 165, 164, .36);
    border-radius: 22px;
    background: var(--auth-surface);
    box-shadow: 0 22px 55px rgba(29, 73, 74, .13);
    isolation: isolate;
}

.zs-auth-showcase {
    position: relative;
    display: flex;
    grid-area: product;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    padding: clamp(32px, 3.2vw, 48px);
    color: var(--auth-text);
    border-right: 1px solid rgba(170, 200, 198, .42);
    background: #e4f2f1;
}

.zs-auth-showcase::before,
.zs-auth-showcase::after {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.zs-auth-showcase::before {
    top: -22%;
    right: -24%;
    width: 390px;
    height: 390px;
    background: rgba(255, 255, 255, .48);
}

.zs-auth-showcase::after {
    bottom: -27%;
    left: -18%;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(20, 125, 125, .09);
}

.zs-auth-brand,
.zs-auth-mobile-brand {
    display: inline-flex;
    align-items: center;
    width: fit-content;
}

.zs-auth-brand img {
    display: block;
    width: 126px;
    height: auto;
}

.zs-auth-brand {
    margin-right: auto;
    margin-left: 0;
}

.zs-auth-showcase-copy {
    position: relative;
    z-index: 1;
    max-width: 440px;
    margin-top: clamp(36px, 6vh, 58px);
}

.zs-auth-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--auth-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
    line-height: 1.4;
    text-transform: uppercase;
}

.zs-auth-showcase .zs-auth-eyebrow {
    color: var(--auth-primary);
}

.zs-auth-showcase h1 {
    max-width: 470px;
    margin: 0;
    color: var(--auth-primary-deep);
    font-size: clamp(28px, 2.55vw, 38px);
    font-weight: 750;
    letter-spacing: -.04em;
    line-height: 1.08;
}

.zs-auth-showcase-copy p {
    max-width: 420px;
    margin: 16px 0 0;
    color: #547071;
    font-size: clamp(15px, 1.1vw, 17px);
    line-height: 1.65;
}

.zs-auth-product-preview {
    position: relative;
    direction: ltr;
    width: min(94%, 720px);
    margin: clamp(8px, 1.4vh, 14px) auto 0;
    padding-top: clamp(10px, 2vh, 18px);
}

.zs-auth-showcase-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1404 / 707;
    object-fit: contain;
}

.zs-auth-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.zs-auth-benefit {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(170, 200, 198, .58);
    border-radius: 12px;
    background: rgba(255, 255, 255, .48);
}

.zs-auth-benefit-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--auth-primary-dark);
    border: 1px solid #c7dddb;
    border-radius: 50%;
    background: rgba(229, 242, 241, .9);
}

.zs-auth-benefit-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.zs-auth-benefit h3 {
    margin: 1px 0 5px;
    color: var(--auth-text);
    font-size: 13px;
    line-height: 1.35;
}

.zs-auth-benefit p {
    margin: 0;
    color: var(--auth-muted);
    font-size: 12px;
    line-height: 1.45;
}

.zs-auth-login-region {
    display: grid;
    grid-area: login;
    grid-template-columns: minmax(0, 470px);
    grid-template-rows: auto 1fr;
    min-width: 0;
    justify-content: center;
    align-items: start;
    padding: 28px clamp(18px, 1.7vw, 28px);
    background: #fbfdfd;
}

.zs-auth-language-row {
    display: flex;
    width: min(100%, 470px);
    direction: ltr;
    margin-bottom: 18px;
}

[dir="ltr"] .zs-auth-language-row { justify-content: flex-start; }
[dir="rtl"] .zs-auth-language-row { justify-content: flex-end; }

.zs-auth-language-switch {
    display: inline-flex;
    direction: ltr;
    gap: 4px;
    align-items: center;
    padding: 4px;
    border: 1px solid var(--auth-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, .76);
}

.zs-auth-language-switch a {
    display: inline-flex;
    min-width: 42px;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    color: var(--auth-muted) !important;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.zs-auth-language-switch a:hover {
    color: var(--auth-primary-dark) !important;
    background: rgba(20, 125, 125, .08);
    text-decoration: none;
}

.zs-auth-language-switch a.is-active {
    color: var(--auth-primary-deep) !important;
    background: rgba(20, 125, 125, .12);
    font-weight: 800;
}

.zs-auth-language-switch a.is-active:hover {
    background: rgba(20, 125, 125, .12);
}

.zs-auth-card {
    width: min(100%, 470px);
    align-self: center;
    padding: clamp(32px, 2.7vw, 40px);
    border: 1px solid var(--auth-border);
    border-radius: 18px;
    background: var(--auth-surface);
    box-shadow: 0 14px 34px rgba(31, 72, 73, .10);
}

.zs-auth-mobile-brand {
    display: none;
    margin-bottom: 28px;
}

.zs-auth-mobile-brand img {
    width: 116px;
    height: auto;
}

.zs-auth-card-header {
    margin-bottom: 24px;
}

.zs-auth-card-header h2 {
    margin: 0;
    color: var(--auth-text);
    font-size: clamp(27px, 2.05vw, 31px);
    letter-spacing: -.035em;
    line-height: 1.18;
}

.zs-auth-card-header p {
    margin: 10px 0 0;
    color: var(--auth-muted);
    font-size: 15px;
    line-height: 1.6;
}

.zs-auth-alert {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 13px 14px;
    border: 1px solid;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.zs-auth-alert svg {
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    margin-top: 1px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.zs-auth-alert-success {
    color: var(--auth-success);
    border-color: #b8e2d3;
    background: var(--auth-success-soft);
}

.zs-auth-alert-danger {
    color: var(--auth-danger);
    border-color: #f2c5c1;
    background: var(--auth-danger-soft);
}

.zs-auth-social {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.zs-auth-social-button {
    display: flex;
    min-height: 46px;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    color: var(--auth-text) !important;
    border: 1px solid var(--auth-border);
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
}

.zs-auth-social-button:hover {
    border-color: #a9c7c6;
    background: #f9fbfb;
    text-decoration: none;
}

.zs-auth-social-button img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.zs-auth-divider {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 20px 0;
    color: var(--auth-muted);
    font-size: 12px;
    white-space: nowrap;
}

.zs-auth-divider::before,
.zs-auth-divider::after {
    width: 100%;
    height: 1px;
    background: var(--auth-border);
    content: "";
}

.zs-auth-form {
    display: grid;
    gap: 20px;
}

.zs-auth-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--auth-text);
    font-size: 14px;
    font-weight: 700;
}

.zs-auth-input-wrap {
    position: relative;
}

.zs-auth-input-wrap > svg {
    position: absolute;
    top: 50%;
    inset-inline-start: 15px;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #708889;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    transform: translateY(-50%);
    pointer-events: none;
}

.zs-auth-input-wrap input {
    display: block;
    width: 100%;
    height: 50px;
    padding: 0 15px;
    padding-inline-start: 46px;
    color: var(--auth-text);
    border: 1px solid #cbdada;
    border-radius: 10px;
    outline: none;
    background: #fff;
    font-size: 16px;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.zs-auth-password-wrap input { padding-inline-end: 50px; }

.zs-auth-input-wrap input:hover { border-color: #a8c4c3; }

.zs-auth-input-wrap input:focus {
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 4px rgba(20, 125, 125, .12);
}

.zs-auth-input-wrap input.is-invalid {
    border-color: var(--auth-danger);
    box-shadow: 0 0 0 3px rgba(180, 35, 24, .08);
}

.zs-auth-password-toggle {
    position: absolute;
    top: 50%;
    inset-inline-end: 7px;
    display: inline-grid;
    width: 38px;
    height: 38px;
    padding: 8px;
    place-items: center;
    color: #607879;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}

.zs-auth-password-toggle:hover { color: var(--auth-primary-dark); background: var(--auth-soft); }

.zs-auth-password-toggle svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.zs-auth-eye-closed,
.zs-auth-password-toggle[aria-pressed="true"] .zs-auth-eye-open { display: none; }
.zs-auth-password-toggle[aria-pressed="true"] .zs-auth-eye-closed { display: block; }

.zs-auth-field-error {
    display: flex;
    gap: 6px;
    align-items: flex-start;
    margin: 7px 0 0;
    color: var(--auth-danger);
    font-size: 13px;
    line-height: 1.4;
}

.zs-auth-field-error svg {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.zs-auth-form-options {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}

.zs-auth-remember {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    min-height: 34px;
    color: var(--auth-muted);
    cursor: pointer;
}

.zs-auth-remember input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--auth-primary);
}

.zs-auth-form-options a { font-weight: 700; }

.zs-auth-submit {
    position: relative;
    display: inline-flex;
    width: 100%;
    min-height: 50px;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    color: #fff;
    border: 1px solid var(--auth-primary);
    border-radius: 10px;
    background: var(--auth-primary);
    box-shadow: 0 10px 20px rgba(20, 125, 125, .18);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.zs-auth-submit:hover:not(:disabled) {
    background: var(--auth-primary-dark);
    box-shadow: 0 12px 24px rgba(7, 89, 91, .23);
    transform: translateY(-1px);
}

.zs-auth-submit:disabled {
    cursor: wait;
    opacity: .72;
}

.zs-auth-submit svg {
    display: none;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-dasharray: 42;
    stroke-dashoffset: 12;
    stroke-linecap: round;
    stroke-width: 3;
}

.zs-auth-submit.is-loading svg { display: block; }

.zs-auth-register {
    margin: 22px 0 0;
    color: var(--auth-muted);
    text-align: center;
    font-size: 14px;
}

.zs-auth-register a { margin-inline-start: 4px; font-weight: 800; }

.zs-auth-demo {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--auth-border);
}

.zs-auth-demo summary {
    color: var(--auth-muted);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.zs-auth-demo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.zs-auth-demo-grid button {
    min-height: 38px;
    padding: 7px 9px;
    color: var(--auth-primary-dark);
    border: 1px solid var(--auth-border);
    border-radius: 8px;
    background: var(--auth-soft);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.zs-auth-demo-grid button:hover { border-color: #9fc4c2; }

[dir="rtl"] .zs-auth-page { font-family: Tahoma, Arial, sans-serif; }
[dir="rtl"] .zs-auth-showcase,
[dir="rtl"] .zs-auth-login-region {
    direction: rtl;
    text-align: right;
}
[dir="rtl"] .zs-auth-eyebrow { letter-spacing: 0; text-transform: none; }
[dir="rtl"] .zs-auth-showcase h1,
[dir="rtl"] .zs-auth-card-header h2 { letter-spacing: 0; }

@media (min-width: 1200px) {
    .zs-auth-card-header h2 { white-space: nowrap; }
}

@media (max-height: 820px) and (min-width: 1100px) {
    .zs-auth-page { padding-block: 12px; }
    .zs-auth-showcase { padding-block: 20px; }
    .zs-auth-showcase-copy { margin-top: 18px; }
    .zs-auth-product-preview {
        width: min(90%, 620px);
        margin-top: 4px;
        padding-top: 4px;
    }
    .zs-auth-login-region { padding-block: 12px; }
    .zs-auth-card { padding-block: 24px; }
    .zs-auth-card-header { margin-bottom: 16px; }
    .zs-auth-form { gap: 15px; }
    .zs-auth-benefits { margin-top: 10px; }
    .zs-auth-benefit { align-items: center; padding: 8px 10px; }
    .zs-auth-benefit h3 { margin-bottom: 0; }
    .zs-auth-benefit p { display: none; }
    .zs-auth-language-row { margin-bottom: 10px; }
}

@media (max-width: 1199px) {
    .zs-auth-page { padding: 14px; }
    .zs-auth-shell {
        grid-template-areas: "product login";
        grid-template-columns: minmax(0, 54fr) minmax(0, 46fr);
        min-height: calc(100vh - 28px);
        min-height: calc(100svh - 28px);
        min-height: calc(100dvh - 28px);
        border-radius: 18px;
    }
    .zs-auth-showcase { padding: clamp(30px, 3.5vw, 42px); }
    .zs-auth-showcase-copy { margin-top: clamp(36px, 6vh, 58px); }
}

@media (max-width: 1099px) {
    .zs-auth-shell { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); }
    .zs-auth-benefits { display: none; }
}

@media (max-width: 900px) {
    .zs-auth-shell {
        grid-template-areas: "product login";
        grid-template-columns: minmax(260px, 38fr) minmax(430px, 62fr);
    }
    .zs-auth-showcase { padding: 30px 26px; }
    .zs-auth-brand img { width: 110px; }
    .zs-auth-showcase-copy { margin-top: 64px; }
    .zs-auth-showcase h1 { font-size: clamp(30px, 4.5vw, 40px); }
    .zs-auth-showcase-copy p { font-size: 15px; }
    .zs-auth-product-preview { width: min(94%, 620px); padding-top: 22px; }
    .zs-auth-login-region { padding: 30px 24px; }
    .zs-auth-card { padding: 34px; }
}

@media (max-width: 720px) {
    .zs-auth-page { display: block; padding: 0; }
    .zs-auth-shell {
        display: block;
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .zs-auth-showcase { display: none; }
    .zs-auth-login-region {
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto;
        padding: 12px 18px;
    }
    .zs-auth-language-row { width: 100%; margin-bottom: 8px; }
    .zs-auth-card {
        width: 100%;
        margin: 0;
        align-self: start;
        padding: 30px 24px;
        border-radius: 18px;
        box-shadow: 0 16px 44px rgba(31, 72, 73, .08);
    }
    .zs-auth-mobile-brand { display: inline-flex; }
    .zs-auth-card-header { margin-bottom: 24px; }
    .zs-auth-card-header h2 { font-size: 27px; }
}

@media (max-width: 390px) {
    .zs-auth-login-region { padding: 10px 12px; }
    .zs-auth-card { padding: 26px 20px; }
    .zs-auth-form-options { gap: 10px; font-size: 13px; }
    .zs-auth-social { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .zs-auth-page *,
    .zs-auth-page *::before,
    .zs-auth-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
