:root {
    --auth-ink: #0b1c30;
    --auth-muted: #60706d;
    --auth-line: #bcc9c6;
    --auth-paper: #f8f9ff;
    --auth-surface: #ffffff;
    --auth-teal: #00796f;
    --auth-teal-dark: #005049;
    --auth-blue: #0d6efd;
    --auth-red: #ba1a1a;
    --auth-shadow: 0 22px 70px rgba(11, 28, 48, 0.1);
}

* {
    box-sizing: border-box;
}

.auth-body {
    min-height: 100vh;
    margin: 0;
    color: var(--auth-ink);
    background:
        radial-gradient(circle at top left, rgba(0, 121, 111, 0.1), transparent 34rem),
        linear-gradient(145deg, #f8fbff 0%, #eef4f2 100%);
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.auth-shell {
    display: grid;
    align-content: center;
    width: min(100% - 32px, 430px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 36px 0;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    margin: 0 auto 22px;
    color: var(--auth-ink);
    text-decoration: none;
}

.auth-brand:hover {
    color: var(--auth-teal-dark);
}

.auth-brand-mark {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--auth-teal);
    color: #fff;
    font-weight: 800;
}

.auth-brand strong,
.auth-brand small {
    display: block;
    line-height: 1.15;
}

.auth-brand strong {
    color: var(--auth-teal-dark);
    font-size: 1.25rem;
}

.auth-brand small {
    color: var(--auth-muted);
    font-size: 0.82rem;
}

.auth-demo-note,
.auth-flash {
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(0, 121, 111, 0.18);
    border-radius: 8px;
    background: rgba(0, 121, 111, 0.08);
    color: var(--auth-teal-dark);
    font-size: 0.92rem;
}

.auth-flash.error {
    border-color: rgba(186, 26, 26, 0.18);
    background: rgba(186, 26, 26, 0.08);
    color: var(--auth-red);
}

.auth-flash.success {
    border-color: rgba(0, 121, 111, 0.22);
    background: rgba(0, 121, 111, 0.1);
}

.auth-login-card {
    border: 1px solid var(--auth-line);
    border-radius: 12px;
    background: var(--auth-surface);
    box-shadow: var(--auth-shadow);
}

.auth-eyebrow {
    margin-bottom: 0.35rem;
    color: var(--auth-teal-dark);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.auth-login-title {
    margin-bottom: 1.35rem;
    font-size: clamp(2rem, 6vw, 2.55rem);
    font-weight: 400;
    letter-spacing: 0;
}

.auth-login-card .form-control {
    min-height: 52px;
    border-color: var(--auth-line);
    border-radius: 8px;
}

.auth-login-card .form-control:focus {
    border-color: var(--auth-teal);
    box-shadow: 0 0 0 0.2rem rgba(0, 121, 111, 0.14);
}

.auth-submit {
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    background: #002b57;
    font-weight: 700;
}

.auth-submit:hover,
.auth-submit:focus {
    background: #003a74;
}

.auth-helper {
    color: var(--auth-muted);
    font-size: 0.88rem;
}
