/* jimreeves.eu — CD-collectie (zie js/collection.js) */
.collection-wrap { max-width: 1600px; margin: 0 auto; padding: 0 1rem 3rem; }
.collection-tools { max-width: 720px; margin: 0 auto 1rem; }

/* zoekveld: zelfde vorm als bij de afleveringen */
.collection-search { display: flex; align-items: center; gap: .5rem; margin: 0 auto .5rem; background: #fff; border: 1px solid #ccc; border-radius: 999px; padding: .35rem .6rem .35rem 1rem; }
.collection-search i { color: #888; }
.collection-search input { flex: 1 1 auto; border: 0; outline: 0; font: inherit; font-size: 1rem; background: transparent; min-width: 0; }
.collection-search input::-webkit-search-cancel-button { display: none; }
.collection-search button { border: 0; background: #eee; color: #555; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; line-height: 1; visibility: hidden; }
.collection-search.has-text button { visibility: visible; }
.collection-search button:hover { background: #ff5500; color: #fff; }
.collection-meta { text-align: center; color: #6c757d; font-size: .95rem; margin: 0; }

.collection-hint { text-align: center; color: #9a9a9a; font-size: .85rem; margin: .25rem 0 0; }
.collection-hint .x { font-weight: 700; color: #666; }
.collection-hint i { color: #666; }

/* oproep aan bezoekers boven de tabel */
.collection-invite { color: #444; font-size: 1rem; line-height: 1.5; }
.collection-invite .en { color: #6c757d; font-style: italic; font-size: .95em; }
.collection-invite a { color: #ff5500; font-weight: 600; text-decoration: none; }
.collection-invite a:hover { text-decoration: underline; }
.collection-invite i { margin-right: .35rem; }

/* verborgen kolommen: pillen om ze terug te halen */
.collection-pills { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem; margin: .6rem 0 0; }
.collection-pills .pill-label { color: #6c757d; font-size: .9rem; margin-right: .2rem; }
.collection-pills .pill { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid #ccc; background: #fff; color: #333;
  font: inherit; font-size: .85rem; padding: .2rem .6rem; border-radius: 999px; cursor: pointer; }
.collection-pills .pill:hover { border-color: #ff5500; color: #ff5500; }
.collection-pills .pill-plus { font-weight: 700; color: #ff5500; }
.collection-pills .pill-all { background: #f0eee8; }

/* De tabel zelf wordt getekend door Tabulator (thema bootstrap5); hieronder alleen onze eigen
   aankleding daaroverheen: de kopregel in de kleur van de site, en de titelkolom wat zwaarder. */
#collection-table { border: 1px solid #e3e0d8; border-radius: 8px; overflow: hidden; background: #fff; }
.tabulator { font-size: .9rem; border: 0; background: #fff; }
.tabulator .tabulator-header { background: #1c1c1c; color: #fff; border-bottom: 0; }
.tabulator .tabulator-header .tabulator-col { background: #1c1c1c; color: #fff; border-right: 1px solid #333; }
.tabulator .tabulator-header .tabulator-col:hover { background: #333; }
.tabulator .tabulator-header .tabulator-col .tabulator-col-title { font-weight: 600; }
.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort="ascending"] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow,
.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort="descending"] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow { border-bottom-color: #ff5500; border-top-color: #ff5500; }
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input,
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter select { font: inherit; font-size: .82rem; padding: .15rem .35rem;
  border: 1px solid #555; border-radius: 4px; background: #fff; color: #222; width: 100%; box-sizing: border-box; }
.tabulator-row { border-bottom: 1px solid #ecebe6; }
.tabulator-row.tabulator-row-even { background: #faf9f6; }
.tabulator-row:hover { background: #fff3e8 !important; }
.tabulator-row .tabulator-cell { border-right: 0; padding: .45rem .6rem; }
.tabulator-row .tabulator-cell.kol-titel { font-weight: 600; }
.tabulator-menu { font-size: .9rem; }
.tabulator-placeholder { color: #777; }

/* de ingang op de pagina: miniatuur van de lijst met de knop ernaast */
.collection-open { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.6rem;
  max-width: 1000px; margin: 0 auto 1.5rem; padding: 1.4rem 1.2rem; background: #fff;
  border: 1px solid #e3e0d8; border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,.07); }
.co-thumb { border: 1px solid #ddd9d0; background: #fff; border-radius: 8px; padding: 0; overflow: hidden;
  cursor: pointer; line-height: 0; flex: 0 1 auto; transition: transform .18s, box-shadow .18s; }
.co-thumb img { display: block; width: 100%; max-width: 420px; height: auto; }
.co-thumb:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.16); }
.co-tekst { flex: 1 1 260px; max-width: 380px; text-align: left; }
.co-aantal { margin: 0 0 .5rem; font-size: 1.15rem; font-weight: 600; color: #222; }
.co-knop { font: inherit; font-size: 1.02rem; font-weight: 600; color: #fff; background: #ff5500;
  border: 0; border-radius: 8px; padding: .7rem 1.4rem; cursor: pointer; }
.co-knop:hover { background: #e04c00; }
.co-knop[disabled] { background: #d6d2c8; cursor: default; }
.co-uitleg { margin: .7rem 0 0; color: #6c757d; font-size: .9rem; line-height: 1.5; }

/* het schermvullende venster met de tabel */
body.venster-open { overflow: hidden; }
.collection-venster { position: fixed; inset: 0; z-index: 200; background: #f6f5f2;
  display: flex; flex-direction: column; padding: .8rem 1rem 1rem; }
.collection-venster[hidden] { display: none; }
.collection-venster .cv-balk { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.collection-venster .collection-search { flex: 1 1 280px; margin: 0; max-width: 620px; }
.collection-venster .collection-meta { flex: 0 0 auto; margin: 0; }
.cv-sluit { margin-left: auto; border: 1px solid #ccc; background: #fff; color: #444; font: inherit;
  font-size: 1.6rem; line-height: 1; width: 2.4rem; height: 2.4rem; border-radius: 50%; cursor: pointer; }
.cv-sluit:hover { border-color: #ff5500; color: #ff5500; }
.collection-venster .collection-hint { margin: .4rem 0 0; }
.collection-venster .collection-pills { margin: .4rem 0 0; }
.collection-venster #collection-table { flex: 1 1 auto; min-height: 0; margin-top: .6rem; }

.collection-note { color: #6c757d; font-size: .9rem; margin: 0; }
.collection-note a { color: #2a6cc4; }

@media (max-width: 767px) {
  .collection-wrap { padding: 0 .5rem 2rem; }
  .tabulator { font-size: .82rem; }
  .collection-open { gap: 1rem; padding: 1rem .8rem; }
  .co-tekst { text-align: center; max-width: none; }
  .collection-venster { padding: .6rem .5rem .8rem; }
  .collection-venster .collection-hint { display: none; }
}

/* nog gezochte cd's (van de oude pagina Wanted.htm) */
.collection-wantedlink { margin-top: -.4rem; }
.collection-wantedlink a { color: #2a6cc4; font-weight: 600; text-decoration: none; }
.collection-wantedlink a:hover { color: #ff5500; text-decoration: underline; }
.collection-wantedlink i { margin-right: .35rem; }
.wanted { max-width: 1100px; margin: 2.5rem auto 1rem; padding-top: 1.5rem; border-top: 1px solid #e3e0d8; }
.wanted h2 { font-size: 1.5rem; text-align: center; margin: 0 0 .4rem; }
.wanted-intro { text-align: center; color: #555; max-width: 640px; margin: 0 auto 1.5rem; }
.wanted-intro a { color: #ff5500; font-weight: 600; }
.wanted-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.wanted-card { margin: 0; background: #fff; border: 1px solid #e3e0d8; border-radius: 10px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.06); transition: transform .25s ease, box-shadow .25s ease; }
.wanted-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.wanted-card img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.wanted-card figcaption { padding: .7rem .9rem 1rem; font-size: .9rem; }
.wanted-card figcaption strong { display: block; margin-bottom: .2rem; }
.wanted-card figcaption span { color: #6c757d; }
@media (prefers-reduced-motion: reduce) { .wanted-card { transition: none; } .wanted-card:hover { transform: none; } }

