
    .login-page {
        display: grid;
        min-height: calc(100vh - 154px);
        padding: 46px 22px 62px;
        place-items: center;
        background:
            radial-gradient(circle at 12% 16%, rgba(59, 130, 246, 0.11), transparent 28%),
            radial-gradient(circle at 88% 84%, rgba(14, 165, 233, 0.09), transparent 30%);
    }

    .login-shell {
        display: grid;
        grid-template-columns: minmax(0, 0.92fr) minmax(390px, 1.08fr);
        width: min(100%, 1030px);
        overflow: hidden;
        border: 1px solid #dbe3ef;
        border-radius: 28px;
        background: #ffffff;
        box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
    }

    .login-intro {
        position: relative;
        display: flex;
        min-height: 590px;
        padding: 46px 40px;
        overflow: hidden;
        flex-direction: column;
        justify-content: space-between;
        color: #ffffff;
        background:
            radial-gradient(circle at 110% 0%, rgba(125, 211, 252, 0.4), transparent 36%),
            linear-gradient(145deg, #1d4ed8 0%, #1e40af 56%, #172554 100%);
    }

    .login-intro::after {
        position: absolute;
        right: -85px;
        bottom: -95px;
        width: 260px;
        height: 260px;
        border: 42px solid rgba(255, 255, 255, 0.06);
        border-radius: 50%;
        content: '';
    }

    .login-brand-mark {
        position: relative;
        z-index: 1;
        display: inline-grid;
        width: 50px;
        height: 50px;
        place-items: center;
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 15px;
        background: rgba(255, 255, 255, 0.13);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
        font-size: 25px;
    }

    .login-intro-copy {
        position: relative;
        z-index: 1;
        margin: auto 0;
    }

    .login-intro-copy span {
        display: inline-block;
        margin-bottom: 13px;
        color: #bfdbfe;
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .login-intro-copy h2 {
        margin: 0;
        color: #ffffff;
        font-size: 34px;
        line-height: 1.12;
        letter-spacing: -0.8px;
    }

    .login-intro-copy p {
        margin: 18px 0 0;
        color: #dbeafe;
        font-size: 15px;
        line-height: 1.7;
    }

    .login-feature-list {
        position: relative;
        z-index: 1;
        display: grid;
        gap: 11px;
        margin: 30px 0 0;
        padding: 0;
        list-style: none;
    }

    .login-feature-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #eff6ff;
        font-size: 13px;
        font-weight: 700;
    }

    .login-feature-list li::before {
        display: inline-grid;
        width: 22px;
        height: 22px;
        flex: 0 0 22px;
        place-items: center;
        border-radius: 50%;
        color: #1e40af;
        background: #bfdbfe;
        content: '✓';
        font-size: 12px;
        font-weight: 900;
    }

    .login-intro-footer {
        position: relative;
        z-index: 1;
        color: #93c5fd;
        font-size: 12px;
    }

    .login-form-panel {
        display: flex;
        min-width: 0;
        padding: 52px 50px;
        flex-direction: column;
        justify-content: center;
    }

    .login-back-link {
        align-self: flex-start;
        margin-bottom: 32px;
        color: #64748b;
        font-size: 13px;
        font-weight: 750;
        text-decoration: none;
    }

    .login-back-link:hover {
        color: #2563eb;
    }

    .login-heading span {
        color: #2563eb;
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .login-heading h1 {
        margin: 8px 0 9px;
        color: #0f172a;
        font-size: 31px;
        letter-spacing: -0.7px;
    }

    .login-heading p {
        margin: 0;
        color: #64748b;
        font-size: 14px;
        line-height: 1.6;
    }

    .login-alert {
        margin-top: 20px;
        padding: 13px 15px;
        border: 1px solid;
        border-radius: 12px;
        font-size: 13px;
        line-height: 1.55;
    }

    .login-alert.danger {
        border-color: #fecaca;
        color: #991b1b;
        background: #fef2f2;
    }

    .login-alert.success {
        border-color: #bbf7d0;
        color: #166534;
        background: #f0fdf4;
    }

    .login-form {
        display: grid;
        gap: 19px;
        margin-top: 28px;
    }

    .login-field {
        display: grid;
        gap: 8px;
    }

    .login-field label {
        color: #334155;
        font-size: 13px;
        font-weight: 800;
    }

    .login-input-wrap {
        position: relative;
    }

    .login-input-wrap input {
        width: 100%;
        min-height: 49px;
        padding: 0 14px;
        border: 1px solid #cbd5e1;
        border-radius: 12px;
        outline: none;
        color: #0f172a;
        background: #ffffff;
        font: inherit;
        font-size: 14px;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
        box-sizing: border-box;
    }

    .login-input-wrap.has-toggle input {
        padding-right: 78px;
    }

    .login-input-wrap input:focus {
        border-color: #3b82f6;
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.13);
    }

    .login-input-wrap input[aria-invalid='true'] {
        border-color: #f87171;
        background: #fffafa;
    }

    .login-password-toggle {
        position: absolute;
        top: 50%;
        right: 7px;
        min-height: 35px;
        padding: 0 9px;
        border: 0;
        border-radius: 8px;
        color: #475569;
        background: #f1f5f9;
        font-size: 11px;
        font-weight: 800;
        cursor: pointer;
        transform: translateY(-50%);
    }

    .login-password-toggle:hover {
        color: #1d4ed8;
        background: #dbeafe;
    }

    .login-password-toggle:focus-visible,
    .login-submit:focus-visible,
    .login-register a:focus-visible {
        outline: 3px solid rgba(37, 99, 235, 0.32);
        outline-offset: 3px;
    }

    .login-error {
        color: #dc2626;
        font-size: 12px;
        line-height: 1.45;
    }

    .login-submit {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 50px;
        margin-top: 2px;
        padding: 0 20px;
        border: 0;
        border-radius: 12px;
        color: #ffffff;
        background: #2563eb;
        box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2);
        font: inherit;
        font-size: 14px;
        font-weight: 850;
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .login-submit:hover {
        transform: translateY(-1px);
        box-shadow: 0 15px 28px rgba(37, 99, 235, 0.26);
    }

    .login-submit:disabled {
        cursor: wait;
        opacity: 0.72;
        transform: none;
        box-shadow: none;
    }

    .login-register {
        margin-top: 25px;
        padding-top: 21px;
        border-top: 1px solid #e2e8f0;
        color: #64748b;
        font-size: 13px;
        text-align: center;
    }

    .login-register a {
        color: #2563eb;
        font-weight: 850;
        text-decoration: none;
    }

    .login-register a:hover {
        text-decoration: underline;
    }

    .login-security-note {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        margin-top: 19px;
        color: #94a3b8;
        font-size: 11px;
    }

    @media (max-width: 820px) {
        .login-shell {
            grid-template-columns: 1fr;
            max-width: 570px;
        }

        .login-intro {
            min-height: auto;
            padding: 32px;
        }

        .login-intro-copy {
            margin: 34px 0 8px;
        }

        .login-intro-footer {
            display: none;
        }
    }

    @media (max-width: 520px) {
        .login-page {
            min-height: auto;
            padding: 20px 12px 38px;
        }

        .login-shell {
            border-radius: 20px;
        }

        .login-intro {
            padding: 26px 22px;
        }

        .login-intro-copy h2 {
            font-size: 27px;
        }

        .login-feature-list {
            display: none;
        }

        .login-form-panel {
            padding: 32px 22px;
        }

        .login-back-link {
            margin-bottom: 25px;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .login-input-wrap input,
        .login-submit {
            transition: none;
        }
    }
