/*
Theme Name: Brandweer Sint Philipsland App
Theme URI: https://sintphilipsland.nl
Author: Jouw Naam
Description: App-achtige layout voor Brandweer Sint Philipsland met dashboard en afmeldsysteem.
Version: 3.0
Text Domain: brandweer-sintphilipstheme-app
*/
*{box-sizing:border-box;}
body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#050607;color:#f8f8f8;}
a{color:#ffb347;text-decoration:none;}
a:hover{text-decoration:underline;}
.app-shell{min-height:100vh;display:flex;flex-direction:column;background:radial-gradient(circle at top,#222 0,#050607 55%,#000 100%);}
.app-header{padding:12px 16px 8px;border-bottom:1px solid #222;background:rgba(0,0,0,0.9);backdrop-filter:blur(8px);position:sticky;top:0;z-index:20;}
.app-header-inner{display:flex;align-items:center;justify-content:space-between;max-width:1200px;margin:0 auto;}
.app-logo{display:flex;align-items:center;gap:10px;}
.app-logo img{height:42px;border-radius:10px;}
.app-title{font-size:18px;font-weight:700;color:#ff4d4d;line-height:1.1;}
.app-subtitle{font-size:11px;color:#aaa;}
.app-main{flex:1;max-width:1200px;margin:0 auto;padding:16px 16px 72px;}
.app-grid{display:grid;grid-template-columns:2fr 1.1fr;gap:18px;}
.card{background:rgba(12,12,12,0.95);border-radius:18px;padding:14px 16px;border:1px solid #272727;box-shadow:0 14px 35px rgba(0,0,0,0.7);}
.card h2{margin:0 0 6px;font-size:16px;color:#ffb347;font-weight:600;display:flex;align-items:center;gap:6px;}
.card h3{margin:4px 0;font-size:14px;}
.chip{display:inline-flex;align-items:center;gap:5px;padding:2px 8px;border-radius:999px;font-size:11px;background:#1b1b1b;border:1px solid #333;color:#ccc;}
.news-item{padding:6px 0;border-bottom:1px solid #191919;font-size:13px;}
.news-item:last-child{border-bottom:none;}
.news-item time{font-size:11px;color:#777;}
.oefen-item{padding:8px 10px;border-radius:12px;background:#111;border:1px solid #262626;margin-bottom:10px;}
.oefen-item strong{color:#ffdf7b;}
.oefen-meta{font-size:12px;color:#aaa;margin-top:2px;}
.oefen-item form{margin-top:6px;display:flex;gap:6px;flex-wrap:wrap;}
.oefen-item input[type="text"]{flex:1;min-width:120px;padding:6px 8px;border-radius:999px;border:1px solid #333;background:#050505;color:#fff;font-size:13px;}
.oefen-item button{border:none;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:600;background:#ff4d4d;color:#fff;cursor:pointer;}
.oefen-item button:hover{background:#ff3333;}
.btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:999px;border:none;background:#ff4d4d;color:#fff;font-weight:600;font-size:14px;padding:8px 14px;cursor:pointer;box-shadow:0 10px 25px rgba(255,77,77,0.45);}
.btn-primary:hover{background:#ff3333;}
.btn-outline{border-radius:999px;border:1px solid #444;background:transparent;color:#ddd;font-size:13px;padding:6px 10px;cursor:pointer;}
.badge-dot{width:8px;height:8px;border-radius:50%;background:#17ff79;box-shadow:0 0 10px #17ff79;}
.map-placeholder{width:100%;height:220px;border-radius:16px;background:radial-gradient(circle at top,#444 0,#111 60%,#000 100%);display:flex;align-items:center;justify-content:center;color:#777;font-size:12px;border:1px solid #333;margin-top:8px;}
.table-afmeldingen{width:100%;border-collapse:collapse;font-size:12px;margin-top:4px;}
.table-afmeldingen th,.table-afmeldingen td{border-bottom:1px solid #222;padding:6px 4px;text-align:left;}
.table-afmeldingen th{font-weight:600;color:#ccc;font-size:11px;text-transform:uppercase;}
.table-afmeldingen td{color:#eee;}
.app-bottom-nav{position:fixed;bottom:0;left:0;right:0;background:rgba(3,3,3,0.96);backdrop-filter:blur(10px);border-top:1px solid #202020;z-index:30;}
.app-bottom-nav-inner{max-width:600px;margin:0 auto;display:flex;justify-content:space-around;padding:6px 0;}
.nav-btn{flex:1;text-align:center;font-size:11px;color:#aaa;padding:4px 0;}
.nav-btn span{display:block;font-size:16px;margin-bottom:2px;}
.nav-btn--active{color:#ffb347;}
@media(max-width:900px){
  .app-grid{grid-template-columns:1fr;}
}
/* Brandweer accent tweaks */
.bw-oefenavond-accordion summary {
    background: linear-gradient(90deg, #1a1a1a, #141414);
    border-bottom: 1px solid #2a2a2a;
}

.bw-oefenavond-accordion[open] summary {
    background: radial-gradient(circle at top left, #b40000 0, #141414 55%);
    color: #fff;
}

.bw-oefenavonden-lijst .oefen-meta {
    color: #ffdf7b;
}

.btn-primary {
    border-radius: 999px;
    background: linear-gradient(135deg, #d90000, #ff4d4d);
    box-shadow: 0 10px 24px rgba(255, 77, 77, 0.5);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff3333, #ff6b6b);
}

.app-header {
    border-bottom: 2px solid #b40000;
}

.app-header .chip {
    border-color: #ffdf7b;
    color: #ffdf7b;
}