/* ── Theme A: Split Panel ─────────────────────────────────────────────────────
   Matches option-a-split-panel.html exactly
   ──────────────────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.theme-a {
    font-family: 'Segoe UI', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
}

/* ── LEFT PANEL ───────────────────────────────────────────────────────────── */
.left-panel {
    width: 45%;
    background: linear-gradient(160deg, #0d1f3c 0%, #1a3260 60%, #0d2a4a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 40px;
}

/* Subtle circular compass watermark rings */
.left-panel::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border: 1px solid rgba(201,168,70,0.12);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.left-panel::after {
    content: '';
    position: absolute;
    width: 350px; height: 350px;
    border: 1px solid rgba(201,168,70,0.08);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.brand-block { text-align: center; z-index: 1; }
.compass-icon { width: 80px; height: 80px; margin: 0 auto 20px; display: block; }

.brand-name {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #ffffff;
    text-transform: uppercase;
}
.brand-sub {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #c9a846;
    text-transform: uppercase;
    margin-top: 4px;
}
.brand-mha {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.45);
    letter-spacing: 1px;
    margin-top: 6px;
}
.brand-divider {
    width: 50px; height: 2px;
    background: #c9a846;
    margin: 22px auto;
}
.brand-tagline {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: center;
    max-width: 260px;
}

/* ── RIGHT PANEL ──────────────────────────────────────────────────────────── */
.right-panel {
    width: 55%;
    background: #f5f7fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.form-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 48px 44px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 4px 24px rgba(13,31,60,0.10);
}

.form-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #0d1f3c;
    margin-bottom: 6px;
}
.form-subtitle {
    font-size: 0.85rem;
    color: #6b7a99;
    margin-bottom: 32px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 7px;
}
.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #dde3ef;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #0d1f3c;
    transition: border-color 0.2s;
    background: #fafbfd;
    outline: none;
}
.form-group input:focus {
    border-color: #c9a846;
    background: #fff;
}
.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}
.remember-me {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.83rem; color: #4a5568; cursor: pointer;
}
.remember-me input[type=checkbox] { width: auto; }
.forgot-link {
    font-size: 0.83rem;
    color: #1a3260;
    text-decoration: none;
    font-weight: 500;
}
.forgot-link:hover { color: #c9a846; }

.btn-login {
    width: 100%;
    padding: 14px;
    background: #c9a846;
    color: #0d1f3c;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    text-transform: uppercase;
}
.btn-login:hover { background: #b8952e; }
.btn-login:disabled { opacity: 0.6; cursor: not-allowed; }

.alert-error {
    background: #fdecea;
    border-left: 4px solid #d32f2f;
    color: #d32f2f;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.okta-footer {
    margin-top: 28px;
    text-align: center;
    font-size: 0.75rem;
    color: #9aa5be;
}
.okta-footer a { color: #9aa5be; }
.not-member {
    margin-top: 10px;
    font-size: 0.78rem;
    text-align: center;
    color: #9aa5be;
}
.not-member a { color: #1a3260; font-weight: 500; text-decoration: none; }

/* ── MFA form text — dark card (Theme A white card) ─────────────────────── */
.mfa-heading {
    font-size: 1.25rem; font-weight: 700; color: #0d1f3c;
    margin-bottom: 10px; text-align: center;
}
.mfa-subtext {
    font-size: 0.84rem; color: #6b7a99; line-height: 1.6;
    margin-bottom: 28px; text-align: center;
}
.mfa-email { color: #c9a846; font-weight: 600; }

@media (max-width: 768px) {
    body.theme-a {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    .left-panel {
        width: 100%;
        height: auto;
        min-height: unset;
        padding: 28px 20px 24px;
        overflow: visible;
    }
    .left-panel .compass-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 12px;
    }
    .brand-name { font-size: 1.75rem; letter-spacing: 3px; }
    .brand-divider { margin: 14px auto; }
    .brand-tagline {
        font-size: 0.8rem;
        max-width: 100%;
        padding: 0 8px;
    }
    .right-panel {
        width: 100%;
        padding: 28px 16px 40px;
    }
    .form-card { padding: 28px 20px; }
}

@media (max-width: 480px) {
    .left-panel { padding: 20px 16px 18px; }
    .left-panel .compass-icon { width: 44px; height: 44px; margin-bottom: 10px; }
    .brand-name { font-size: 1.45rem; letter-spacing: 2px; }
    .brand-sub { font-size: 0.68rem; }
    .brand-tagline { font-size: 0.75rem; }
    .form-card { padding: 24px 16px; }
}


:root {
    --mha-navy:    #0a1628;
    --mha-gold:    #c9a84c;
    --mha-blue:    #1b3a6b;
    --mha-light:   #f5f7fa;
    --mha-text:    #333333;
    --mha-error:   #d32f2f;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.theme-a {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--mha-light);
    min-height: 100vh;
    display: flex;
}

/* Split layout */
.split-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Left brand panel */
.split-left {
    width: 45%;
    background: linear-gradient(160deg, var(--mha-navy) 0%, var(--mha-blue) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 48px;
    position: relative;
    overflow: hidden;
}

.split-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.4;
}

.brand-logo {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 40px;
}

.brand-logo img {
    max-width: 200px;
    filter: brightness(0) invert(1);
}

.brand-logo-text {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 16px;
}

.brand-tagline {
    position: relative;
    z-index: 1;
    text-align: center;
}

.brand-tagline h2 {
    color: var(--mha-gold);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.brand-tagline p {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    line-height: 1.7;
    max-width: 320px;
    margin: 0 auto;
}

.brand-divider {
    width: 60px;
    height: 3px;
    background: var(--mha-gold);
    margin: 24px auto;
    border-radius: 2px;
}

/* Right form panel */
.split-right {
    width: 55%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 48px;
}

.login-card-a {
    width: 100%;
    max-width: 420px;
}

.login-card-a h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--mha-navy);
    margin-bottom: 8px;
}

.login-card-a .subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 36px;
}

/* Shared form elements (used across all themes) */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--mha-text);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #dde2e8;
    border-radius: 8px;
    font-size: 15px;
    color: var(--mha-text);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-control:focus {
    border-color: var(--mha-blue);
    box-shadow: 0 0 0 3px rgba(27,58,107,0.12);
}

.btn-primary-nav {
    width: 100%;
    padding: 13px;
    background: var(--mha-navy);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

.btn-primary-nav:hover { background: var(--mha-blue); }
.btn-primary-nav:active { transform: scale(0.99); }
.btn-primary-nav:disabled { opacity: 0.65; cursor: not-allowed; }

.alert-error {
    background: #fdecea;
    border: 1px solid #f5c6cb;
    border-left: 4px solid var(--mha-error);
    color: var(--mha-error);
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 20px;
}

.login-footer {
    margin-top: 32px;
    text-align: center;
    font-size: 12px;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .split-left { display: none; }
    .split-right { width: 100%; padding: 40px 24px; }
}

.alert-resent {
    background: rgba(76,175,130,0.12);
    border-left: 4px solid #4caf82;
    color: #4caf82;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.83rem;
    margin-bottom: 18px;
}
