:root {
    --secondary: #1e6bd6;
    --secondary-dark: #1553a8;
    --bg: #f3f5f8;
    --overlay: rgba(30, 107, 214, 0.08);
    --card: #ffffff;
    --text: #1a1a1a;
    --danger: #d63636;
}

/* ===== RESET ===== */
* { box-sizing: border-box; }

html, body { height: 100%; }

body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    background: var(--bg);               /* LICHT */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===== ACHTERGROND KADER ===== */
.auth-wrapper {
    width: 100%;
    max-width: 520px;
    padding: 40px;
    background: var(--overlay);
    border-radius: 22px;
}

/* ===== LOGIN KAART ===== */
.auth-card {
    background: var(--card);
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,.15);
    text-align: center;
}

.auth-card h2 {
    margin: 0 0 25px;
    color: var(--text);
}

/* ===== FORM ===== */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-form input {
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #4036d3;
    font-size: 1rem;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--secondary);
}

/* ===== BUTTON ===== */
.auth-form button {
    margin-top: 10px;
    background: var(--secondary);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 999px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.05s ease, background-color 0.2s ease;
}

.auth-form button:hover {
    background: var(--secondary-dark);
}

.auth-form button:active {
    transform: scale(0.97);
}

/* ===== MELDING ===== */
.auth-message {
    margin-top: 18px;
    color: var(--danger);
    font-size: 0.9rem;
}

/* ===== LINKS ===== */
.auth-links,
.auth-back {
    margin-top: 22px;
    font-size: 0.9rem;
}

.auth-links a,
.auth-back a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.auth-links a:hover,
.auth-back a:hover {
    text-decoration: underline;
}

/* ===== MESSAGE VARIANTS (onderaan auth.css plakken) ===== */
.auth-message{
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(214, 54, 54, 0.10);
}

.auth-message.success{
    color: #1f7a3a;
    background: rgba(31, 122, 58, 0.12);
}

.auth-message a{
    color: var(--secondary);
    font-weight: 700;
    text-decoration: none;
}

.auth-message a:hover{
    text-decoration: underline;
}