/* Auth styles shared by login-style screens. */
:root {
    --brand-ink: #102033;
    --brand-muted: #667085;
    --brand-line: #dce3ed;
    --brand-surface: #f5f8fb;
    --brand-navy: #071629;
    --brand-blue: #ff4a0a;
    --brand-green: #11875d;
}

body.auth-bg {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background:
        linear-gradient(90deg, rgba(7, 22, 41, 0.97) 0%, rgba(7, 22, 41, 0.84) 46%, rgba(7, 22, 41, 0.32) 100%),
        url("../img/logo_landing-hero-fleet.png");
    background-size: cover;
    background-position: center;
    color: var(--brand-ink);
    padding: 24px;
}

.auth-card {
    width: 380px;
    max-width: calc(100% - 48px);
    border: 1px solid rgba(255,255,255,0.68);
    border-radius: 8px;
    padding: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), #ffffff 60%);
    box-shadow: 0 24px 70px rgba(7, 22, 41, 0.34);
}

.auth-hero {
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:14px;
}

.auth-chip {
    display:inline-flex;
    align-items:center;
    gap:8px;
    background: #fff0e8;
    color:var(--brand-blue);
    padding:6px 10px;
    border-radius:8px;
    font-weight:700;
    font-size:13px;
}

.auth-title { margin:0; font-size:20px; font-weight:800; color:var(--brand-ink); }
.auth-sub { margin:0; font-size:13px; color:var(--brand-muted); }

.form-control:focus { box-shadow: 0 0 0 0.15rem rgba(255,74,10,0.18); border-color: var(--brand-blue); }

.btn-primary { background-color:var(--brand-blue); border-color:var(--brand-blue); }
.btn-primary:hover,
.btn-primary:focus { background-color:#cc3500; border-color:#cc3500; }

.field-actions { display:flex; justify-content:space-between; align-items:center; gap:8px; }

.password-toggle { cursor:pointer; color:var(--brand-muted); }

.error-box { display:none; margin-bottom:8px; }
.error-box.show { display:block; }

.small-link { color:var(--brand-blue); font-size:13px; font-weight:700; }

@media (max-width:420px){
    .auth-card { padding:16px; }
}
