/* RadioVeerman.nl — Nonstop Request */
:root {
  --rv-bg: #03060c;
  --rv-shell: #080d16;
  --rv-card: #0b1420;
  --rv-card2: #111b2a;
  --rv-border: #24415c;
  --rv-red: #c9092a;
  --rv-red-hover: #ed1238;
  --rv-text: #f7f9ff;
  --rv-muted: #b8c8dc;
  --rv-green: #00e878;
  --rv-blue: #159dff;
}

html {
  min-height: 100%;
  margin: 0 !important;
  background: var(--rv-bg) !important;
  color: var(--rv-text) !important;
  scrollbar-width: thin;
  scrollbar-color: var(--rv-red) #080d16;
  font: 16px/1.45 "Segoe UI", Arial, Helvetica, sans-serif !important;
}

body {
  min-height: 100vh;
  margin: 0 !important;
  padding: 10px !important;
  background: var(--rv-bg) !important;
  color: var(--rv-text) !important;
  font: inherit;
}

#page {
  width: min(1250px, 100%) !important;
  min-height: calc(100vh - 24px) !important;
  margin: 2px auto !important;
  padding: 4px 18px 18px !important;
  box-sizing: border-box !important;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(13, 69, 112, .20), transparent 48%),
    linear-gradient(145deg, #080f1b 0%, #03070e 100%) !important;
  color: var(--rv-text) !important;
  border: 1px solid #173451 !important;
  border-radius: 20px !important;
  box-shadow: 0 0 0 1px rgba(201, 9, 42, .08),
              0 18px 50px rgba(0, 0, 0, .45) !important;
}

#page, #page * { box-sizing: border-box; }
#page a { color: #b9d4ff; text-decoration: none; }
#page a:hover { color: #fff; }
#page a, #page button, #page input, #page select, #page textarea {
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
#page a:focus-visible, #page button:focus-visible, #page input:focus-visible,
#page select:focus-visible, #page textarea:focus-visible {
  outline: 2px solid var(--rv-blue) !important;
  outline-offset: 3px;
}

#rv-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 112px;
  margin-bottom: 18px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--rv-border);
}
#rv-music-icon {
  display: grid;
  place-items: center;
  flex: 0 0 90px;
  width: 90px;
  height: 90px;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: none !important;
  border: 0;
  border-radius: 16px;
  font-size: 0;
  line-height: 0;
}
#rv-music-icon img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 16px;
}
#rv-brand-text { min-width: 0; }
#rv-brand-title {
  color: #fff;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 750;
  line-height: 1.2;
}
#rv-brand-subtitle {
  margin-top: 8px;
  color: var(--rv-muted);
  font-size: clamp(15px, 2vw, 22px);
}
#rv-live-badge {
  margin-left: auto;
  padding: 8px 17px;
  color: var(--rv-green);
  background: rgba(0,232,120,.08);
  border: 1px solid rgba(0,232,120,.55);
  border-radius: 999px;
  font-size: 22px;
  font-weight: 800;
}

#search.rv-search {
  position: relative;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  margin: 0 0 18px !important;
  padding: 18px !important;
  color: var(--rv-text) !important;
  background: linear-gradient(145deg, #101d2e, #080f1a) !important;
  border: 1px solid #234b70 !important;
  border-top: 2px solid var(--rv-red) !important;
  border-radius: 15px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
  font-size: 15px !important;
}
.rv-search form { margin: 0; }
.rv-search-input-row { display: flex; align-items: center; gap: 12px; }
.rv-search-icon { color: #5bbdff !important; font-size: 28px; }
#search input[type="text"], #search input[type="search"], #search input:not([type]) {
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
  min-height: 48px !important;
  padding: 10px 14px !important;
  color: #152640 !important;
  background: #f6f8fc !important;
  border: 1px solid #4d7194 !important;
  border-radius: 10px !important;
  font: inherit !important;
}
#search input[type="text"]:focus, #search input[type="search"]:focus, #search input:not([type]):focus {
  border-color: var(--rv-blue) !important;
  box-shadow: 0 0 0 3px rgba(21,157,255,.16);
}
#search input[type="submit"], #search input[type="button"], #search button {
  min-height: 42px !important;
  padding: 9px 16px !important;
  color: #fff !important;
  background: linear-gradient(180deg, #ed1638, #c9092a) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 12px rgba(201,9,42,.20);
  font: inherit !important;
  font-weight: 750 !important;
  cursor: pointer !important;
}
#search input[type="submit"]:hover, #search input[type="button"]:hover, #search button:hover {
  filter: brightness(1.12);
  box-shadow: 0 0 15px rgba(201,9,42,.28);
}
.rv-search-options {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: var(--rv-muted);
}
.rv-search-options select {
  max-width: 100%;
  min-height: 38px;
  padding: 7px 10px;
  color: #152640;
  background: #f7faff;
  border: 1px solid #3c6287;
  border-radius: 8px;
}
#search hr { border: 0; border-top: 1px solid var(--rv-border); margin: 18px 0; }
.rv-artist-label { margin-bottom: 10px; color: var(--rv-muted); }
.rv-alphabet { display: flex; flex-wrap: wrap; gap: 8px; }
#search .characterButton {
  min-width: 60px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 8px 14px !important;
  color: #edf4ff !important;
  background: linear-gradient(180deg, #101e2d, #09121e) !important;
  border: 1px solid #245579 !important;
  border-radius: 9px !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  cursor: pointer !important;
}
#search .characterButton:hover, #search #activeCharacter {
  color: #fff !important;
  background: linear-gradient(180deg, #ed1638, #c9092a) !important;
  border-color: #ff4a68 !important;
  box-shadow: 0 0 12px rgba(201,9,42,.24);
}

#playlist.rv-playlist {
  float: none !important;
  clear: both !important;
  width: 100% !important;
  margin: 0 !important;
}
.rv-playlist {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border: 1px solid #244b76;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  background: #071426;
}
.rv-playlist-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  padding: 14px 16px;
  color: #fff;
  background: linear-gradient(90deg, #13263b, #0b1726) !important;
  border: 1px solid var(--rv-border) !important;
  border-left: 3px solid var(--rv-red) !important;
  border-bottom: 1px solid #24415c;
  border-radius: 10px !important;
  font-weight: 750;
}
.rv-playlist-count { color: #8fcfff !important; font-size: 13px; font-weight: 500; }
.rv-paging {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 !important;
  padding: 12px;
  color: var(--rv-muted);
  background: #080f19 !important;
  border: 1px solid #1b354d !important;
  border-bottom: 1px solid #244b76;
  border-radius: 10px !important;
  font-size: 13px;
  text-align: center;
}
.rv-paging a, #td-playlist-paging a {
  display: inline-block;
  padding: 7px 11px;
  color: #fff !important;
  background: #10263a !important;
  border: 1px solid #28557b !important;
  border-radius: 8px;
}
.rv-paging a:hover, #td-playlist-paging a:hover {
  background: var(--rv-red) !important;
  border-color: #ed1638 !important;
  color: #fff !important;
}
.rv-track-card {
  margin: 12px;
  padding: 18px;
  background: linear-gradient(110deg, #101b29 0%, #09111c 100%) !important;
  border: 1px solid #203d56 !important;
  border-left: 2px solid var(--rv-red) !important;
  border-radius: 13px;
  box-shadow: 0 5px 15px rgba(0,0,0,.18);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.rv-track-card:hover {
  border-color: #27618a !important;
  border-left-color: #ed1638 !important;
  box-shadow: 0 7px 20px rgba(0,0,0,.28), 0 0 12px rgba(21,157,255,.07);
}
.rv-track-main { display: flex; align-items: center; gap: 18px; min-width: 0; margin-bottom: 12px; }
.rv-track-art {
  display: grid;
  place-items: center;
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  overflow: hidden;
  background: #050a11 !important;
  border: 1px solid #29445d;
  border-radius: 10px !important;
}
.rv-track-art img { display: block; width: 80px; height: 80px; object-fit: cover; border: 0; }
.rv-track-info { flex: 1 1 auto; min-width: 0; }
.rv-track-title { color: #fff !important; font-size: clamp(18px, 2vw, 25px); font-weight: 750; overflow-wrap: anywhere; }
.rv-track-artist { margin-top: 7px; color: #a9c7e4 !important; font-size: clamp(15px, 1.8vw, 21px); overflow-wrap: anywhere; }
.rv-track-duration { flex: 0 0 auto; color: #a9c7e4 !important; font-size: clamp(16px, 2vw, 23px); white-space: nowrap; }
.rv-requested {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 8px;
  color: #ffd4da;
  background: rgba(201,9,42,.14);
  border: 1px solid rgba(237,22,56,.35);
  border-radius: 999px;
  font-size: 12px;
}
.rv-request-button, .rv-request-button:link, .rv-request-button:visited {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 62px;
  padding: 12px 18px;
  color: #fff !important;
  background: linear-gradient(180deg, #ed1638, #c9092a) !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 14px rgba(201,9,42,.20);
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
.rv-request-button:hover, .rv-request-button:focus {
  color: #fff !important;
  background: linear-gradient(180deg, #ff2447, #d70b2d) !important;
  box-shadow: 0 0 17px rgba(201,9,42,.30);
}
.rv-request-button span[aria-hidden="true"] {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 4px;
  border: 2px solid #00ff66;
  border-radius: 50%;
  background: #00ff66 !important;
  color: transparent !important;
  box-shadow: 0 0 8px rgba(0,255,102,.8);
  text-shadow: none !important;
  vertical-align: middle;
}
.rv-no-results { padding: 20px; color: var(--rv-muted); background: var(--rv-card); border-radius: 12px; }
#footer { color: var(--rv-muted) !important; border-color: var(--rv-border) !important; }

/* Aanvraagformulier */
.rv-request-page .rv-request-form,
.rv-request-page .rv-request-track-info,
.rv-request-page .rv-dedication,
.rv-request-track-info,
.rv-dedication {
  background: linear-gradient(145deg, #101d2e, #080f1a) !important;
  border: 1px solid #24415c !important;
  border-radius: 12px !important;
  color: var(--rv-text);
}
.rv-request-page .rv-request-form { display: block; width: 100%; box-sizing: border-box; }
.rv-request-page .rv-request-form form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  max-width: 650px;
  margin-top: 18px;
}
.rv-request-page .rv-request-form label {
  display: block;
  margin: 8px 0 2px;
  color: #eef4ff;
  font-weight: 600;
}
.rv-request-page .rv-request-form input[type="text"],
.rv-request-page .rv-request-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #315477 !important;
  border-radius: 8px !important;
  background: #050b13 !important;
  color: #fff !important;
  font: inherit;
}
.rv-request-page .rv-request-form input[type="text"] { min-height: 44px; }
.rv-request-page .rv-request-form textarea { min-height: 130px; resize: vertical; }
.rv-request-page .rv-request-form input:focus,
.rv-request-page .rv-request-form textarea:focus {
  outline: 2px solid #2587ff;
  outline-offset: 2px;
}
.rv-request-page .rv-request-form button.rv-request-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  width: auto;
  max-width: 100%;
  min-height: 48px;
  margin-top: 12px;
  padding: 12px 24px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(180deg, #ed1638, #c9092a) !important;
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
}

/* Algemene fout-/statusblokken op aanvraagpagina */
.request, .request-container, .request-content, #request, #content {
  color: #f4f7ff;
  font-family: Arial, Helvetica, sans-serif;
}
.request, .request-container, .request-content, #request, #content {
  background: #0d1425;
  border: 1px solid rgba(0,174,255,.25);
  border-radius: 16px;
  box-shadow: 0 0 24px rgba(0,140,255,.10);
  padding: 24px;
  box-sizing: border-box;
}
h1, h2, h3, .request h1, .request h2, .request-container h1, .request-container h2 {
  color: #fff;
  font-weight: 700;
  letter-spacing: .3px;
}
h1::after {
  content: "";
  display: block;
  width: 65px;
  height: 3px;
  margin-top: 10px;
  border-radius: 3px;
  background: linear-gradient(90deg, #00aaff, #e53950);
}
.alert, .error, .error-message, .message, .request-error, [class*="error"] {
  background: #211522;
  color: #fff;
  border: 1px solid #e53950;
  border-left: 4px solid #ff4058;
  border-radius: 10px;
  padding: 16px 18px;
  margin: 18px 0;
  line-height: 1.6;
  box-shadow: 0 0 12px rgba(229,57,80,.08);
}
p, label, span { line-height: 1.6; }
a { color: #38baff; text-decoration: none; }
a:hover { color: #fff; }
button, input[type="submit"], .btn, .button {
  background: linear-gradient(135deg, #e53950, #b91f3b);
  color: #fff;
  border: 1px solid #ff5268;
  border-radius: 25px;
  padding: 11px 22px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(229,57,80,.18);
}
button:hover, input[type="submit"]:hover, .btn:hover, .button:hover {
  background: linear-gradient(135deg, #008fe0, #0066bb);
  border-color: #38baff;
  box-shadow: 0 0 16px rgba(0,170,255,.25);
}
hr { border: 0; border-top: 1px solid #263247; margin: 24px 0; }

/* Streamknop */
.rv-stream-button {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 27px;
  border: none;
  border-radius: 40px;
  background: #ed2534;
  color: #fff !important;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(237,37,52,.25);
  transition: background .2s ease, transform .2s ease;
}
.rv-stream-button:hover { background: #c91528; color: #fff !important; transform: scale(1.04); }
.rv-stream-button span { color: #fff; font-size: 16px; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #080d16; border-left: 1px solid #173451; }
::-webkit-scrollbar-thumb { background: #c9092a; border: 2px solid #080d16; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #ed1238; }
::-webkit-scrollbar-corner { background: #080d16; }

@media (max-width: 700px) {
  body { padding: 5px !important; }
  #page { min-height: calc(100vh - 14px) !important; margin: 4px auto !important; padding: 9px !important; border-radius: 13px !important; }
  #rv-brand { gap: 12px; min-height: 0; }
  #rv-music-icon { flex-basis: 58px; width: 58px; height: 58px; border-radius: 12px; }
  #rv-brand-title { font-size: clamp(22px, 5vw, 30px); }
  #rv-live-badge { padding: 5px 9px; font-size: 14px; }
  #search.rv-search { padding: 12px !important; }
  .rv-search-input-row { flex-wrap: wrap; }
  .rv-search-input-row input[type="text"] { flex-basis: 70%; }
  #search .characterButton { min-width: 43px !important; padding: 7px 10px !important; }
  .rv-track-card { margin: 8px !important; padding: 12px !important; }
  .rv-track-main { gap: 10px !important; }
  .rv-track-art, .rv-track-art img { width: 58px; height: 58px; }
  .rv-track-art { flex-basis: 58px; }
  .rv-track-title { font-size: 17px !important; }
  .rv-track-duration { font-size: 14px !important; }
  .rv-request-button { min-height: 52px; }
  .rv-request-page .rv-request-form form { max-width: 100%; }
  .rv-request-page .rv-request-form button.rv-request-button { width: 100%; align-self: stretch; }
  .request, .request-container, .request-content, #request, #content { padding: 18px; border-radius: 12px; }
  h1 { font-size: 26px; }
  .alert, .error, .error-message, .message, .request-error, [class*="error"] { padding: 13px; }
  .rv-stream-button { position: static; margin: 16px auto 0; padding: 11px 21px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  #page *, #page *::before, #page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
