:root {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #182d43;
    background: #edf2f7;
    font-synthesis: none;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 32px;
    background: radial-gradient(ellipse at 10% 0%, #dbe7f4, transparent 60%), #f0f4f8;
}
.login-shell {
    width: min(1060px, 100%);
    min-height: 710px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border: 1px solid #dce4ee;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 70px #1d3d6115;
}
.brand-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 36px 40px;
    background: linear-gradient(155deg, #064a81, #07325c 70%, #052a4e);
    color: #fff;
}
.brand-panel:after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border: 1px solid #ffffff13;
    border-radius: 50%;
    right: -240px;
    bottom: -100px;
    box-shadow:
        0 0 0 60px #ffffff04,
        0 0 0 120px #ffffff03;
    pointer-events: none;
}
.wordmark {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.8px;
}
.brand-symbol {
    display: grid;
    place-items: center;
    border: 1px solid #ffffff55;
    border-radius: 9px;
    background: #ffffff12;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    width: 42px;
    height: 44px;
    border-bottom: 3px solid #ea6e6a;
}
.brand-ams {
    color: #ffb5ae;
}
.brand-content {
    margin: auto 0;
    padding: 50px 0;
}
.eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #9fcaed;
}
.brand-content h1 {
    font-size: 43px;
    line-height: 1.15;
    letter-spacing: -1.6px;
    margin: 20px 0;
}
.brand-content p {
    max-width: 335px;
    font-size: 15px;
    line-height: 1.8;
    color: #c4d6e7;
}
.asset-graphic {
    margin-top: 34px;
    padding: 18px;
    background: #ffffff09;
    border: 1px solid #ffffff24;
    border-radius: 13px;
    position: relative;
    z-index: 1;
}
.graphic-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #d6e7f6;
    padding-bottom: 14px;
    border-bottom: 1px solid #ffffff18;
}
.graphic-mark {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #79bde9;
}
.graphic-live {
    margin-left: auto;
    color: #70d9ba;
}
.graphic-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    font-size: 12px;
    color: #d7e5f1;
}
.graphic-icon {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    background: #ffffff12;
    border-radius: 6px;
    color: #83d5c0;
}
.graphic-line i {
    margin-left: auto;
    width: 28px;
    height: 4px;
    background: #ffffff24;
    border-radius: 4px;
}
.brand-footer {
    font-size: 11px;
    color: #a9c2d8;
    position: relative;
    z-index: 1;
}
.form-panel {
    display: flex;
    flex-direction: column;
    padding: 40px 48px 24px;
}
.form-content {
    width: 100%;
    max-width: 360px;
    margin: auto;
}
.form-eyebrow {
    color: #698198;
}
.form-content h2 {
    font-size: 29px;
    letter-spacing: -0.8px;
    margin: 12px 0 8px;
}
.form-intro {
    font-size: 13px;
    color: #798898;
    line-height: 1.6;
    margin: 0 0 26px;
}
.field {
    margin-top: 18px;
}
.field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 12px;
}
.field input {
    width: 100%;
    min-height: 45px;
    border: 1px solid #d6e0eb;
    border-radius: 8px;
    background: #fbfcfe;
    padding: 11px 13px;
    font: inherit;
    font-size: 13px;
    color: #24394d;
    transition:
        border-color 0.15s,
        box-shadow 0.15s;
}
.field input::placeholder {
    color: #93a1af;
}
.field input:focus {
    outline: none;
    background: white;
    border-color: #3c85bb;
    box-shadow: 0 0 0 3px #267eb315;
}
.password-wrap {
    position: relative;
}
.password-wrap input {
    padding-right: 62px;
}
.password-toggle {
    position: absolute;
    right: 7px;
    top: 7px;
    background: transparent;
    border: 0;
    border-radius: 5px;
    padding: 8px;
    color: #416783;
    font-size: 11px;
    cursor: pointer;
}
.captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.captcha-row img {
    max-width: calc(100% - 50px);
    height: 64px;
    border: 1px solid #dae4ed;
    border-radius: 8px;
    object-fit: contain;
    background: #eef5f9;
}
.refresh-button {
    border: 1px solid #d8e2ec;
    background: #fff;
    color: #155786;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    font-size: 25px;
    cursor: pointer;
}
.refresh-button:hover {
    background: #eef5fb;
}
.field small {
    display: block;
    font-size: 10px;
    color: #8391a0;
    margin-top: 8px;
    line-height: 1.5;
}
#captchaMessage {
    display: block;
    color: #ad3e37;
    font-size: 11px;
    margin-top: 6px;
}
.sign-in {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 24px;
    background: #09508e;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 13px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 12px #09508e20;
}
.sign-in:hover {
    background: #073d6d;
}
.sign-in:disabled,
.refresh-button:disabled {
    opacity: 0.6;
    cursor: wait;
}
.reset-button {
    display: block;
    margin: 10px auto 0;
    background: transparent;
    border: 0;
    padding: 7px 12px;
    font-size: 11px;
    color: #708496;
    cursor: pointer;
}
.support-note {
    font-size: 11px;
    color: #8190a0;
    text-align: center;
    margin-top: 20px;
}
.form-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #9aa5b0;
    font-size: 9px;
    margin-top: 32px;
}
.validation-summary-valid {
    display: none;
}
.validation-summary-errors {
    font-size: 12px;
    color: #a93232;
    background: #fff2f1;
    border: 1px solid #f3d3d0;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 15px;
}
.validation-summary ul {
    margin: 0;
    padding-left: 16px;
}
button:focus-visible,
a:focus-visible {
    outline: 3px solid #6ca7d3;
    outline-offset: 3px;
}
@media (max-width: 760px) {
    body {
        padding: 16px;
    }
    .login-shell {
        grid-template-columns: 1fr;
        min-height: 0;
        max-width: 470px;
        border-radius: 16px;
    }
    .brand-panel {
        padding: 22px 28px;
    }
    .wordmark {
        font-size: 22px;
    }
    .brand-content,
    .brand-footer {
        display: none;
    }
    .form-panel {
        padding: 30px 28px 22px;
    }
    .form-content {
        max-width: none;
    }
    .form-content h2 {
        font-size: 27px;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}
