:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --success: #15803d;
    --danger: #b91c1c;
    --background: #f1f5f9;
    --surface: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --border: #cbd5e1;
    --focus: rgba(37, 99, 235, 0.2);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.12), transparent 32rem),
        var(--background);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.auth-shell,
.placeholder-shell {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 1rem;
}

.auth-card,
.placeholder-card {
    width: min(100%, 28rem);
    padding: clamp(1.5rem, 5vw, 2.5rem);
    border: 1px solid rgba(203, 213, 225, 0.7);
    border-radius: 1.25rem;
    background: var(--surface);
    box-shadow: 0 1.25rem 3rem rgba(15, 23, 42, 0.08);
}

.auth-brand {
    display: grid;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.25rem;
    place-items: center;
    border-radius: 0.9rem;
    color: #fff;
    background: var(--primary);
    font-weight: 800;
}

.auth-eyebrow {
    margin: 0 0 0.5rem;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(1.6rem, 5vw, 2.1rem);
    line-height: 1.15;
}

.auth-intro,
.muted {
    color: var(--muted);
}

.field {
    margin-top: 1.25rem;
}

label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.9rem;
    font-weight: 700;
}

.auth-card .form-control {
    width: 100%;
    min-height: 2.9rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 0.7rem;
    color: var(--text);
    background: #fff;
    font: inherit;
}

.auth-card .form-control:focus {
    border-color: var(--primary);
    outline: 3px solid var(--focus);
}

.auth-card .btn,
.placeholder-card button {
    width: 100%;
    min-height: 2.9rem;
    margin-top: 1.5rem;
    border: 0;
    border-radius: 0.7rem;
    color: #fff;
    background: var(--primary);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.auth-card .btn:hover,
.placeholder-card button:hover {
    background: var(--primary-dark);
}

.button-secondary {
    background: #334155;
}

.alert {
    margin-top: 1rem;
    padding: 0.8rem 0.9rem;
    border-radius: 0.65rem;
    font-size: 0.9rem;
}

.alert-error {
    color: var(--danger);
    background: #fef2f2;
}

.alert-success {
    color: var(--success);
    background: #f0fdf4;
}
