*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.page-bg { min-height: 100vh; background: #F0F2F5; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; }
.login-wrap { display: flex; width: 800px; min-height: 500px; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.10); border: 1px solid #E0E3E8; }
.brand-panel { width: 42%; background: #0B1E3D; padding: 2.25rem 2rem; display: flex; flex-direction: column; justify-content: space-between; flex-shrink: 0; }
.brand-logo { display: flex; align-items: center; gap: 12px; }
.brand-logo-img-lg { height: 32px; width: auto; display: block; }
.brand-icon { width: 34px; height: 34px; background: #C9A84C; border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-name { font-size: 14px; font-weight: 600; color: #E8E4DC; letter-spacing: 0.03em; line-height: 1.3; }
.brand-sub { font-size: 10.5px; color: #7A8FA3; letter-spacing: 0.09em; text-transform: uppercase; margin-top: 2px; }
.brand-tagline { font-size: 21px; font-weight: 400; color: #BCC8D6; line-height: 1.55; }
.brand-tagline .gold { color: #C9A84C; }
.brand-footer { font-size: 11px; color: #4A5E72; line-height: 1.5; }
.form-panel { flex: 1; background: #ffffff; padding: 2.5rem 2.25rem; display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; }
.form-panel h1 { font-size: 20px; font-weight: 700; color: #111827; letter-spacing: -0.01em; }
.form-sub { font-size: 13.5px; color: #6B7280; line-height: 1.55; margin-top: -0.5rem; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0.6rem; }
.field label { font-size: 12.5px; font-weight: 600; color: #374151; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #9CA3AF; pointer-events: none; display: block; flex-shrink: 0; }
.form-input { width: 100%; height: 42px; padding: 0 42px 0 38px; font-size: 14px; font-family: inherit; color: #111827; background: #ffffff; border: 1.5px solid #D1D5DB; border-radius: 8px; outline: none; transition: border-color 0.15s ease, box-shadow 0.15s ease; -webkit-appearance: none; appearance: none; }
.form-input::placeholder { color: #B0B7C3; }
.form-input:hover { border-color: #B0B7C3; }
.form-input:focus { border-color: #C9A84C; box-shadow: 0 0 0 3px rgba(201,168,76,0.18); }
.toggle-pw { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; padding: 4px; color: #9CA3AF; display: flex; align-items: center; justify-content: center; border-radius: 4px; }
.toggle-pw:hover { color: #6B7280; }
.field-error { font-size: 12px; color: #DC2626; min-height: 16px; }
.validation-summary { font-size: 13px; color: #DC2626; background: #FEF2F2; border: 1px solid #FECACA; border-radius: 8px; padding: 10px 14px; margin-bottom: 0.5rem; }
.validation-summary ul { margin: 0; padding-left: 1rem; }
.validation-summary:empty { display: none; }
.login-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 42px; margin-top: 0.25rem; background: #0B1E3D; color: #E8E4DC; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; font-family: inherit; letter-spacing: 0.02em; cursor: pointer; transition: background 0.15s ease; }
.login-btn:hover { background: #162E52; }
.divider { height: 1px; background: #F3F4F6; margin: 0.1rem 0; }
.form-footer { text-align: center; font-size: 13.5px; color: #6B7280; }
.forgot-link { color: #92701E; text-decoration: none; border-bottom: 1px solid rgba(201,168,76,0.6); padding-bottom: 1px; }
.forgot-link:hover { color: #C9A84C; }
.secure-note { font-size: 12px; color: #9CA3AF; text-align: center; display: flex; align-items: center; justify-content: center; gap: 5px; }
@media (max-width: 680px) {
  .login-wrap { flex-direction: column; width: 100%; border-radius: 12px; }
  .brand-panel { width: 100%; min-height: 160px; padding: 1.5rem; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 1rem; }
  .brand-tagline, .brand-footer { display: none; }
  .form-panel { padding: 2rem 1.5rem; }
}

/* ════════════════════════════════════════
   FORGOT / RESET PASSWORD ADDITIONS
════════════════════════════════════════ */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6B7280;
    text-decoration: none;
    margin-bottom: 0.25rem;
    transition: color 0.15s;
}
.back-link:hover { color: #111827; }

.fp-illustration {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: auto 0;
}

.lock-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.12);
    border: 1.5px solid rgba(201, 168, 76, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fp-caption {
    color: #8899AA;
    font-size: 13px;
    text-align: center;
    line-height: 1.65;
    max-width: 200px;
}

.info-box {
    background: #FAFAF7;
    border: 1px solid #E5E7EB;
    border-left: 3px solid #C9A84C;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 13px;
    color: #4B5563;
    line-height: 1.6;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.success-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    padding: 1.5rem 0;
}

.success-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(29, 158, 117, 0.1);
    border: 1.5px solid rgba(29, 158, 117, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-state h2 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.success-state p {
    font-size: 13.5px;
    color: #6B7280;
    line-height: 1.65;
    max-width: 320px;
}

.success-sub {
    font-size: 13px !important;
    color: #9CA3AF !important;
}
