:root {
    --wdg-accent: #51b0e4;
    --wdg-tekst: #1c1f1a;
    --wdg-oppervlak: #fff;
    --wdg-lijn: rgba(0, 0, 0, .14);
}

* { box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f4f6f8;
    color: var(--wdg-tekst);
    margin: 0;
    padding: 2rem;
}

.admin-login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0;
}

.admin-login__form {
    background: var(--wdg-oppervlak);
    border: 1px solid var(--wdg-lijn);
    border-radius: 10px;
    padding: 2rem;
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.admin-login__form h1 { margin: 0 0 .5rem; font-size: 1.3rem; }
.admin-login__form label { display: flex; flex-direction: column; gap: .3rem; font-size: .9rem; }
.admin-login__form input {
    height: 40px;
    padding: 0 .75rem;
    border: 1px solid var(--wdg-lijn);
    border-radius: 6px;
    font-size: 1rem;
}
.admin-login__form button {
    height: 42px;
    border: none;
    border-radius: 6px;
    background: var(--wdg-accent);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}
.admin-login__error { color: #b91c1c; font-size: .85rem; margin: 0; }

.admin-dashboard__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}
.admin-dashboard__header h1 { margin: 0; font-size: 1.4rem; }
.admin-dashboard__header a { color: var(--wdg-accent); text-decoration: none; }

.admin-dashboard__table {
    width: 100%;
    border-collapse: collapse;
    background: var(--wdg-oppervlak);
    border: 1px solid var(--wdg-lijn);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
}
.admin-dashboard__table th, .admin-dashboard__table td {
    text-align: left;
    padding: .6rem .8rem;
    border-bottom: 1px solid var(--wdg-lijn);
    font-size: .88rem;
}
.admin-dashboard__table th { background: #f0f2f4; font-weight: 600; }
.admin-dashboard__table tr.is-inactief { opacity: .55; }
.admin-dashboard__error { color: #b91c1c; max-width: 260px; }
.admin-dashboard__acties { display: flex; align-items: center; gap: .5rem; white-space: nowrap; }
.admin-dashboard__acties form { display: inline; }

.badge {
    display: inline-block;
    padding: .15rem .5rem;
    border-radius: 4px;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
}
.badge--actief { background: #dcfce7; color: #15803d; }
.badge--gepauzeerd { background: #f1f5f9; color: #475569; }
.badge--storing { background: #fee2e2; color: #b91c1c; }

.admin-dashboard__table button {
    height: 32px;
    padding: 0 .8rem;
    border: 1px solid var(--wdg-lijn);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}
.admin-dashboard__verwijder { color: #b91c1c; border-color: #fca5a5; }

.admin-form {
    background: var(--wdg-oppervlak);
    border: 1px solid var(--wdg-lijn);
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.admin-form label { display: flex; flex-direction: column; gap: .3rem; font-size: .9rem; }
.admin-form input, .admin-form select {
    height: 40px;
    padding: 0 .75rem;
    border: 1px solid var(--wdg-lijn);
    border-radius: 6px;
    font-size: .95rem;
}
.admin-form fieldset {
    border: 1px solid var(--wdg-lijn);
    border-radius: 6px;
    padding: .8rem;
    display: flex;
    flex-direction: column;
    gap: .8rem;
}
.admin-form fieldset legend { font-size: .8rem; color: #666; padding: 0 .3rem; }
.admin-form button {
    height: 42px;
    border: none;
    border-radius: 6px;
    background: var(--wdg-accent);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
    padding: 0 1.5rem;
}
