/* SchoolDay v270.67: the Attendees Map (admin-clubs-attendees-map-v27067.js).
   v270.80: a tab of its own in Club Tools (it was in Club Attendees); Date
   range, and the Postcode column chosen here. */

.clubs-dbmap-v27067 { margin-top: .5rem; }
.clubs-dbmap-v27067[hidden] { display: none; }
.clubs-dbmap-bar-v27067 { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.clubs-dbmap-range-v27080 { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; }
.clubs-dbmap-rangebox-v27080 {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; margin: 0 0 .6rem; padding: .55rem .8rem;
  border: 1px solid #cbd5e1; border-radius: .6rem; background: #f8fafc;
}
.clubs-dbmap-rangebox-v27080[hidden] { display: none; }
.clubs-dbmap-rangebox-v27080 label, .clubs-dbmap-pc-v27080 { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; margin: 0; }
.clubs-dbmap-pc-v27080 select { width: auto; }
.clubs-dbmap-map-v27067 { height: min(70vh, 640px); min-height: 320px; border: 1px solid #cbd5e1; border-radius: .75rem; overflow: hidden; background: #e2e8f0; }
.clubs-dbmap-say-v27067:empty { display: none; }

/* Clubs: a drop-down of ticks, each club's colour beside its name. */
.clubs-dbmap-clubs-v27067 { position: relative; }
.clubs-dbmap-clubs-v27067 > summary {
  list-style: none; cursor: pointer; padding: .45rem .8rem; border: 1px solid #cbd5e1; border-radius: .6rem; background: #fff; font-weight: 600; white-space: nowrap;
}
.clubs-dbmap-clubs-v27067 > summary::-webkit-details-marker { display: none; }
.clubs-dbmap-clubs-v27067 > summary::after { content: " \25BE"; }
.clubs-dbmap-list-v27067 {
  position: absolute; left: 0; top: calc(100% + .2rem); z-index: 1500; display: grid; gap: .25rem; padding: .5rem;
  width: max-content; min-width: 14rem; max-width: min(32rem, 90vw); max-height: 60vh; overflow: auto;
  background: #fff; border: 1px solid #cbd5e1; border-radius: .6rem; box-shadow: 0 8px 24px rgba(15, 23, 42, .18);
}
.clubs-dbmap-list-v27067 .check-card { display: flex; align-items: center; justify-content: flex-start; gap: .5rem; margin: 0; text-align: left; }
.clubs-dbmap-list-v27067 .check-card > input { flex: 0 0 auto; width: auto; margin: 0; }
.clubs-dbmap-list-v27067 .check-card > .clubs-swatch-v2690 { flex: 0 0 auto; }
.clubs-dbmap-list-v27067 .check-card > span:last-child { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }

/* A dot per postcode; more than one child there, bigger with the number inside. */
.clubs-dbmap-dotwrap-v27067 { background: none; border: 0; }
.clubs-dbmap-dot-v27067 {
  display: flex; align-items: center; justify-content: center; box-sizing: border-box; border-radius: 50%;
  background: var(--dot, #2563eb); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(15, 23, 42, .45);
  color: #fff; text-shadow: 0 0 2px rgba(15, 23, 42, .7); font: 700 .72rem/1 system-ui, -apple-system, "Segoe UI", sans-serif; cursor: pointer;
}
.clubs-dbmap-range-v27080 button { font-size: .9rem; }
