*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --navy: #0C1A35; --navy2: #142548; --accent: #C9A84C;
    --white: #fff; --bg: #F5F4F0; --text: #111110;
    --mid: #4B5563; --muted: #9CA3AF; --border: #E5E7EB;
}
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; }

.nav { display: flex; align-items: center; justify-content: space-between; padding: 0 48px; height: 64px; background: var(--navy); }
.nav-logo img { height: 44px; width: auto; }
.nav-link { font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.6); text-decoration: none; padding: 7px 14px; border-radius: 8px; transition: color .2s, background .2s; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }

.login-wrap {
    min-height: calc(100vh - 64px);
    display: flex; align-items: center; justify-content: center;
    padding: 40px 20px;
}
.login-card {
    background: #fff; border-radius: 20px;
    box-shadow: 0 4px 32px rgba(12,26,53,.08);
    padding: 48px 44px; width: 100%; max-width: 440px;
}
.login-logo { text-align: center; margin-bottom: 28px; }
.login-logo img { height: 36px; }
.login-title { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; text-align: center; }
.login-sub { font-size: .84rem; color: var(--muted); text-align: center; margin-bottom: 32px; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: .75rem; font-weight: 600; color: var(--mid); margin-bottom: 6px; letter-spacing: .04em; text-transform: uppercase; }
.form-input {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--border);
    border-radius: 10px; font-size: .9rem; font-family: inherit;
    background: #fff; color: var(--text); outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.form-input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(12,26,53,.08); }
.btn-submit {
    width: 100%; padding: 14px; background: var(--navy); color: #fff;
    border: none; border-radius: 10px; font-size: .95rem; font-weight: 700;
    cursor: pointer; margin-top: 8px; font-family: inherit;
    transition: background .2s, transform .1s; letter-spacing: .01em;
}
.btn-submit:hover { background: var(--navy2); }
.btn-submit:active { transform: scale(.99); }
.form-error {
    background: #FEF2F2; border: 1px solid #FECACA; color: #DC2626;
    border-radius: 8px; padding: 12px 14px; font-size: .84rem; margin-bottom: 20px;
}
.login-footer { margin-top: 24px; text-align: center; font-size: .82rem; color: var(--muted); }
.login-footer a { color: var(--navy); font-weight: 600; text-decoration: none; }
.login-footer a:hover { text-decoration: underline; }
.remember-row { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.remember-row input { accent-color: var(--navy); }
.remember-row label { font-size: .82rem; color: var(--mid); cursor: pointer; }

@media (max-width: 480px) {
    .login-card { padding: 36px 24px; }
    .nav { padding: 0 20px; }
}
