/* style.css — Aeterna Morphos formulier-stijl */
:root {
    --ink: #0b0b0b;
    --paper: #f5f2e9;
    --gold: #d4af37;
    --err: #e25c4a;
    --ok: #7bc97b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--ink);
    color: var(--paper);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-image: radial-gradient(circle at 30% 20%, rgba(212,175,55,0.08), transparent 50%),
                      radial-gradient(circle at 70% 80%, rgba(212,175,55,0.05), transparent 50%);
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: rgba(245, 242, 233, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 16px;
    padding: 2.5rem;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.auth-card h1 {
    font-size: 1.618rem;
    color: var(--gold);
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.auth-card .sub {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    opacity: 0.6;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

label {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
    margin-bottom: 0.4rem;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    background: rgba(11, 11, 11, 0.6);
    border: 1px solid rgba(245, 242, 233, 0.2);
    border-radius: 8px;
    color: var(--paper);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    transition: border-color 0.3s;
}

input:focus {
    outline: none;
    border-color: var(--gold);
}

.optin {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.optin input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 16px;
    height: 16px;
    accent-color: var(--gold);
    cursor: pointer;
}

.optin label {
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.8rem;
    cursor: pointer;
    line-height: 1.5;
}

button {
    width: 100%;
    background: var(--gold);
    color: var(--ink);
    border: none;
    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.msg {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.msg.error { border: 1px solid var(--err); color: var(--err); }
.msg.success { border: 1px solid var(--ok); color: var(--ok); }

.switch {
    margin-top: 1.5rem;
    text-align: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    opacity: 0.7;
}

.switch a { color: var(--gold); text-decoration: none; }
.switch a:hover { text-decoration: underline; }

.hint {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    opacity: 0.45;
    margin-top: -0.9rem;
    margin-bottom: 1.25rem;
}
