:root {
    --navy:#071b33;
    --navy2:#0d2e50;
    --gold:#c79a3b;
    --gold2:#e2bd6b;
    --bg:#f3f5f8;
    --text:#152238;
    --muted:#64748b;
    --line:#dce3ea;
    --danger:#a82424;
    --white:#fff}

* {
    box-sizing:border-box}

body {
    margin:0;
    font-family:Inter,Segoe UI,Arial,sans-serif;
    background:var(--bg);
    color:var(--text)}

.auth-shell {
    min-height:100vh;
    display:grid;
    grid-template-columns:minmax(360px,42%) 1fr}

.brand-panel {
    background:linear-gradient(145deg,rgba(7,27,51,.98),rgba(13,46,80,.94)),radial-gradient(circle at top right,var(--gold),transparent 45%);
    color:#fff;
    padding:clamp(36px,6vw,88px);
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    gap:40px}

.brand-mark,.mobile-brand {
    font-size:30px;
    font-weight:800;
    letter-spacing:-1.5px}

.brand-mark span,.mobile-brand span {
    color:var(--gold2)}

.kicker,.eyebrow {
    font-size:12px;
    font-weight:800;
    letter-spacing:.16em;
    color:var(--gold2)}

.brand-panel h1 {
    font-size:clamp(34px,4vw,58px);
    line-height:1.05;
    max-width:650px;
    margin:18px 0}

.brand-panel p {
    font-size:18px;
    line-height:1.7;
    color:#d8e1eb;
    max-width:570px}

.brand-panel small {
    color:#aebdca}

.form-panel {
    display:grid;
    place-items:center;
    padding:32px}

.auth-card {
    width:min(100%,470px);
    background:#fff;
    border:1px solid #e8edf2;
    border-radius:22px;
    padding:clamp(26px,4vw,44px);
    box-shadow:0 24px 60px rgba(7,27,51,.11)}

.mobile-brand {
    display:none;
    color:var(--navy);
    margin-bottom:30px}

.auth-card h2 {
    font-size:30px;
    margin:8px 0}

.auth-card header>p {
    color:var(--muted);
    margin:0 0 28px}

.alert {
    background:#fff0f0;
    border:1px solid #efbcbc;
    color:var(--danger);
    padding:13px 15px;
    border-radius:10px;
    margin-bottom:18px;
    font-size:14px}

form {
    display:grid;
    gap:18px}

label {
    display:grid;
    gap:8px;
    font-weight:700;
    font-size:14px}

.label-row {
    display:flex;
    justify-content:space-between;
    gap:15px}

.label-row a,.auth-card a {
    color:#87651d;
    text-decoration:none}

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

input,select {
    width:100%;
    border:1px solid var(--line);
    border-radius:10px;
    padding:14px 15px;
    font:inherit;
    background:#fff;
    color:var(--text);
    outline:none}

input:focus,select:focus {
    border-color:var(--gold);
    box-shadow:0 0 0 3px rgba(199,154,59,.14)}

.password-field {
    display:flex;
    position:relative}

.password-field input {
    padding-right:78px}

.password-field button {
    position:absolute;
    right:7px;
    top:7px;
    bottom:7px;
    border:0;
    background:#eef2f6;
    color:var(--navy);
    border-radius:7px;
    font-weight:700;
    cursor:pointer}

.primary,.outline {
    min-height:49px;
    border-radius:10px;
    font-weight:800;
    font-size:15px;
    display:grid;
    place-items:center;
    cursor:pointer}

.primary {
    border:0;
    background:linear-gradient(135deg,var(--gold),var(--gold2));
    color:var(--navy)}

.outline {
    border:1px solid var(--navy);
    color:var(--navy)!important}

.divider {
    display:flex;
    align-items:center;
    gap:10px;
    color:#94a3b8;
    font-size:12px;
    margin:20px 0}

.divider:before,.divider:after {
    content:"";
    height:1px;
    background:var(--line);
    flex:1}

.auth-card footer {
    border-top:1px solid var(--line);
    margin-top:28px;
    padding-top:20px;
    display:flex;
    justify-content:space-between;
    gap:15px;
    font-size:12px;
    color:var(--muted)}

.grid-2 {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px}

.help {
    font-size:12px;
    color:var(--muted);
    font-weight:400}

.success {
    background:#effaf3;
    border-color:#a8d8b8;
    color:#176536}

.office-list {
    display:grid;
    gap:12px}

.office-option {
    width:100%;
    text-align:left;
    border:1px solid var(--line);
    background:#fff;
    border-radius:12px;
    padding:16px;
    cursor:pointer}

.office-option:hover {
    border-color:var(--gold);
    background:#fffaf0}

.office-option strong,.office-option span {
    display:block}

.office-option span {
    font-size:13px;
    color:var(--muted);
    margin-top:4px}

@media(max-width:820px) {
    .auth-shell {
    grid-template-columns:1fr}

.brand-panel {
    display:none}

.form-panel {
    padding:18px;
    min-height:100vh}

.mobile-brand {
    display:block}

.auth-card {
    border-radius:16px}

.grid-2 {
    grid-template-columns:1fr}

}

@media(max-width:430px) {
    .form-panel {
    padding:0}

.auth-card {
    min-height:100vh;
    border:0;
    border-radius:0;
    padding:28px 20px}

.auth-card footer {
    flex-direction:column}

}

