/* ============================================================
   AutomateBolt — Auth pages (login / register)
   Uses the site's blue palette.
   ============================================================ */
:root {
    --primary: #1190CE;
    --primary-dark: #0C6E9E;
    --primary-soft: rgba(17, 144, 206, 0.10);
    --text: #0F1B26;
    --muted: #6B7A88;
    --line: #E2E8EF;
    --red: #D8403C;
    --red-soft: #FBE9E8;
    --font-display: 'Sora', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 20px;
    font-family: var(--font-body);
    color: var(--text);
    background:
        radial-gradient(900px 500px at 100% -10%, rgba(17,144,206,.12), transparent 60%),
        radial-gradient(700px 500px at -10% 110%, rgba(17,144,206,.10), transparent 60%),
        #F5F8FB;
}
.auth-wrap { width: 100%; max-width: 430px; }
.auth-brand { text-align: center; margin-bottom: 22px; }
.auth-brand img { height: 38px; width: auto; }
.auth-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 24px 60px -28px rgba(15, 27, 38, 0.28);
    padding: 32px 30px;
}
.auth-card h1 { font-family: var(--font-display); font-size: 22px; margin: 0 0 6px; }
.auth-card .sub { color: var(--muted); font-size: 14px; margin: 0 0 22px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.field input {
    width: 100%; border: 1px solid var(--line); border-radius: 10px;
    padding: 12px 13px; font-family: inherit; font-size: 14px; color: var(--text); background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.field .err { color: var(--red); font-size: 12.5px; margin-top: 6px; }

.row-between { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.remember { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.remember input { width: 15px; height: 15px; accent-color: var(--primary); }

.btn-primary {
    width: 100%; border: 0; border-radius: 10px;
    background: var(--primary); color: #fff; font-weight: 700; font-size: 14.5px;
    padding: 13px; font-family: inherit; cursor: pointer; transition: background .15s ease;
}
.btn-primary:hover { background: var(--primary-dark); }

.alert {
    background: var(--red-soft); color: var(--red); border: 1px solid #F2C9C7;
    border-radius: 10px; padding: 11px 14px; font-size: 13.5px; margin-bottom: 18px;
}
.auth-foot { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 20px; }
.auth-foot a { color: var(--primary); font-weight: 700; text-decoration: none; }
.auth-foot a:hover { text-decoration: underline; }
.back-home { text-align: center; margin-top: 16px; font-size: 13px; }
.back-home a { color: var(--muted); text-decoration: none; }
.back-home a:hover { color: var(--primary); }
