/**
 * /style.css
 * Sysvoo Unified Login Center - Commercial Visual System
 * Module 01
 * VERSION: SYSVOO-LOGIN-M01-CSS-V1.0-20260814
 */

:root {
    --sv-blue-700: #1944c8;
    --sv-blue-600: #2457f5;
    --sv-blue-500: #3a6cf6;
    --sv-blue-100: #eaf0ff;
    --sv-ink-950: #111b2e;
    --sv-ink-900: #17233a;
    --sv-ink-700: #40506b;
    --sv-ink-500: #6f7f98;
    --sv-line: #dce4ef;
    --sv-line-soft: #e9eef5;
    --sv-page: #f4f7fb;
    --sv-card: #ffffff;
    --sv-success: #168253;
    --sv-success-bg: #edf9f3;
    --sv-danger: #c53d45;
    --sv-danger-bg: #fff1f2;
    --sv-shadow: 0 24px 70px rgba(24, 49, 91, 0.13);
    --sv-shadow-soft: 0 12px 34px rgba(24, 49, 91, 0.08);
    --sv-radius-xl: 28px;
    --sv-radius-lg: 18px;
    --sv-radius-md: 12px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--sv-page);
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    color: var(--sv-ink-900);
    background: var(--sv-page);
    font-family:
        Inter,
        ui-sans-serif,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "PingFang SC",
        "Hiragino Sans GB",
        "Microsoft YaHei",
        Arial,
        sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
input {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.sv-login-body {
    overflow-x: hidden;
}

.sv-login-shell {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 10% 12%,
            rgba(72, 113, 255, 0.09),
            transparent 26rem
        ),
        radial-gradient(
            circle at 88% 88%,
            rgba(25, 68, 200, 0.07),
            transparent 30rem
        ),
        linear-gradient(135deg, #f7f9fd 0%, #f2f5fa 100%);
}

.sv-login-topbar {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1440px, calc(100% - 64px));
    min-height: 92px;
    margin: 0 auto;
}

.sv-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
}

.sv-brand__mark {
    display: grid;
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 8px 14px rgba(36, 87, 245, 0.22));
}

.sv-brand__mark svg {
    width: 100%;
    height: 100%;
}

.sv-brand__copy {
    display: grid;
    gap: 2px;
}

.sv-brand__copy strong {
    color: var(--sv-ink-950);
    font-size: 19px;
    line-height: 1.05;
    letter-spacing: 0.01em;
}

.sv-brand__copy strong em {
    margin-left: 4px;
    font-style: normal;
    font-weight: 650;
}

.sv-brand__copy small {
    color: var(--sv-ink-500);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sv-login-topbar__trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sv-ink-500);
    font-size: 13px;
    font-weight: 600;
}

.sv-trust-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22a36a;
    box-shadow: 0 0 0 5px rgba(34, 163, 106, 0.10);
}

.sv-login-main {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(420px, 0.82fr);
    width: min(1440px, calc(100% - 64px));
    min-height: 650px;
    margin: auto;
    overflow: hidden;
    border: 1px solid rgba(214, 223, 237, 0.9);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--sv-shadow);
    backdrop-filter: blur(18px);
}

.sv-login-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 650px;
    overflow: hidden;
    padding: 72px clamp(52px, 5vw, 92px);
    color: #fff;
    background:
        linear-gradient(
            132deg,
            rgba(17, 41, 98, 0.98) 0%,
            rgba(29, 65, 155, 0.96) 54%,
            rgba(36, 87, 245, 0.92) 100%
        );
}

.sv-login-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.34;
    background-image:
        linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(to right, #000, transparent 92%);
}

.sv-login-hero::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -160px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    box-shadow:
        0 0 0 70px rgba(255,255,255,.035),
        0 0 0 140px rgba(255,255,255,.025);
}

.sv-login-hero__ambient {
    position: absolute;
    border-radius: 999px;
    filter: blur(1px);
    pointer-events: none;
}

.sv-login-hero__ambient--one {
    top: -120px;
    left: 36%;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(125, 159, 255, .31), transparent 68%);
}

.sv-login-hero__ambient--two {
    right: 7%;
    bottom: 9%;
    width: 230px;
    height: 230px;
    background: radial-gradient(circle, rgba(104, 223, 255, .18), transparent 66%);
}

.sv-login-hero__content {
    position: relative;
    z-index: 2;
    width: min(690px, 100%);
}

.sv-eyebrow,
.sv-login-card__eyebrow {
    display: inline-flex;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 760;
    letter-spacing: 0.19em;
}

.sv-login-hero h1 {
    margin: 17px 0 0;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 720;
    line-height: 1.15;
    letter-spacing: -0.045em;
}

.sv-login-hero h1 span {
    display: block;
    margin-top: 13px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(21px, 2vw, 30px);
    font-weight: 520;
    letter-spacing: -0.02em;
}

.sv-login-hero__lead {
    max-width: 650px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 16px;
    line-height: 1.9;
}

.sv-product-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 31px;
}

.sv-product-strip span {
    display: grid;
    place-items: center;
    min-width: 64px;
    height: 38px;
    padding: 0 15px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    background: rgba(255,255,255,.075);
    color: rgba(255,255,255,.90);
    font-size: 12px;
    font-weight: 720;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
}

.sv-product-strip .sv-product-strip__more {
    min-width: 38px;
    padding: 0;
    border-radius: 50%;
    color: rgba(255,255,255,.62);
    font-size: 18px;
}

.sv-capability-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 33px;
}

.sv-capability-grid article {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-height: 94px;
    padding: 17px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 15px;
    background: rgba(255,255,255,.055);
    backdrop-filter: blur(8px);
}

.sv-capability-grid__icon {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    background: rgba(255,255,255,.10);
    color: rgba(255,255,255,.78);
    font-size: 10px;
    font-weight: 760;
    letter-spacing: .06em;
}

.sv-capability-grid strong {
    display: block;
    margin-top: 1px;
    color: #fff;
    font-size: 14px;
    font-weight: 680;
}

.sv-capability-grid p {
    margin: 5px 0 0;
    color: rgba(255,255,255,.59);
    font-size: 12px;
    line-height: 1.55;
}

.sv-security-row {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    margin-top: 27px;
    color: rgba(255,255,255,.63);
    font-size: 11px;
    font-weight: 570;
}

.sv-security-row span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.sv-security-icon {
    position: relative;
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 1.5px solid rgba(255,255,255,.52);
}

.sv-security-icon--lock {
    height: 11px;
    margin-top: 4px;
    border-radius: 3px;
}

.sv-security-icon--lock::before {
    content: "";
    position: absolute;
    left: 3px;
    top: -7px;
    width: 6px;
    height: 7px;
    border: 1.5px solid rgba(255,255,255,.52);
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
}

.sv-security-icon--shield {
    border-radius: 8px 8px 10px 10px;
    transform: scaleX(.9);
}

.sv-security-icon--mfa {
    border-radius: 50%;
}

.sv-security-icon--mfa::after {
    content: "2";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 8px;
    font-style: normal;
}

.sv-security-icon--audit {
    border-radius: 3px;
}

.sv-security-icon--audit::before,
.sv-security-icon--audit::after {
    content: "";
    position: absolute;
    left: 3px;
    right: 3px;
    height: 1px;
    background: rgba(255,255,255,.52);
}

.sv-security-icon--audit::before {
    top: 4px;
}

.sv-security-icon--audit::after {
    top: 8px;
}

.sv-login-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 650px;
    padding: 54px clamp(38px, 4vw, 72px);
    background:
        linear-gradient(
            155deg,
            rgba(255,255,255,.97) 0%,
            rgba(249,251,254,.98) 100%
        );
}

.sv-login-card {
    width: min(430px, 100%);
}

.sv-login-card__head {
    margin-bottom: 29px;
}

.sv-login-card__eyebrow {
    color: var(--sv-blue-600);
}

.sv-login-card__head h2 {
    margin: 10px 0 0;
    color: var(--sv-ink-950);
    font-size: 31px;
    font-weight: 720;
    letter-spacing: -0.035em;
}

.sv-login-card__head p {
    margin: 10px 0 0;
    color: var(--sv-ink-500);
    font-size: 14px;
    line-height: 1.65;
}

.sv-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 17px;
    padding: 12px 13px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 12px;
    line-height: 1.55;
}

.sv-alert__icon {
    display: grid;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
}

.sv-alert--success {
    border-color: #cfeede;
    color: #106c45;
    background: var(--sv-success-bg);
}

.sv-alert--success .sv-alert__icon {
    color: #fff;
    background: var(--sv-success);
}

.sv-alert--error {
    border-color: #f1d1d4;
    color: #a62f36;
    background: var(--sv-danger-bg);
}

.sv-alert--error .sv-alert__icon {
    color: #fff;
    background: var(--sv-danger);
}

.sv-login-form {
    display: grid;
    gap: 17px;
}

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

.sv-field > label {
    color: var(--sv-ink-700);
    font-size: 13px;
    font-weight: 650;
}

.sv-field__control {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 50px;
    overflow: hidden;
    border: 1px solid #d8e0eb;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(23,35,58,.02);
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.sv-field__control:focus-within {
    border-color: #6d8cf7;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(36,87,245,.095);
}

.sv-field.is-invalid .sv-field__control {
    border-color: #e2878d;
    box-shadow: 0 0 0 4px rgba(197,61,69,.07);
}

.sv-field__leading {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 48px;
    place-items: center;
    color: #8b98ab;
}

.sv-field__leading svg,
.sv-login-secure-note svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sv-field input[type="text"],
.sv-field input[type="password"] {
    flex: 1 1 auto;
    width: 100%;
    height: 48px;
    min-width: 0;
    padding: 0 14px 0 0;
    border: 0;
    outline: 0;
    color: var(--sv-ink-950);
    background: transparent;
    font-size: 14px;
}

.sv-field input::placeholder {
    color: #a4afbf;
}

.sv-field__error,
.sv-caps-lock {
    min-height: 0;
    margin: 0;
    color: var(--sv-danger);
    font-size: 11px;
    line-height: 1.4;
}

.sv-field__error:empty {
    display: none;
}

.sv-field__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.sv-caps-lock {
    display: none;
    margin-left: auto;
    color: #a06613;
}

.sv-caps-lock.is-visible {
    display: block;
}

.sv-password-toggle {
    flex: 0 0 auto;
    height: 34px;
    margin-right: 8px;
    padding: 0 9px;
    border: 0;
    border-radius: 8px;
    outline: 0;
    color: var(--sv-ink-500);
    background: transparent;
    cursor: pointer;
    font-size: 11px;
    font-weight: 650;
}

.sv-password-toggle:hover,
.sv-password-toggle:focus-visible {
    color: var(--sv-blue-600);
    background: var(--sv-blue-100);
}

.sv-password-toggle__hide {
    display: none;
}

.sv-password-toggle.is-revealed .sv-password-toggle__show {
    display: none;
}

.sv-password-toggle.is-revealed .sv-password-toggle__hide {
    display: inline;
}

.sv-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: -1px;
    color: var(--sv-ink-500);
    font-size: 12px;
}

.sv-login-options > a {
    color: var(--sv-blue-600);
    font-weight: 620;
}

.sv-login-options > a:hover {
    color: var(--sv-blue-700);
}

.sv-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.sv-checkbox input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.sv-checkbox > span {
    position: relative;
    width: 16px;
    height: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #fff;
    transition: .16s ease;
}

.sv-checkbox input:checked + span {
    border-color: var(--sv-blue-600);
    background: var(--sv-blue-600);
}

.sv-checkbox input:checked + span::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.sv-checkbox input:focus-visible + span {
    box-shadow: 0 0 0 4px rgba(36,87,245,.10);
}

.sv-login-submit {
    position: relative;
    display: grid;
    min-height: 50px;
    margin-top: 2px;
    place-items: center;
    overflow: hidden;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background:
        linear-gradient(135deg, #2e64f5 0%, #1e50dc 100%);
    box-shadow: 0 11px 22px rgba(36,87,245,.21);
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
    transition:
        transform .16s ease,
        box-shadow .16s ease,
        filter .16s ease;
}

.sv-login-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(36,87,245,.26);
    filter: saturate(1.06);
}

.sv-login-submit:active:not(:disabled) {
    transform: translateY(0);
}

.sv-login-submit:focus-visible {
    outline: 4px solid rgba(36,87,245,.14);
    outline-offset: 2px;
}

.sv-login-submit:disabled {
    cursor: wait;
    opacity: .82;
}

.sv-login-submit__loading {
    display: none;
    align-items: center;
    gap: 9px;
}

.sv-login-submit.is-loading .sv-login-submit__normal {
    display: none;
}

.sv-login-submit.is-loading .sv-login-submit__loading {
    display: inline-flex;
}

.sv-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.38);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sv-spin .8s linear infinite;
}

@keyframes sv-spin {
    to { transform: rotate(360deg); }
}

.sv-login-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: -1px;
    color: #8a97a9;
    font-size: 10px;
}

.sv-login-secure-note span {
    display: grid;
}

.sv-login-secure-note svg {
    width: 15px;
    height: 15px;
}

.sv-login-card__foot {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--sv-line-soft);
}

.sv-login-card__foot p {
    margin: 0;
    color: #8b97a7;
    font-size: 11px;
    line-height: 1.6;
}

.sv-login-footer {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    width: min(1440px, calc(100% - 64px));
    min-height: 78px;
    margin: 0 auto;
    color: #7d8a9e;
    font-size: 11px;
}

.sv-login-footer__links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.sv-login-footer__links a {
    transition: color .16s ease;
}

.sv-login-footer__links a:hover {
    color: var(--sv-blue-600);
}

.sv-login-footer__links span,
.sv-login-footer__sep {
    color: #b8c1cf;
}

.sv-static-shell {
    width: min(1040px, calc(100% - 40px));
    margin: 42px auto 56px;
}

.sv-static-card {
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid var(--sv-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--sv-shadow-soft);
}

.sv-static-card__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    color: var(--sv-blue-600);
    font-size: 13px;
    font-weight: 700;
}

.sv-static-card h1 {
    margin: 0;
    color: var(--sv-ink-950);
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.04em;
}

.sv-static-card h2 {
    margin: 30px 0 10px;
    color: var(--sv-ink-950);
    font-size: 18px;
}

.sv-static-card p,
.sv-static-card li {
    color: var(--sv-ink-700);
    font-size: 14px;
    line-height: 1.85;
}

.sv-static-card ul {
    padding-left: 20px;
}

.sv-static-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-top: 30px;
    padding: 0 16px;
    border: 1px solid var(--sv-line);
    border-radius: 10px;
    color: var(--sv-blue-600);
    background: #fff;
    font-size: 13px;
    font-weight: 650;
}

@media (max-width: 1120px) {
    .sv-login-main {
        grid-template-columns: minmax(0, .95fr) minmax(400px, 1.05fr);
    }

    .sv-login-hero {
        padding-right: 42px;
        padding-left: 42px;
    }

    .sv-capability-grid {
        grid-template-columns: 1fr;
    }

    .sv-capability-grid article:nth-child(n+4) {
        display: none;
    }
}

@media (max-width: 860px) {
    .sv-login-shell {
        background: #f5f7fb;
    }

    .sv-login-topbar {
        width: min(100% - 36px, 620px);
        min-height: 82px;
    }

    .sv-login-topbar__trust {
        display: none;
    }

    .sv-login-main {
        display: block;
        width: min(100% - 36px, 620px);
        min-height: 0;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

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

    .sv-login-panel {
        min-height: 0;
        padding: 0;
        background: transparent;
    }

    .sv-login-card {
        width: 100%;
        padding: 32px;
        border: 1px solid var(--sv-line);
        border-radius: 22px;
        background: #fff;
        box-shadow: var(--sv-shadow-soft);
    }

    .sv-login-footer {
        display: grid;
        justify-content: center;
        width: min(100% - 36px, 620px);
        min-height: 112px;
        padding: 28px 0 20px;
        text-align: center;
    }

    .sv-login-footer__links {
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .sv-login-topbar {
        width: min(100% - 28px, 620px);
        min-height: 74px;
    }

    .sv-brand__mark {
        width: 39px;
        height: 39px;
    }

    .sv-brand__copy strong {
        font-size: 17px;
    }

    .sv-brand__copy small {
        display: none;
    }

    .sv-login-main {
        width: min(100% - 24px, 620px);
    }

    .sv-login-card {
        padding: 27px 20px 24px;
        border-radius: 18px;
    }

    .sv-login-card__head {
        margin-bottom: 25px;
    }

    .sv-login-card__head h2 {
        font-size: 27px;
    }

    .sv-field__control {
        min-height: 52px;
    }

    .sv-field input[type="text"],
    .sv-field input[type="password"] {
        height: 50px;
        font-size: 16px;
    }

    .sv-login-submit {
        min-height: 52px;
        font-size: 15px;
    }

    .sv-login-footer {
        width: min(100% - 24px, 620px);
    }

    .sv-login-footer__copyright {
        line-height: 1.7;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}