:root {
    --bg: #0d0d0d;
    --field: #242424;
    --text: #e8e8e8;
    --muted: #7a7a7a;
    --accent: #922424;
    --error: #ff6b6b;
    --ok: #4caf7d;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
}

.login {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 16px;
}

.login__logo {
    width: 80px;
    height: auto;
    animation: float 2s ease-in-out infinite alternate;
}

@keyframes float {
    from { transform: translateY(-6px); }
    to   { transform: translateY(6px); }
}

/* Zet de animatie uit voor wie bewegende beelden liever niet heeft. */
@media (prefers-reduced-motion: reduce) {
    .login__logo {
        animation: none;
    }
}

.card {
    width: 100%;
    max-width: 300px;
    background: transparent;
    border: none;
    padding: 0;
}

.card__title {
    color: var(--accent);
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 18px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.field {
    display: flex;
    align-items: center;
    background-color: var(--field);
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0 12px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field__icon {
    width: 16px;
    height: 16px;
    fill: var(--muted);
    flex-shrink: 0;
}

.field__input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 14px;
    padding: 11px 10px;
}

.field__input::placeholder {
    color: var(--muted);
}

.message {
    font-size: 13px;
    text-align: center;
    padding: 2px 0;
}

.message--error {
    color: var(--error);
}

.message--ok {
    color: var(--ok);
}

.button {
    align-self: center;
    background-color: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 8px 96px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.button:hover {
    background-color: #B13636;
}