:root {
    --gai-green: #1B5E20;
    --gai-green-light: #2E7D32;
    --gai-blue: #0D47A1;
    --gai-ink: #1a1a1a;
    --gai-muted: #607d8b;
    --gai-border: #d7dde3;
    --gai-error: #c62828;
    --gai-ok: #1B5E20;
}

* { box-sizing: border-box; }

.auth-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #0A1628 0%, #103018 60%, #1B5E20 100%);
    padding: 24px;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 14px;
    padding: 36px 34px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.auth-brand { text-align: center; margin-bottom: 26px; }
.auth-logo {
    display: inline-block;
    font-size: 40px;
    color: var(--gai-green);
    line-height: 1;
}
.auth-brand h1 {
    margin: 8px 0 2px;
    font-size: 26px;
    font-weight: 700;
    color: var(--gai-ink);
    letter-spacing: -0.5px;
}
.auth-sub { margin: 0; color: var(--gai-muted); font-size: 14px; }

.auth-form { display: flex; flex-direction: column; }
.auth-form label {
    font-size: 13px;
    font-weight: 500;
    color: #37474f;
    margin: 12px 0 5px;
}
.auth-form input {
    padding: 11px 12px;
    border: 1px solid var(--gai-border);
    border-radius: 8px;
    font-size: 15px;
    transition: border-color .15s, box-shadow .15s;
}
.auth-form input:focus {
    outline: none;
    border-color: var(--gai-green-light);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

.auth-row { display: flex; gap: 12px; }
.auth-row > div { flex: 1; display: flex; flex-direction: column; }

.auth-btn {
    margin-top: 22px;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: var(--gai-green);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}
.auth-btn:hover { background: var(--gai-green-light); }
.auth-btn:active { transform: translateY(1px); }

.auth-alert {
    padding: 11px 13px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 18px;
    line-height: 1.4;
}
.auth-alert-error { background: #fdecea; color: var(--gai-error); border: 1px solid #f5c6c2; }
.auth-alert-ok { background: #e8f5e9; color: var(--gai-ok); border: 1px solid #b9dfbc; }

.auth-foot { text-align: center; margin-top: 20px; font-size: 14px; color: var(--gai-muted); }
.auth-foot a { color: var(--gai-blue); font-weight: 500; text-decoration: none; }
.auth-foot a:hover { text-decoration: underline; }

/* Honeypot — visually and semantically hidden, but present in the DOM for bots. */
.auth-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
