/* Beheerpaneel - stijl afgeleid van de huisstijl van 't Hele Eind */
:root {
    --navy: #022445;
    --cream: #FAF2E6;
    --cream-dark: #F0E4D0;
    --red: #A5191D;
    --gold: #B08231;
    --gold-light: #c99f52;
}
* { box-sizing: border-box; }
body {
    font-family: 'Open Sans', Arial, sans-serif;
    background: var(--cream-dark);
    margin: 0;
    color: #1a2c3a;
}
a { color: var(--red); }
.admin-header {
    background: var(--navy);
    color: var(--cream);
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.admin-header .brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-family: 'Montserrat', sans-serif; }
.admin-header img { height: 40px; width: 40px; border-radius: 50%; }
.admin-header nav { display: flex; gap: 4px; flex-wrap: wrap; }
.admin-header nav a {
    color: var(--cream);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
}
.admin-header nav a:hover, .admin-header nav a.active { background: rgba(250,242,230,0.15); color: var(--gold-light); }
.admin-header .logout { font-size: 0.85rem; color: #d9e2ea; }

.admin-wrap { max-width: 980px; margin: 0 auto; padding: 32px 24px 80px; }
.admin-card {
    background: #fff;
    border-radius: 10px;
    padding: 28px 30px;
    box-shadow: 0 4px 20px rgba(2,36,69,0.08);
    margin-bottom: 24px;
}
h1, h2, h3 { font-family: 'Montserrat', sans-serif; color: var(--navy); }
h1 { font-size: 1.7rem; margin-bottom: 6px; }
.subtitle { color: #62727e; margin-bottom: 24px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.92rem; color: var(--navy); }
.form-group .hint { font-weight: 400; color: #7a8994; font-size: 0.82rem; display: block; margin-top: 4px; }
.form-group input[type=text], .form-group input[type=email], .form-group input[type=password],
.form-group input[type=date], .form-group input[type=url], .form-group textarea, .form-group select {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid #d9cdb8;
    border-radius: 6px;
    font-size: 0.96rem;
    font-family: inherit;
}
.form-group textarea { resize: vertical; }
.form-group input[type=file] { padding: 6px 0; }

.btn {
    display: inline-block;
    background: var(--red);
    color: #fff;
    border: none;
    padding: 11px 24px;
    border-radius: 100px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.94rem;
    text-decoration: none;
}
.btn:hover { background: #841216; color: #fff; }
.btn.btn-secondary { background: var(--gold); }
.btn.btn-secondary:hover { background: var(--gold-light); }
.btn.btn-danger { background: #6b1414; }
.btn.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }

.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 22px; font-weight: 600; }
.alert-success { background: #e3f3e1; color: #276b2a; border: 1px solid #b9dfb6; }
.alert-error { background: #fbe4e4; color: #841216; border: 1px solid #f0bcbc; }

table { width: 100%; border-collapse: collapse; margin-top: 10px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #eee0c8; font-size: 0.92rem; }
th { color: var(--navy); font-family: 'Montserrat', sans-serif; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
td .actions a { margin-right: 12px; font-size: 0.88rem; }

.section-block { border: 1px solid #eee0c8; border-radius: 8px; padding: 18px 20px; margin-bottom: 18px; background: #fffdf8; position: relative; }
.section-block .remove-btn { position: absolute; top: 12px; right: 14px; color: #a5191d; cursor: pointer; font-size: 0.85rem; font-weight: 700; background: none; border: none; }

.grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .grid-2col { grid-template-columns: 1fr; } }

.image-slot { display: flex; gap: 18px; align-items: center; border: 1px solid #eee0c8; border-radius: 8px; padding: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.image-slot img { width: 160px; height: 90px; object-fit: cover; border-radius: 6px; background: #f3ead7; }
.image-slot .slot-info { flex: 1; min-width: 200px; }

.login-wrap { max-width: 380px; margin: 90px auto; }
.login-wrap .admin-card { text-align: center; }
.login-wrap .brand-logo { height: 70px; width: 70px; border-radius: 50%; margin-bottom: 14px; }
