/* Basis stijl voor de hele website */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #0f172a;
    color: white;
    min-height: 100vh;
    line-height: 1.5;
}

/* Hero sectie op het beginscherm */
.hero {
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 120px 20px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.hero .datum { color: #f97316; margin-bottom: 10px; }
.hero h1 { font-size: 2.5rem; }
.hero h2 { color: #f97316; font-size: 3rem; margin-bottom: 10px; }
.hero p { margin-bottom: 25px; }

/* Info balk met datum/tijd/limiet */
.info-balk {
    background: #134e4a;
    display: flex;
    justify-content: space-around;
    padding: 25px;
    flex-wrap: wrap;
    gap: 20px;
}
.info-balk h3 { color: #94a3b8; font-size: 0.85rem; text-transform: uppercase; }
.info-balk p { font-weight: bold; }

/* Huisregels sectie */
.regels { padding: 40px 20px; max-width: 800px; margin: 0 auto; }
.regels h2 { margin-bottom: 15px; }
.regels ul { padding-left: 20px; line-height: 2; margin-bottom: 20px; }

/* Container voor formulier-pagina's */
.container { max-width: 900px; margin: 40px auto; padding: 30px 20px; }
.container h1 { margin-bottom: 10px; }
.container > p { color: #94a3b8; margin-bottom: 25px; }

/* Login box - kleinere variant */
.login-box {
    max-width: 400px;
    margin: 80px auto;
    background: #1e293b;
    padding: 40px;
    border-radius: 12px;
}
.login-box h1 { text-align: center; margin-bottom: 25px; }

/* Knoppen */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin: 5px 5px 5px 0;
    text-transform: uppercase;
}
.btn-oranje { background: #f97316; }
.btn-donker { background: #334155; }
.btn-rood   { background: #dc2626; }
.btn:hover  { opacity: 0.85; }

/* Formulier-velden */
label { display: block; margin: 15px 0 5px; color: #cbd5e1; }
input[type=text], input[type=email], input[type=tel],
input[type=password], input[type=date] {
    width: 100%;
    padding: 12px;
    background: #1e293b;
    border: 1px solid #334155;
    color: white;
    border-radius: 6px;
    font-size: 1rem;
}
input:focus { outline: none; border-color: #f97316; }

/* Grid voor twee velden naast elkaar */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

/* Foutmelding en succesmelding */
.fout, .succes {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: bold;
}
.fout { background: #7f1d1d; }
.succes { background: #14532d; }

/* Teller (vrije plekken) */
.teller {
    background: #1e3a4a;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.balk { background: #334155; height: 8px; border-radius: 4px; margin-top: 8px; }
.balk-vol { background: #f97316; height: 100%; border-radius: 4px; }

/* Kaartjes in dashboard */
.kaart {
    background: #1e293b;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
}
.kaart h2 { margin-bottom: 15px; }
.kaart-rood { background: #450a0a; }

.kaart table { width: 100%; border-collapse: collapse; margin-bottom: 15px; }
.kaart table td { padding: 10px 0; border-bottom: 1px solid #334155; }
.kaart table td:first-child { color: #94a3b8; width: 40%; }

/* Statistiek blokjes (admin) */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 25px; }
.stat-blok { background: #1e293b; padding: 20px; border-radius: 10px; }
.stat-blok p { color: #94a3b8; font-size: 0.85rem; text-transform: uppercase; }
.stat-blok .getal { font-size: 2rem; font-weight: bold; color: #f97316; }

/* Zoekformulier admin */
.zoek-form { display: flex; gap: 10px; margin-bottom: 20px; }
.zoek-form input { flex: 1; }

/* Tabel met alle fans (admin) */
.fans-tabel {
    width: 100%;
    border-collapse: collapse;
    background: #1e293b;
    border-radius: 8px;
    overflow: hidden;
}
.fans-tabel th { background: #134e4a; padding: 12px; text-align: left; text-transform: uppercase; font-size: 0.85rem; }
.fans-tabel td { padding: 12px; border-bottom: 1px solid #334155; }
.link-rood { color: #f97316; text-decoration: underline; cursor: pointer; }

/* Links onderaan pagina's */
.link { display: inline-block; color: #f97316; margin-top: 15px; text-decoration: none; }
.link:hover { text-decoration: underline; }

footer { text-align: center; padding: 20px; color: #475569; }

/* Mobiel responsive */
@media (max-width: 600px) {
    .grid, .stats { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.8rem; }
    .hero h2 { font-size: 2.2rem; }
}


/* Grid voor regels + afbeelding naast elkaar */
.regels-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* Op mobiel onder elkaar */
@media (max-width: 768px) {
    .regels-grid { grid-template-columns: 1fr; }
}