/* Feelgood Radio Archief — één stylesheet (blauwe huisstijl) */

/* Basis */
:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color-scheme:dark;background:#245587;color:#fff;font-size:16px;line-height:1.55}
*{box-sizing:border-box}
html,body{background:#245587;color:#fff}
body{margin:0}
a{color:#fff}
small{font-size:12px}

/* Kop */
header{min-height:88px;padding:18px max(24px,calc((100vw - 1160px)/2));display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:18px;background:#1b456f;border-bottom:2px solid #3674ad}
.brand{display:inline-flex;align-items:center;gap:16px;color:#fff;font-size:18px;font-weight:800;text-decoration:none}
.feelgood-logo{display:block;width:150px;height:86px;object-fit:contain;flex-shrink:0}
header .home-button{display:inline-flex;align-items:center;justify-content:center;padding:11px 20px;min-height:46px;white-space:nowrap}

/* Smiley rechtsboven als beheer-login / logout */
header .smile-account{margin-left:auto;flex:0 0 auto;display:flex;align-items:center;justify-content:center}
header .smile-account-button,header .smile-account-link{padding:0;border:0;background:transparent;box-shadow:none;width:56px;height:56px;border-radius:50%;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
header .smile-account-button:hover,header .smile-account-link:hover{background:transparent;transform:scale(1.06)}
header .smile-account-button img,header .smile-account-link img{width:54px;height:54px;object-fit:contain;display:block;border-radius:50%}
header .smile-account-button:focus-visible,header .smile-account-link:focus-visible{outline:3px solid #fff;outline-offset:3px}

/* Pagina */
main{max-width:1208px;padding:48px 24px 64px;margin:auto}
h1{font-size:40px;line-height:1.15;letter-spacing:-1.5px;margin:14px 0;color:#fff}
h2{font-size:21px;letter-spacing:-.5px;margin:0 0 10px;color:#fff}
h3{font-size:17px;line-height:1.4;margin:0;overflow-wrap:anywhere;color:#fff}
.muted{color:#d9e8f7}
.eyebrow{font-size:11px;letter-spacing:1.8px;font-weight:750;color:#e2f1ff}
.intro{margin-bottom:36px}
.intro p{margin:12px 0 0;color:#d9e8f7}
.layout{display:grid;grid-template-columns:340px minmax(0,1fr);gap:32px;align-items:start}
.public-library{display:block;max-width:1050px;margin:0 auto}
.public-library .collection{width:100%;min-width:0}
footer{padding:24px;text-align:center;font-size:12px;color:#d9e8f7;border-top:1px solid #4277a6}

/* Kaarten en meldingen */
.card{background:#1b456f;color:#fff;border:1px solid #4277a6;border-radius:18px;padding:28px;box-shadow:0 4px 16px #102e4b30}
.alert{padding:14px 18px;border-radius:10px;margin:0 0 24px}
.error{background:#fff0ee;color:#9a3025;border:1px solid #f2c8c1}
.success{background:#e6f5eb;color:#18623f;border:1px solid #c4e4ce}
.empty{padding:64px 30px;text-align:center;border-style:dashed;box-shadow:none}
.empty-icon{display:block;color:#8db5dc;font-size:44px;margin-bottom:20px}
.empty p{font-size:14px;max-width:310px;margin:12px auto}

/* Formulieren */
.stack{display:grid;gap:20px}
.stack label{display:grid;gap:8px;font-size:14px;font-weight:650}
input{width:100%;min-width:0;padding:12px 13px;font:inherit;color:#102d4b;border:1px solid #abc6de;border-radius:8px;background:#fff}
input[type=file]{padding:17px 10px;border:1px dashed #abc6de;font-size:12px}
input::file-selector-button{font:inherit;background:#dcebf8;color:#14385f;border:0;border-radius:5px;padding:7px;cursor:pointer;margin-right:8px}
select{display:block;width:100%;padding:10px;margin-top:6px;border:1px solid #abc6de;border-radius:8px;background:#fff;color:#102d4b}
input:focus,select:focus,button:focus-visible,a:focus-visible{outline:3px solid #a6d8ff;outline-offset:2px}
.upload-icon{display:grid;place-items:center;width:48px;height:48px;border:1px solid #4277a6;background:#14385f;color:#fff;border-radius:14px;font-size:28px;margin-bottom:22px}
.upload p{font-size:14px;margin-bottom:26px}

/* Knoppen */
button{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#14385f;color:#fff;border:1px solid #3674ad;border-radius:9px;padding:12px 18px;font:inherit;font-weight:700;cursor:pointer;min-height:46px;text-decoration:none}
button:hover,header .home-button:hover,.download-button:hover,.genre-nav .genre-button:hover{background:#32699d;border-color:#8db5dc;color:#fff}
header .home-button,.download-button,.genre-nav .genre-button{background:#14385f;border:1px solid #3674ad;color:#fff;border-radius:9px;text-decoration:none;font-weight:700}
.secondary{font-size:14px}
.delete-button{border-color:#4277a6;font-size:13px;padding:9px 12px;min-height:42px}
.delete-button:hover{background:#32699d}

/* Genreknoppen: drie naast elkaar, ook op mobiel */
.genre-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;margin-bottom:20px;overflow:visible}
.genre-nav .genre-button{display:flex;align-items:center;justify-content:center;min-width:0;width:100%;min-height:52px;padding:10px 7px;text-align:center;white-space:normal;overflow-wrap:anywhere;font-size:clamp(11px,1.5vw,15px);line-height:1.25;transition:background .15s,color .15s}
.genre-nav .genre-button.active{background:#32699d;border-color:#9cc7ef;color:#fff}

/* Overzicht en tracks */
.collection-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 18px;color:#fff}
.collection-heading h2{margin:0}
.count{font-size:12px;padding:5px 11px;background:#14385f;color:#fff;border-radius:20px}
.track{padding:22px;margin-bottom:16px}
.track-icon{flex-shrink:0;display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#14385f;color:#fff;border:1px solid #4277a6;font-size:23px}
.mix-layout{display:grid;grid-template-columns:130px minmax(0,1fr);gap:20px;align-items:start}
.mix-art .artist-photo{display:block;width:130px;height:130px;object-fit:cover;border-radius:12px;background:#14385f}
.mix-art .track-icon{width:130px;height:130px;font-size:52px;border-radius:12px}
.mix-content{min-width:0}
.mix-meta{font-size:12px;margin:4px 0 12px;color:#d9e8f7}
audio{display:block;width:100%;height:42px;border-radius:30px}
.track audio{background:#fff;color-scheme:light;border-radius:30px}
.track audio::-webkit-media-controls-enclosure,.track audio::-webkit-media-controls-panel{background-color:#fff}
.player-row{display:flex;align-items:center;gap:12px}
.player-row audio{flex:1;min-width:0}
.mix-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:12px}
.listen-count{font-size:13px;font-weight:650;color:#fff}
.download-button{display:inline-flex;align-items:center;justify-content:center;padding:9px 14px;font-size:13px}
.delete-form{flex-shrink:0}

/* Beheer: titel, volgorde, genre, foto */
.track-admin-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:14px;padding:12px 0;border-top:1px solid #4277a6}
.track-title-editor{flex:1 1 230px;min-width:0}
.track-title-editor summary,.genre-editor summary{cursor:pointer;font-weight:600;color:#e2f1ff}
.track-title-form{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin-top:10px}
.track-title-form label{flex:1 1 190px}
.track-title-form input{display:block;width:100%;padding:10px;margin-top:6px;border-radius:8px}
.track-move-controls{display:flex;flex-wrap:wrap;gap:8px}
.track-move-controls form{margin:0}
.track-move-controls button:disabled{opacity:.35;cursor:not-allowed}
.genre-editor{margin-top:12px}
.genre-edit-form{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin-top:12px}
.genre-edit-form label{flex:1;min-width:170px}
.genre-edit-form button{margin:0}
.photo-editor{margin-top:16px;border-top:1px solid #4277a6;padding-top:12px;font-size:13px}
.photo-editor summary{cursor:pointer;color:#e2f1ff;font-weight:650}
.photo-form{display:grid;gap:10px;margin-top:14px}
.photo-form label{display:grid;gap:7px;font-weight:650}
.photo-form button{justify-self:start}

/* Kleinere schermen */
@media(max-width:800px){.layout{grid-template-columns:1fr}.upload{max-width:none}main{padding-top:32px}h1{font-size:34px}}
@media(max-width:600px){
 header{padding:12px 16px}
 .brand{font-size:15px;gap:9px}
 .feelgood-logo{width:100px;height:64px}
 .genre-nav{gap:5px}
 .genre-nav .genre-button{padding:8px 3px;font-size:11px}
 header .smile-account-button,header .smile-account-link{width:46px;height:46px}
 header .smile-account-button img,header .smile-account-link img{width:44px;height:44px}
}
@media(max-width:540px){
 .mix-layout{grid-template-columns:80px minmax(0,1fr);gap:12px}
 .mix-art .artist-photo,.mix-art .track-icon{width:80px;height:80px}
 .mix-art .track-icon{font-size:34px}
 .mix-actions{gap:8px}
}
@media(max-width:480px){
 header{gap:8px}
 main{padding:28px 16px 40px}
 h1{font-size:30px}
 .card{padding:22px}
 .player-row{flex-wrap:wrap}
 .player-row audio{flex-basis:100%}
 .delete-form{margin-left:auto}
}
