/* ===============================================
   POWER RADIO REQUEST SYSTEM 2026 - DEFINITIEVE VERSIE
   =============================================== */

:root {
    --primary: #7AC142;
    --primary-dark: #5e9b32;
    --primary-light: #a4e06a;
    --accent: #FFCC00;
    --accent-dark: #e6b800;
    --bg-dark: #0A0A0F;
    --bg-card: rgba(20, 20, 30, 0.92);
    --bg-card-hover: rgba(30, 30, 45, 0.95);
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-dim: rgba(255, 255, 255, 0.5);
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --glow: 0 0 15px rgba(122, 193, 66, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100vh;
    font-family: 'Inter', 'Open Sans', sans-serif;
    color: var(--text-light);
    background: var(--bg-dark);
}

body {
    background: linear-gradient(125deg, rgba(10,10,15,0.85), rgba(15,15,22,0.9)), url('https://www.powerradio.nl/images/Powerstudio2026c.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -0.02em; }

/* ===== HEADER ===== */
.power-header {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.logo-container { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.logo-img { height: 55px; width: auto; transition: var(--transition); }
.logo-img:hover { opacity: 0.9; transform: scale(1.02); }
.station-info { text-align: left; }
.station-name {
    font-size: 1.8rem; font-weight: 800;
    background: linear-gradient(135deg, #FFCC00, #7AC142);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    margin-bottom: 4px; letter-spacing: -0.5px;
}
.slogan { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.tagline { font-size: 0.8rem; color: var(--text-dim); }
.header-quote { font-size: 0.8rem; color: var(--text-muted); margin-top: 5px; }
.header-quote a { color: var(--accent); text-decoration: none; }
.header-quote a:hover { text-decoration: underline; }

.header-buttons { display: flex; align-items: center; gap: 12px; }
.home-button, .popup-player-btn {
    background: rgba(255,255,255,0.05); padding: 10px 20px; border-radius: 40px;
    color: var(--text-light); text-decoration: none; display: flex; align-items: center; gap: 8px;
    transition: var(--transition); border: 1px solid var(--border); font-size: 0.85rem; font-weight: 500;
}
.home-button:hover, .popup-player-btn:hover { background: rgba(122,193,66,0.15); border-color: var(--primary); transform: translateY(-2px); }
.home-button i, .popup-player-btn i { color: var(--accent); }
.pr-darkmode-toggle {
    background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 50%;
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--transition);
}
.pr-darkmode-toggle:hover { background: rgba(122,193,66,0.15); border-color: var(--primary); }

.header-limits { display: flex; gap: 10px; align-items: center; }
.limit-badge-header {
    background: rgba(0,0,0,0.4); padding: 6px 14px; border-radius: 40px; font-size: 0.8rem;
    color: var(--text-light); border: 1px solid var(--border); display: inline-flex; align-items: center; gap: 6px;
}
.limit-badge-header i { color: var(--accent); }
.limit-badge-header strong { color: var(--accent); }

/* ===== MAIN CONTAINER ===== */
.container { max-width: 1400px; margin: 30px auto; padding: 0 24px; }

/* ===== SEARCH BOX ===== */
.search-box {
    background: var(--bg-card); backdrop-filter: blur(10px); border-radius: 28px;
    padding: 28px 30px; margin-bottom: 30px; border: 1px solid var(--border);
    box-shadow: var(--shadow); position: relative;
}
.search-label { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 0.95rem; color: var(--text-muted); }
.search-label i { color: var(--accent); font-size: 1.2rem; }
.search-input {
    width: 100%; padding: 16px 24px; background: rgba(0,0,0,0.3); border: 1px solid var(--border-light);
    border-radius: 60px; color: var(--text-light); font-size: 1rem; transition: var(--transition);
}
.search-input:focus { outline: none; border-color: var(--primary); box-shadow: var(--glow); background: rgba(0,0,0,0.5); }
.search-input::placeholder { color: var(--text-dim); }
.search-button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border: none; border-radius: 60px;
    padding: 14px 32px; font-size: 1rem; font-weight: 700; color: #000; cursor: pointer; transition: var(--transition);
    margin-top: 20px; display: inline-flex; align-items: center; gap: 10px;
}
.search-button:hover { transform: translateY(-2px); box-shadow: var(--glow); background: linear-gradient(135deg, var(--primary-light), var(--primary)); }
.simple-instruction {
    text-align: center; margin-top: 20px; padding: 12px; background: rgba(255,255,255,0.03);
    border-radius: 40px; font-size: 0.85rem; color: var(--text-dim);
}
.simple-instruction i { color: var(--accent); margin-right: 6px; }
.simple-instruction strong { color: var(--accent); }

/* ===== SUGGESTIES ===== */
.suggestions-section {
    background: rgba(20,20,28,0.6); backdrop-filter: blur(5px); border-radius: 24px;
    padding: 20px; margin-bottom: 30px; border: 1px solid var(--border);
}
.suggestions-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
    padding-bottom: 12px; border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: 12px;
}
.suggestions-header h3 { font-size: 1.2rem; font-weight: 600; color: var(--accent); margin: 0; }
.suggestions-header h3 i { margin-right: 10px; }
.refresh-suggestions-btn {
    background: rgba(255,204,0,0.1); border: 1px solid var(--border); color: var(--accent);
    padding: 6px 16px; border-radius: 40px; font-size: 0.8rem; cursor: pointer; transition: var(--transition);
}
.refresh-suggestions-btn:hover { background: rgba(255,204,0,0.2); border-color: var(--accent); }

.suggestions-grid { display: flex; flex-direction: column; gap: 12px; }

/* Suggestie kaartjes */
.suggestion-card {
    display: flex; align-items: center; gap: 16px; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: 20px; padding: 12px 16px;
    transition: var(--transition); cursor: pointer;
}
.suggestion-card:hover { background: var(--bg-card-hover); border-color: var(--primary); transform: translateX(5px); box-shadow: var(--glow); }
.suggestion-card-cover {
    width: 60px; height: 60px; flex-shrink: 0; background: rgba(0,0,0,0.3);
    border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.suggestion-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.suggestion-card-cover i { font-size: 24px; color: var(--accent); opacity: 0.7; }
.suggestion-card-info { flex: 1; min-width: 0; }
.suggestion-card-artist { font-weight: 700; font-size: 1rem; color: var(--primary-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggestion-card-title { font-size: 0.9rem; color: var(--text-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggestion-card-year { font-size: 0.75rem; color: var(--accent); margin-top: 4px; }
.suggestion-card-request-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border: none; border-radius: 40px;
    padding: 8px 18px; font-size: 0.8rem; font-weight: 600; color: #000; cursor: pointer;
    transition: var(--transition); display: flex; align-items: center; gap: 8px; white-space: nowrap; flex-shrink: 0;
}
.suggestion-card-request-btn:hover { background: var(--accent); transform: scale(1.02); box-shadow: 0 2px 8px rgba(255,204,0,0.4); }

/* Populaire suggesties (alternatieve stijl) */
.suggestion-item {
    display: flex; align-items: center; justify-content: space-between; padding: 12px 16px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; transition: var(--transition); cursor: pointer;
}
.suggestion-item:hover { transform: translateY(-2px); border-color: var(--primary); background: var(--bg-card-hover); box-shadow: var(--glow); }
.suggestion-info { flex: 1; overflow: hidden; }
.suggestion-artist { font-weight: 700; font-size: 0.9rem; color: var(--primary-light); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggestion-title { font-size: 0.8rem; color: var(--text-muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggestion-request-count { font-size: 0.7rem; color: var(--accent); background: rgba(255,204,0,0.1); padding: 3px 10px; border-radius: 30px; margin-left: 12px; white-space: nowrap; }
.suggestion-request-btn { background: var(--primary); border: none; color: #000; padding: 6px 16px; border-radius: 40px; font-size: 0.75rem; font-weight: 600; cursor: pointer; transition: var(--transition); margin-left: 12px; white-space: nowrap; }
.suggestion-request-btn:hover { background: var(--accent); transform: scale(1.02); }

/* ===== PENDING & RECENT (moderne kaarten) ===== */
.pending-section, .recent-section {
    background: var(--bg-card); backdrop-filter: blur(10px); border-radius: 24px;
    padding: 24px; margin: 30px 0; border: 1px solid var(--border); box-shadow: var(--shadow);
}
.pending-section h3, .recent-section h3 { color: var(--accent); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.pending-list, .recent-list { display: flex; flex-direction: column; gap: 16px; }

.pending-item, .recent-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.pending-item:hover, .recent-item:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.pending-cover, .recent-cover {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.pending-cover img, .recent-cover img { width: 100%; height: 100%; object-fit: cover; }
.pending-cover i, .recent-cover i { font-size: 28px; color: var(--accent); }
.pending-info, .recent-info { flex: 1; }
.pending-info strong, .recent-info strong { font-size: 1.1rem; font-weight: 700; color: var(--primary-light); display: block; margin-bottom: 2px; }
.pending-requester, .recent-requester { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }
.pending-requester i, .recent-requester i { color: var(--accent); }
.pending-message, .recent-message { margin-top: 12px; padding: 10px 14px; background: rgba(255,255,255,0.03); border-radius: 20px; font-size: 0.85rem; border-left: 3px solid var(--accent); color: var(--text-muted); font-style: normal; }
.pending-message i, .recent-message i { margin-right: 8px; color: var(--accent); }
.pending-time, .recent-time { background: rgba(255,255,255,0.05); padding: 6px 14px; border-radius: 40px; font-size: 0.8rem; white-space: nowrap; color: var(--text-dim); }
.playing-badge { background: var(--accent); color: #000; padding: 2px 8px; border-radius: 30px; font-size: 0.7rem; font-weight: 700; margin-left: 8px; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100% { opacity: 0.8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }

/* ===== LIVE SEARCH DROPDOWN ===== */
.live-search-results {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    max-height: 400px;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    z-index: 1000;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}
.live-search-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}
.live-search-card:last-child { border-bottom: none; }
.live-search-card:hover { background: rgba(122,193,66,0.1); }
.live-search-cover {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.live-search-cover img { width: 100%; height: 100%; object-fit: cover; }
.live-search-cover i { font-size: 24px; color: var(--accent); }
.live-search-info { flex: 1; }
.live-search-artist { font-weight: 700; font-size: 0.9rem; color: var(--primary-light); }
.live-search-title { font-size: 0.85rem; color: var(--text-light); }
.live-search-year { font-size: 0.7rem; color: var(--accent); margin-top: 4px; }
.live-search-request-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 40px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}
.live-search-request-btn:hover { background: var(--accent); transform: scale(1.02); }

/* ===== MODAL & TICKER ===== */
.modal, .ticker-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    z-index: 20000;
    padding: 20px;
}
.modal-content, .ticker-modal-content {
    background: var(--bg-card);
    border-radius: 32px;
    max-width: 550px;
    width: 90%;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    animation: modalAppear 0.3s ease;
}
.ticker-modal-content { max-width: 800px; max-height: 85vh; display: flex; flex-direction: column; }
@keyframes modalAppear { from { opacity: 0; transform: scale(0.95) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.modal-content h2 {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    margin: 0; padding: 20px 24px;
    font-size: 1.5rem; font-weight: 700; color: #000;
    display: flex; align-items: center; gap: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.modal-content h2 i { font-size: 1.6rem; color: var(--accent); text-shadow: 0 1px 2px rgba(0,0,0,0.2); }
.selected-song-with-cover { display: flex; align-items: center; gap: 20px; background: rgba(0,0,0,0.2); padding: 20px 24px; border-bottom: 1px solid var(--border); }
.selected-song-cover { width: 80px; height: 80px; flex-shrink: 0; background: rgba(0,0,0,0.3); border-radius: 16px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 2px solid var(--accent); transition: var(--transition); }
.selected-song-cover img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.selected-song-cover i { font-size: 32px; color: var(--accent); opacity: 0.7; }
.selected-song-details { flex: 1; }
.selected-song-details strong { font-size: 1.2rem; font-weight: 700; color: var(--primary-light); display: block; margin-bottom: 4px; }
.selected-song-details span { font-size: 1rem; color: var(--text-muted); }

#requestForm { padding: 24px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 8px; color: var(--accent); font-size: 0.9rem; }
.form-group label i { width: 20px; color: var(--primary); }
.required { color: #ff6666; margin-left: 4px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 14px 16px; background: rgba(0,0,0,0.3); border: 1px solid var(--border-light);
    border-radius: 16px; color: var(--text-light); font-size: 1rem; font-family: inherit; transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(122,193,66,0.2); background: rgba(0,0,0,0.5); }
.form-actions { display: flex; gap: 16px; margin-top: 32px; }
.cancel-btn, .submit-btn { flex: 1; padding: 14px 20px; border: none; border-radius: 60px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 10px; }
.cancel-btn { background: rgba(255,255,255,0.08); color: var(--text-light); border: 1px solid var(--border); }
.cancel-btn:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }
.submit-btn { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #000; box-shadow: 0 2px 8px rgba(122,193,66,0.3); }
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(122,193,66,0.4); background: linear-gradient(135deg, var(--primary-light), var(--primary)); }
.form-note { margin-top: 20px; text-align: center; font-size: 0.8rem; color: var(--text-dim); }

#successModal .modal-content { text-align: center; padding: 30px; }
.success-icon { font-size: 4rem; color: var(--primary); margin-bottom: 20px; }
#successModal h2 { background: none; padding: 0; color: var(--accent); display: block; margin-bottom: 16px; }
#successModal p { margin-bottom: 24px; font-size: 1rem; }
.ok-btn { background: var(--primary); border: none; padding: 12px 30px; border-radius: 60px; font-weight: 700; color: #000; cursor: pointer; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.ok-btn:hover { background: var(--accent); transform: translateY(-2px); }

/* Ticker popup covers */
.ticker-artist-cover, .ticker-song-cover { overflow: hidden; background: rgba(0,0,0,0.3); border-radius: 8px; flex-shrink: 0; display: inline-flex !important; align-items: center; justify-content: center; }
.ticker-artist-cover { width: 50px; height: 50px; }
.ticker-song-cover { width: 40px; height: 40px; }
.ticker-artist-cover img, .ticker-song-cover img { display: block !important; width: 100% !important; height: 100% !important; object-fit: cover !important; }
.ticker-artist-cover i, .ticker-song-cover i { font-size: 1.2rem; color: var(--accent); }

/* ===== T1 FIX: TICKER-POPUP (zoekresultaten detail) ===== */

/* Modal header */
.ticker-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(122,193,66,0.15), rgba(255,204,0,0.08));
    border-bottom: 1px solid var(--border);
    border-radius: 32px 32px 0 0;
    gap: 14px;
    flex-shrink: 0;
}
.ticker-modal-title {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}
.ticker-modal-title i {
    color: var(--accent);
    font-size: 1.4rem;
    flex-shrink: 0;
}
.ticker-modal-title h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: none;
    padding: 0;
}
.ticker-modal-title #popupSearchQuery {
    color: var(--accent);
    font-weight: 800;
}
.ticker-modal-close {
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    padding: 0;
}
.ticker-modal-close:hover {
    background: rgba(255,102,102,0.2);
    border-color: #ff6666;
    color: #ff6666;
    transform: rotate(90deg);
}

/* Modal body */
.ticker-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}
.ticker-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    gap: 18px;
    color: var(--text-muted);
    flex: 1;
}
.loading-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(122,193,66,0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.ticker-error {
    text-align: center;
    padding: 40px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.ticker-error i {
    font-size: 3rem;
    margin-bottom: 14px;
    color: #ff6666;
    opacity: 0.8;
}
.ticker-error p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
}
.ticker-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Artiestgroep */
.ticker-artist-group {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}
.ticker-artist-group:hover {
    border-color: rgba(122,193,66,0.3);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.ticker-artist-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(122,193,66,0.12), rgba(255,204,0,0.06));
    border-bottom: 1px solid var(--border);
}
.ticker-artist-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-light);
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ticker-song-count {
    background: rgba(255,204,0,0.15);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(255,204,0,0.3);
    flex-shrink: 0;
}

/* Songs lijst */
.ticker-songs-list {
    display: flex;
    flex-direction: column;
}
.ticker-song-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.ticker-song-item:last-child { border-bottom: none; }
.ticker-song-item:hover { background: rgba(122,193,66,0.06); }
.ticker-song-info {
    flex: 1;
    min-width: 0;
}
.ticker-song-title {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.ticker-song-year {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    background: rgba(255,204,0,0.1);
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
}
.ticker-request-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 40px;
    padding: 8px 18px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #000;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ticker-request-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,204,0,0.35);
}

/* Footer */
.ticker-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: rgba(0,0,0,0.2);
    border-top: 1px solid var(--border);
    border-radius: 0 0 32px 32px;
    gap: 12px;
    flex-shrink: 0;
}
.ticker-count {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.ticker-count strong {
    color: var(--accent);
    font-size: 1rem;
    font-weight: 700;
}
.ticker-close-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--border);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.ticker-close-btn:hover {
    background: rgba(122,193,66,0.15);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Light mode */
body.light-mode {
    background: linear-gradient(125deg, rgba(255,255,255,0.85), rgba(245,245,245,0.9)), url('https://www.powerradio.nl/images/Powerstudio2026c.png');
    background-size: cover;
    background-attachment: fixed;
}
body.light-mode .power-header { background: rgba(255,255,255,0.9); border-bottom-color: rgba(0,0,0,0.1); }
body.light-mode .station-name { background: linear-gradient(135deg, #7AC142, #5e9b32); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.light-mode .search-box, body.light-mode .pending-section, body.light-mode .recent-section,
body.light-mode .suggestions-section, body.light-mode .modal-content, body.light-mode .ticker-modal-content {
    background: rgba(255,255,255,0.92);
    border-color: rgba(0,0,0,0.1);
    color: #222;
}
body.light-mode .limit-badge-header, body.light-mode .pending-requester, body.light-mode .recent-requester,
body.light-mode .simple-instruction { background: rgba(0,0,0,0.05); color: #444; }
body.light-mode .suggestion-artist, body.light-mode .suggestion-card-artist { color: var(--primary-dark); }
body.light-mode .suggestion-card { background: rgba(255,255,255,0.9); border-color: rgba(0,0,0,0.1); }
body.light-mode .suggestion-card-title { color: #222; }
body.light-mode .pending-item, body.light-mode .recent-item { background: rgba(255,255,255,0.9); border-color: rgba(0,0,0,0.1); }
body.light-mode .pending-item strong, body.light-mode .recent-item strong { color: var(--primary-dark); }
body.light-mode .pending-item .pending-info, body.light-mode .recent-item .recent-info { color: #444; }
body.light-mode .pending-time, body.light-mode .recent-time { background: rgba(0,0,0,0.05); color: #555; }

/* T1: light mode ticker */
body.light-mode .ticker-modal-header,
body.light-mode .ticker-modal-footer { background: rgba(0,0,0,0.05); }
body.light-mode .ticker-artist-group { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.08); }
body.light-mode .ticker-artist-header { background: linear-gradient(135deg, rgba(122,193,66,0.08), rgba(255,204,0,0.04)); }
body.light-mode .ticker-song-title { color: #222; }
body.light-mode .ticker-modal-title h2 { color: #222; }
body.light-mode .ticker-modal-close,
body.light-mode .ticker-close-btn { color: #222; background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.1); }
body.light-mode .ticker-song-item { border-bottom-color: rgba(0,0,0,0.05); }

/* Verberg suggestieblokken tijdens zoeken (behoud ruimte) */
body.search-active .suggestions-section {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: visibility 0.2s, opacity 0.2s;
}

/* ===== FOOTER (homepage-stijl) ===== */
#footer {
    background: rgba(8, 10, 14, 0.9);
    border-top: 1px solid var(--border);
    padding: 48px 20px;
    margin-top: 80px;
    text-align: center;
}
#footerImage {
    width: 180px;
    height: auto;
    margin-bottom: 25px;
}
#wb_footerText {
    color: var(--text-dim);
    font-size: 13px;
    margin-bottom: 25px;
}
#wb_footerText p { margin: 6px 0; }
#wb_footerText a { color: var(--accent); text-decoration: none; transition: var(--transition); }
#wb_footerText a:hover { color: var(--primary); text-decoration: underline; }

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 18px;
    transition: var(--transition);
    text-decoration: none;
}
.social-link:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    transform: translateY(-5px);
}

/* Light mode footer */
body.light-mode #footer {
    background: rgba(240, 243, 248, 0.95);
    border-top-color: rgba(0,0,0,0.1);
}
body.light-mode #wb_footerText { color: #4a5568; }
body.light-mode .social-link {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.08);
    color: #4a5568;
}
body.light-mode .social-link:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
}

.cover-lightbox { display: none !important; }
.cover-lightbox.active { display: flex !important; }
img[alt="Cover"], img[alt*="Cover"] { display: none !important; }

/* Responsive */
@media (max-width: 768px) {
    .header-container { flex-direction: column; text-align: center; }
    .station-info { text-align: center; }
    .logo-img { height: 45px; }
    .station-name { font-size: 1.4rem; }
    .suggestion-card { flex-wrap: wrap; gap: 12px; }
    .suggestion-card-cover { width: 50px; height: 50px; }
    .suggestion-card-request-btn { width: 100%; justify-content: center; margin-top: 4px; }
    .suggestion-card-info { flex: auto; width: calc(100% - 70px); }
    .pending-item, .recent-item { flex-direction: column; gap: 12px; align-items: flex-start; }
    .pending-requester, .recent-requester { margin-left: 0; }
    .pending-time, .recent-time { align-self: flex-end; }
    .suggestions-header { flex-direction: column; align-items: flex-start; }
    .live-search-results { max-height: 300px; }
    .live-search-card { flex-wrap: wrap; gap: 10px; }
    .live-search-cover { width: 45px; height: 45px; }
    .live-search-request-btn { width: 100%; text-align: center; margin-top: 4px; }
    .live-search-info { flex: auto; width: calc(100% - 60px); }

    /* T1: mobile ticker */
    .ticker-modal-content { max-width: 95%; max-height: 90vh; margin: 10px; }
    .ticker-modal-header { padding: 16px 18px; border-radius: 24px 24px 0 0; }
    .ticker-modal-body { padding: 14px 16px; }
    .ticker-modal-footer { padding: 12px 16px; border-radius: 0 0 24px 24px; flex-direction: column; gap: 8px; }
    .ticker-modal-title h2 { font-size: 1.05rem; }
    .ticker-modal-title i { font-size: 1.1rem; }
    .ticker-modal-close { width: 36px; height: 36px; }
    .ticker-artist-header { padding: 12px 14px; gap: 10px; }
    .ticker-artist-name { font-size: 0.95rem; }
    .ticker-song-item { padding: 10px 14px; gap: 10px; }
    .ticker-request-btn { padding: 6px 14px; font-size: 0.75rem; }
    .ticker-close-btn { width: 100%; justify-content: center; }

    /* Footer mobiel */
    #footer { padding: 36px 16px; margin-top: 50px; }
    #footerImage { width: 150px; }
    .footer-social { gap: 15px; }
    .social-link { width: 40px; height: 40px; font-size: 16px; }
}
@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .search-box { padding: 20px; }
    .modal-content { max-width: 95%; margin: 10px; }
    .selected-song-with-cover { flex-direction: column; text-align: center; gap: 12px; }
    .selected-song-cover { width: 100px; height: 100px; }
    .form-actions { flex-direction: column; gap: 12px; }
    .cancel-btn, .submit-btn { width: 100%; }
    .power-footer { padding: 20px 15px; margin-top: 30px; }
    .power-footer p { font-size: 0.75rem; }
}
/* =============================================== */
/* APPLE TABLET (iPad) — 768px t/m 1024px         */
/* =============================================== */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Container: iets minder padding */
    .container { padding: 0 20px; }
    .header-container { padding: 0 20px; }

    /* Header: logo en knoppen naast elkaar, maar compacter */
    .logo-img { height: 48px; }
    .tagline { font-size: 0.85rem; }

    /* Header-buttons compacter */
    .home-button, .popup-player-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    .pr-darkmode-toggle {
        width: 40px;
        height: 40px;
    }

    /* Search box: iets minder padding */
    .search-box { padding: 22px 24px; }

    /* Suggestie-kaartjes: breder op iPad */
    .suggestion-card-info { flex: auto; }

    /* Ticker popup: gebruik meer scherm */
    .ticker-modal-content { max-width: 85%; }
}

/* iPad landscape (breder dan 1024px, maar lager dan 1366) */
@media (min-width: 1025px) and (max-width: 1366px) {
    /* Header-buttons niet overdreven groot */
    .home-button, .popup-player-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

/* ===== MODERNE 2026 IMPROVEMENTS ===== */
/* Live search dropdown (modern) */
.search-box {
    position: relative;
}
.live-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 20px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: var(--shadow);
    display: none;
}
.live-search-results.active {
    display: block;
}
.live-search-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 16px;
    transition: background 0.2s;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
}
.live-search-card:hover {
    background: rgba(122, 193, 66, 0.1);
}
.live-search-cover {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.live-search-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.live-search-info {
    flex: 1;
}
.live-search-artist {
    font-weight: 700;
    color: var(--primary-light);
}
.live-search-title {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.live-search-year {
    font-size: 0.7rem;
    color: var(--accent);
    margin-top: 4px;
}
.live-search-request-btn {
    background: var(--primary);
    border: none;
    border-radius: 40px;
    padding: 5px 12px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    transition: transform 0.2s;
}
.live-search-request-btn:hover {
    transform: scale(1.02);
    background: var(--accent);
}
/* Kaartjes voor pending/recent (optioneel verbetering) */
.pending-item, .recent-item {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 12px;
    border-left: 4px solid var(--primary);
    transition: transform 0.2s, box-shadow 0.2s;
}
.pending-item:hover, .recent-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow);
}
/* Responsive aanpassingen */
@media (max-width: 768px) {
    .live-search-card {
        flex-wrap: wrap;
    }
    .live-search-request-btn {
        width: 100%;
        margin-top: 8px;
    }
}
/* ===== MODERN UI IMPROVEMENTS (additive) ===== */

/* Live search results container */
.live-search-container {
    position: relative;
}
.live-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card, #1e1e2a);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid var(--border, rgba(255,255,255,0.1));
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    display: none;
}
.live-search-results.active {
    display: block;
}
.live-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid var(--border, rgba(255,255,255,0.05));
}
.live-search-item:last-child {
    border-bottom: none;
}
.live-search-item:hover {
    background: rgba(122, 193, 66, 0.1);
}
.live-search-cover {
    width: 48px;
    height: 48px;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.live-search-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.live-search-cover i {
    font-size: 20px;
    color: var(--accent, #ffcc00);
}
.live-search-info {
    flex: 1;
}
.live-search-artist {
    font-weight: 700;
    color: var(--primary-light, #a4e06a);
}
.live-search-title {
    font-size: 0.85rem;
    color: var(--text-muted, #aaa);
}
.live-search-year {
    font-size: 0.7rem;
    color: var(--accent, #ffcc00);
    margin-top: 3px;
}
.live-search-request-btn {
    background: var(--primary, #7ac142);
    border: none;
    border-radius: 40px;
    padding: 6px 14px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    white-space: nowrap;
}
.live-search-request-btn:hover {
    background: var(--accent, #ffcc00);
    transform: scale(1.02);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .live-search-item {
        flex-wrap: wrap;
        gap: 8px;
    }
    .live-search-request-btn {
        width: 100%;
        text-align: center;
        margin-top: 5px;
    }
    .live-search-cover {
        width: 40px;
        height: 40px;
    }
}