:root {
    --bg-a: #f3f7ef;
    --bg-b: #d7eecf;
    --card: #ffffff;
    --ink: #112b20;
    --accent: #0f6f44;
    --accent-2: #0a4f32;
    --danger: #9e2430;
    --ok: #136f2d;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at top right, var(--bg-b), var(--bg-a));
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: var(--card);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

h1 {
    margin: 0 0 8px;
    font-size: 1.75rem;
}

.subtitle {
    margin: 0 0 20px;
    color: #315246;
}

.google-btn,
button {
    display: inline-block;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
}

.google-btn {
    background: #ffffff;
    color: #1f1f1f;
    border: 1px solid #d8d8d8;
}

button {
    background: var(--accent);
    color: #fff;
}

button:hover {
    background: var(--accent-2);
}

.divider {
    margin: 20px 0;
    text-align: center;
    position: relative;
}

.divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 1px solid #d8dfd4;
}

.divider span {
    position: relative;
    background: #fff;
    padding: 0 8px;
    color: #567a6d;
}

.stack {
    display: grid;
    gap: 10px;
}

label {
    font-weight: 600;
}

input {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #bfd3c5;
    border-radius: 9px;
    font-size: 15px;
}

.notice {
    margin-top: 16px;
    border-radius: 9px;
    padding: 10px 12px;
    font-size: 0.95rem;
}

.notice.error {
    background: #fdebed;
    color: var(--danger);
}

.notice.ok {
    background: #e9f9ec;
    color: var(--ok);
}

.hidden {
    display: none;
}