/* Vogeltrekvoorspelling -- huisstijl overgenomen van intermod-tool (PhosMega). */

:root {
    --kleur-primair: #f39f18;
    --kleur-petrol: #1d2f33;
    --kleur-achtergrond: #f6f1ee;
    --kleur-surface: #ffffff;
    --kleur-danger: #c0392b;
    --kleur-success: #2e8b57;
    --kleur-info: #1d2f33;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: var(--kleur-achtergrond);
    color: var(--kleur-petrol);
}

a { color: var(--kleur-primair); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
    background: var(--kleur-petrol);
    color: #fff;
}
.site-header-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 1.2rem; text-decoration: none; }
.brand:hover { color: #fff; text-decoration: none; }
.brand-sun { height: 32px; width: 32px; }
.site-header nav a, .site-header nav .link-button {
    color: #f6f1ee;
    margin-left: 20px;
    font-size: 0.95rem;
}
.site-header nav a:hover, .site-header nav .link-button:hover { color: var(--kleur-primair); }

.page {
    max-width: 1100px;
    margin: 32px auto;
    padding: 0 24px;
}
.page.wide { max-width: 1500px; }

.card {
    background: var(--kleur-surface);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(29, 47, 51, 0.08);
}

h1, h2, h3 { color: var(--kleur-petrol); }

.flash {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.95rem;
}
.flash-success { background: #e4f3ea; color: var(--kleur-success); }
.flash-error { background: #fbe7e4; color: var(--kleur-danger); }
.flash-info { background: #e9eef0; color: var(--kleur-info); }

label { display: block; margin: 12px 0 4px; font-weight: 500; }
input[type="text"], input[type="email"], input[type="password"], input[type="date"],
input[type="time"], input[type="number"], select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d8d2cc;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

button, .button {
    background: var(--kleur-primair);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-block;
}
button:hover, .button:hover { opacity: 0.9; }
button.danger { background: var(--kleur-danger); }
button.secondary { background: var(--kleur-petrol); }

.link-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
}
.inline-form { display: inline; }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #eee; font-size: 0.92rem; }
th { color: #6b7a7d; font-weight: 600; }

.form-row { display: flex; gap: 16px; flex-wrap: wrap; }
.form-row > div { flex: 1; min-width: 180px; }

.site-footer { background: var(--kleur-petrol); margin-top: 32px; }
.footer-inner {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 16px 24px 8px;
}
.footer-logo img { height: 30px; display: block; }
.footer-sun { height: 24px; display: block; }
.footer-line { height: 3px; background: var(--kleur-primair); }
.footer-tekst {
    text-align: center;
    color: #c9d1d3;
    font-size: 0.85rem;
    padding: 12px 0 20px;
    margin: 0;
}

.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.8rem; }
.badge-actief { background: #e4f3ea; color: var(--kleur-success); }
.badge-uitgeschakeld { background: #f1ece6; color: #8a8178; }

.hint { color: #6b7a7d; font-size: 0.85rem; margin-top: 4px; }

.periode-form { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-top: 16px; }
.periode-form label { margin: 0; font-size: 0.85rem; }
.periode-form input, .periode-form select { width: auto; min-width: 140px; }
.plot { width: 100%; }
