/* stadium rental */
.facility-picker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
}
.facility-picker label {
  font-weight: 600;
  color: var(--primary-blue);
}
.facility-picker select {
  flex: 1 1 240px;
  max-width: 420px;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font: inherit;
  background: var(--white);
}
.cost-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--text-light);
}
.terms-check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 1rem 0;
  font-size: 0.92rem;
  color: var(--text-dark);
  cursor: pointer;
}
.terms-check input {
  margin-top: 0.25rem;
  flex: 0 0 auto;
}

/* staff portal */
.staff-toolbar {
  flex-wrap: wrap;
}
.tag.paid {
  background: #e8f5e9;
  color: #1b5e20;
}
.tag.unpaid {
  background: #fff3e0;
  color: #e65100;
}

/* merchandise */
.size-select {
  width: 100%;
  padding: 0.45rem 0.5rem;
  margin: 0.4rem 0;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font: inherit;
  background: var(--white);
}

/* merchandise */
.mc-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.1rem;
  border: 0;
  border-radius: 99px;
  background: var(--accent-red);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
}
.mc-fab:hover {
  background: var(--accent-dark-red);
}
.mc-fab b {
  min-width: 1.4rem;
  height: 1.4rem;
  line-height: 1.4rem;
  border-radius: 99px;
  background: var(--white);
  color: var(--accent-red);
  font-size: 0.8rem;
  text-align: center;
}
.mc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 950;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.mc-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.mc-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  z-index: 960;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s;
  box-shadow: var(--shadow-lg);
}
.mc-drawer.open {
  transform: none;
}
.mc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--primary-blue);
  color: var(--white);
}
.mc-head h3 {
  margin: 0;
  font-size: 1.1rem;
}
.mc-head button {
  background: none;
  border: 0;
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.mc-body {
  flex: 0 1 auto;
  overflow: auto;
  padding: 1rem 1.25rem;
}
.mc-line {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-color);
}
.mc-size {
  display: inline-block;
  padding: 0 0.4rem;
  border-radius: 3px;
  background: var(--light-gray);
  font-size: 0.75rem;
  font-weight: 700;
}
.mc-qty {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.mc-qty button {
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
}
.mc-lt {
  font-weight: 600;
  min-width: 4.5rem;
  text-align: right;
}
.mc-rm {
  background: none;
  border: 0;
  color: var(--text-light);
  font-size: 1.3rem;
  cursor: pointer;
}
.mc-empty {
  text-align: center;
  color: var(--text-light);
  padding: 2.5rem 0;
}
.mc-empty i {
  font-size: 2rem;
  opacity: 0.4;
}
#mc-view h4 {
  margin: 1.25rem 0 0.25rem;
  color: var(--primary-blue);
}
#mc-view label {
  display: block;
  margin: 0.6rem 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}
#mc-view input:not([type="radio"]):not([type="checkbox"]) {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font: inherit;
}
#mc-view fieldset {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  margin: 0.8rem 0;
  padding: 0.4rem 0.8rem;
}
#mc-view legend {
  padding: 0 0.3rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-blue);
}
#mc-view .mc-radio {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-weight: 400;
}
.mc-note {
  font-size: 0.78rem;
  color: var(--text-light);
  margin: 0 0 0.5rem;
}
.mc-msg {
  padding: 0.7rem 0.9rem;
  border-radius: 4px;
  margin: 0.8rem 0;
  font-size: 0.9rem;
}
.mc-msg.error {
  background: #ffebee;
  color: var(--accent-dark-red);
}
.mc-msg.info {
  background: #e3f2fd;
  color: var(--primary-blue);
}
.mc-foot {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-color);
  background: var(--light-gray);
}
.mc-sum {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
.mc-sum.total {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0.5rem 0 0.8rem;
}
.mc-pay {
  width: 100%;
  padding: 0.9rem;
  border: 0;
  border-radius: 4px;
  background: var(--accent-red);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
.mc-pay:hover {
  background: var(--accent-dark-red);
}
.mc-pay:disabled {
  opacity: 0.6;
  cursor: wait;
}
@media (max-width: 480px) {
  .mc-fab span {
    display: none;
  }
  .mc-line {
    grid-template-columns: 1fr auto auto;
  }
  .mc-lt {
    display: none;
  }
}

/* stadium rental calendar */
.calendar-section {
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
}
.calendar-header {
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.calendar-header h2 {
  font-size: 1.1rem;
  flex: 1 0 100%;
  text-align: center;
}
.calendar-nav {
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  flex: 1 0 100%;
}
.calendar-nav button {
  padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
}
.calendar-month-year {
  min-width: 0;
  flex: 1;
  font-size: 0.95rem;
}
.facility-picker {
  justify-content: center;
  margin-bottom: 0.75rem;
}
.calendar-grid {
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}
.calendar-day-header {
  padding: 0.3rem 0;
  font-size: 0.75rem;
}
.calendar-day {
  aspect-ratio: auto;
  height: 34px;
  font-size: 0.85rem;
  position: relative;
}
.calendar-day.available {
  background-color: #e8f5e9;
  border-color: #66bb6a;
  color: #1b5e20;
  font-weight: 700;
}
.calendar-day.available:hover {
  background-color: #c8e6c9;
  border-color: #2e7d32;
  transform: none;
}
.calendar-day.available.selected {
  background-color: #1e5bd6;
  border-color: #1e5bd6;
  color: var(--white);
}
.calendar-day.unavailable {
  background-color: #fde8e8;
  border-color: #d8232a;
  color: #8a1a1f;
  text-decoration: line-through;
  font-weight: 500;
  opacity: 0.85;
}
.calendar-day.empty {
  background-color: #fafafa;
  border-color: #eee;
  color: #c4c4c4;
  font-weight: 400;
}
.calendar-day.unavailable::after {
  display: none;
}
.calendar-day.today {
  border: 2px solid var(--primary-blue);
}
.calendar-legend {
  gap: 0.75rem 1.25rem;
  padding-top: 0.75rem;
  font-size: 0.85rem;
}
.legend-dot {
  width: 16px;
  height: 16px;
}
.legend-dot.available {
  background-color: #e8f5e9;
  border: 1px solid #66bb6a;
}
.legend-dot.unavailable {
  background-color: #fde8e8;
  border: 1px solid #d8232a;
}
.legend-dot.selected {
  background-color: #1e5bd6;
  border: 1px solid #1e5bd6;
}
@media (max-width: 480px) {
  .calendar-section {
    padding: 0.6rem;
  }
  .calendar-day {
    height: 36px;
  }
}
/* days from the neighbouring month keep their availability colours, only slightly softer */
.calendar-day.other-month.available {
  opacity: 0.85;
}
.calendar-day.other-month.unavailable {
  opacity: 0.85;
}

/* dine-in reservation form, email confirmation, VAT lines */
[hidden] {
  display: none !important;
}
.notify-choice {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 0.35rem 0;
}
.notify-choice label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  cursor: pointer;
}
.order-form-section small {
  display: block;
  margin-top: 0.35rem;
  color: #666;
}
.field-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #666;
}
.order-summary .summary-line.vat {
  font-size: 0.85rem;
  opacity: 0.85;
}
.staff-card h4 {
  margin: 1rem 0 0.4rem;
  color: var(--primary-blue);
}
.fx-row input.fx-title {
  flex: 1 1 60%;
}
.fx-row input.fx-time {
  flex: 0 0 9rem;
}

/* POS: orders list + receipt dialog */
.pos-orders-wrap {
  max-width: 1240px;
  margin: 1.5rem auto;
  padding: 0 1.5rem;
}
.ord-row {
  cursor: pointer;
}
.ord-row:hover,
.ord-row:focus {
  background: #eef2f6;
  outline: none;
}
.receipt-dlg {
  border: 1px solid #bbb;
  border-radius: 8px;
  padding: 1.25rem;
  width: min(460px, 94vw);
  color: #333;
  background: #fff;
}
.receipt-dlg::backdrop {
  background: rgba(0, 0, 0, 0.55);
}
.receipt-dlg .rc h3 {
  margin: 0;
  color: #1a3a52;
}
.receipt-dlg .rc-lines {
  width: 100%;
  border-collapse: collapse;
  margin: 0.6rem 0;
}
.receipt-dlg .rc-lines td {
  padding: 0.2rem 0;
}
.receipt-dlg td.r {
  text-align: right;
}
.receipt-dlg tr.sep td {
  border-top: 1px dashed #999;
  padding-top: 0.4rem;
}
.receipt-dlg tr.tot td {
  font-weight: 700;
  border-top: 1px solid #333;
}
.receipt-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0.75rem 0;
}
.receipt-send {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: end;
  margin: 0.5rem 0;
}
.receipt-send label {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  color: #555;
}
.receipt-send input {
  padding: 0.5rem;
  border: 1px solid #bbb;
  border-radius: 4px;
}

nav ul li a.active,
nav ul li .sn-dd-btn.active {
  color: var(--accent-red);
}
nav ul li.sn-dd {
  position: relative;
}
.sn-dd-btn {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--white);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}
.sn-dd-btn::after {
  content: " \25BE";
  font-size: 0.7em;
}
.sn-dd-btn:hover {
  color: var(--accent-red);
}
nav ul li.sn-dd ul.sn-dd-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  flex-direction: column;
  gap: 0;
  min-width: 210px;
  padding: 0.4rem;
  margin-top: 0.6rem;
  background: var(--primary-blue);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  z-index: 300;
}
nav ul li.sn-dd:hover ul.sn-dd-menu,
nav ul li.sn-dd.open ul.sn-dd-menu,
nav ul li.sn-dd:focus-within ul.sn-dd-menu {
  display: flex;
}
nav ul li.sn-dd ul.sn-dd-menu li a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 4px;
  white-space: nowrap;
}
nav ul li.sn-dd ul.sn-dd-menu li a:hover {
  background: rgba(255, 255, 255, 0.1);
}
.sidebar ul li a.active {
  color: var(--accent-red);
}

.who-line {
  margin: 0 0 1rem;
  font-weight: 600;
  color: var(--primary-blue);
}
.glance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.glance-tile {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-red);
  border-radius: 8px;
  text-decoration: none;
  color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
}
.glance-tile strong {
  font-size: 2rem;
  line-height: 1;
}
.glance-tile span {
  color: var(--text-light, #666);
  font-size: 0.95rem;
}
.glance-tile:hover {
  border-left-color: var(--primary-blue);
}
.rate-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.rates-table input {
  width: 8.5rem;
  margin: 0;
  padding: 0.5rem;
}
.success-message.show-inline:empty {
  display: none;
}
.success-message.show-inline {
  display: block;
  padding: 0.6rem 1rem;
  margin: 0 0 1rem;
  border: 1px solid;
  border-radius: 4px;
}

@media (max-width: 800px) {
  .staff-wrap {
    padding: 1rem 0.75rem;
  }
  .staff-card {
    padding: 1rem 1rem;
    margin-bottom: 1.25rem;
  }
  .staff-card h2 {
    font-size: 1.25rem;
  }
  .staff-item {
    flex-wrap: wrap;
  }
  .staff-item > span:last-child,
  .staff-item > div:last-child {
    width: 100%;
  }
  .bar-header {
    padding: 1.75rem 1rem !important;
  }
  .bar-header h1 {
    font-size: 1.8rem !important;
  }
  .rates-table table,
  .rates-table thead,
  .rates-table tbody,
  .rates-table tr,
  .rates-table td {
    display: block;
    width: 100%;
  }
  .rates-table thead {
    display: none;
  }
  .rates-table tr {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
  }
  .rates-table td {
    border: 0 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0.4rem;
  }
  .rates-table td[data-label]::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--primary-blue);
  }
}

/* teams, players, fixtures */
.ops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.5rem 1rem;
  align-items: end;
}
.ops-grid label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
}
.ops-grid .ops-wide {
  grid-column: 1 / -1;
}
.ops-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e3e8ec;
}
.ops-team {
  border: 1px solid #e3e8ec;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
}
.ops-team .ops-row {
  border-bottom: 0;
  padding-top: 0;
}
.ops-squad {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.25rem 0 0.75rem;
}
.ops-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #eef3f7;
  border: 1px solid #d5dee6;
  border-radius: 999px;
  padding: 0.2rem 0.35rem 0.2rem 0.7rem;
  font-size: 0.9rem;
}
.ops-chip button {
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  color: #1a3a52;
}
.ops-add {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.ops-add select {
  width: auto;
  max-width: 100%;
  margin: 0;
}
.success-message.is-error {
  background: #fdecea;
  border-color: #a61b22;
  color: #6b0f14;
}
.player-card {
  background: #fff;
  border: 1px solid #e3e8ec;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.player-pill {
  display: inline-block;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: #eef3f7;
  color: #1a3a52;
}
.player-pill.approved {
  background: #d7eadd;
  color: #0c3d1e;
}
.player-pill.rejected {
  background: #f6d7d9;
  color: #6b0f14;
}
.player-pill.pending {
  background: #dbe8f3;
  color: #1a3a52;
}
@media (max-width: 600px) {
  .ops-row > div:last-child {
    width: 100%;
  }
  .ops-add select {
    width: 100%;
  }
}

.sc-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin: 0 0 1.25rem;
  border-bottom: 2px solid var(--border-color);
}
.sc-tab {
  padding: 0.6rem 1.1rem;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
}
.sc-tab:hover {
  color: var(--primary-blue);
}
.sc-tab.active {
  color: var(--primary-blue);
  border-bottom-color: var(--accent-red);
}
.sc-tab[hidden],
[data-pane][hidden] {
  display: none;
}
.sc-badge {
  display: inline-block;
  min-width: 1.4rem;
  padding: 0.1rem 0.55rem;
  border-radius: 99px;
  background: var(--primary-blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
}
.sc-badge.bad {
  background: var(--accent-red);
}
.sc-badge.warn {
  background: #d98a00;
}
.sc-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.sc-kpi {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--white);
  color: var(--text-dark);
  text-decoration: none;
}
.sc-kpi span {
  font-size: 0.82rem;
  color: var(--text-light);
}
.sc-kpi strong {
  font-size: 1.7rem;
  color: var(--primary-blue);
}
.sc-kpi-link:hover {
  border-color: var(--accent-red);
}
.sc-gate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
}
.sc-gate video {
  width: 100%;
  max-height: 260px;
  border-radius: 8px;
  background: #000;
  margin-bottom: 0.6rem;
}
.sc-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 150px;
  padding: 1.2rem;
  border-radius: 8px;
  border: 2px dashed var(--border-color);
  font-size: 1.05rem;
}
.sc-result.good {
  background: #e7f6ec;
  border: 2px solid #1f9d4d;
  color: #0f5c2d;
}
.sc-result.bad {
  background: #fdeaea;
  border: 2px solid var(--accent-red);
  color: #8a1c1c;
}
.sc-result strong {
  font-size: 1.6rem;
}
.ops-check {
  display: flex !important;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 400;
}
.ops-grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.pre-line {
  white-space: pre-line;
}
.plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.plain-list li {
  padding: 0.35rem 0;
}
.tbl-tools {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin: 0.25rem 0 0.6rem;
}
.tbl-tools input {
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font: inherit;
  min-width: 200px;
}
.table-scroll {
  overflow-x: auto;
}
.staff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.staff-table th,
.staff-table td {
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border-color);
  text-align: left;
  vertical-align: top;
}
.staff-table th {
  background: var(--primary-blue);
  color: #fff;
  white-space: nowrap;
}
.staff-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.03);
}
.low-stock {
  color: var(--accent-red);
  font-weight: 700;
}
.q-order.is-overdue {
  border-left: 5px solid var(--accent-red);
}
.q-order textarea {
  width: 100%;
  margin: 0.5rem 0;
  padding: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font: inherit;
}
.btn-staff.danger {
  background: var(--accent-red);
}
.pz-note {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}
/* top-right cart */
.mc-navcart {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.mc-navcart span {
  color: #fff;
}
.mc-navcart:hover {
  background: rgba(255, 255, 255, 0.15);
}
.mc-navcart b {
  min-width: 1.3rem;
  height: 1.3rem;
  line-height: 1.3rem;
  border-radius: 99px;
  background: var(--accent-red);
  color: #fff;
  font-size: 0.75rem;
  text-align: center;
}
@media (max-width: 700px) {
  .mc-navcart span {
    display: none;
  }
  .mc-navcart {
    margin-right: 0.4rem;
  }
}
/* checkout wizard */
.mc-steps {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0.7rem 1rem;
  gap: 0.25rem;
  background: var(--light-gray);
  counter-reset: s;
}
.mc-steps li {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-light);
  counter-increment: s;
}
.mc-steps li:before {
  content: counter(s);
  display: block;
  width: 1.6rem;
  height: 1.6rem;
  line-height: 1.6rem;
  margin: 0 auto 0.15rem;
  border-radius: 50%;
  background: var(--border-color);
  color: #fff;
}
.mc-steps li.now {
  color: var(--primary-blue);
}
.mc-steps li.now:before {
  background: var(--primary-blue);
}
.mc-steps li.done:before {
  content: "\2713";
  background: #1f9d4d;
}
.mc-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.6rem;
}
.mc-row .mc-pay {
  flex: 1;
}
.mc-back {
  padding: 0.7rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: var(--white);
  font: inherit;
  cursor: pointer;
}
.mc-pay[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.mc-bad {
  background: #fdeaea;
}
.mc-done {
  text-align: center;
  padding: 1.5rem 0;
}
.mc-done i {
  font-size: 3rem;
  color: #1f9d4d;
}
a.mc-pay {
  display: block;
  text-decoration: none;
  text-align: center;
}
.mc-note {
  font-size: 0.82rem;
  color: var(--text-light);
}
/* my orders extras */
.mo-timeline {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
}
.mo-timeline li {
  margin: 0.2rem 0;
}
.mo-reply textarea {
  width: 100%;
  margin: 0.3rem 0;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font: inherit;
  background: var(--surface);
  color: var(--text);
}
.mo-tickets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.mo-ticket {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}
.mo-ticket.used {
  opacity: 0.55;
}
@media (max-width: 700px) {
  .sc-gate {
    grid-template-columns: 1fr;
  }
  .sc-tab {
    flex: 1 1 auto;
  }
}
.sc-gate .staff-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.sc-gate input {
  flex: 1 1 160px;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font: inherit;
}
.mc-radio {
  display: flex !important;
  gap: 0.5rem;
  align-items: flex-start;
  font-weight: 400 !important;
}
#mc-view fieldset legend {
  font-weight: 700;
  padding: 0 0.3rem;
}

/* photo galleries, facility catalogue, admin photo manager */
.gal {
  width: 100%;
}
.gal-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  font-size: 2.6rem;
  opacity: 0.5;
}
.gal-main {
  position: relative;
  background: #0b1622;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gal-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}
.gal-prev,
.gal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 44px;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.gal-prev {
  left: 0;
  border-radius: 0 6px 6px 0;
}
.gal-next {
  right: 0;
  border-radius: 6px 0 0 6px;
}
.gal-prev:hover,
.gal-next:hover {
  background: rgba(216, 35, 42, 0.85);
}
.gal-count {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 10px;
}
.gal-thumbs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 0 2px;
  scrollbar-width: thin;
}
.gal-thumb {
  flex: 0 0 64px;
  height: 48px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  opacity: 0.7;
}
.gal-thumb.on,
.gal-thumb:hover {
  border-color: #d8232a;
  opacity: 1;
}
.gal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gal-cap {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  opacity: 0.85;
}
.gal-box {
  border: 0;
  background: rgba(0, 0, 0, 0.92);
  padding: 0;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
}
.gal-box::backdrop {
  background: rgba(0, 0, 0, 0.92);
}
.gal-box img {
  position: absolute;
  inset: 3rem 4rem;
  width: calc(100% - 8rem);
  height: calc(100% - 6rem);
  object-fit: contain;
}
.gal-x,
.gal-lprev,
.gal-lnext {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  width: 48px;
  height: 56px;
  border-radius: 6px;
  z-index: 2;
}
.gal-x {
  top: 12px;
  right: 12px;
  height: 44px;
}
.gal-lprev {
  left: 8px;
  top: 50%;
}
.gal-lnext {
  right: 8px;
  top: 50%;
}
.fac-catalog {
  margin: 2rem 0;
}
.fac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.fac-card {
  background: var(--surface, #1b3a52);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.fac-card h3 {
  margin: 0;
}
.fac-card .fac-rate {
  font-weight: 700;
  color: #fff;
}
.fac-card .fac-desc {
  margin: 0;
  white-space: pre-line;
}
.fac-card .btn-fac {
  align-self: flex-start;
  background: #d8232a;
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 0.55rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
}
.product-image .gal-main {
  border-radius: 0;
  aspect-ratio: 1/1;
}
.product-image .gal-thumbs {
  padding: 6px;
}
.photo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0.5rem 0 1rem;
}
.photo-tile {
  width: 120px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 4px;
  font-size: 0.75rem;
}
.photo-tile img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.photo-tile.cover {
  border-color: #d8232a;
}
.photo-tile button {
  width: 100%;
  margin-top: 3px;
  font-size: 0.72rem;
  padding: 3px;
  cursor: pointer;
}
.photo-tile input {
  width: 100%;
  box-sizing: border-box;
  margin-top: 3px;
  font-size: 0.72rem;
}
.size-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  margin: 0.3rem 0 0.8rem;
}
.size-picker label {
  display: inline-flex;
  gap: 0.3rem;
  align-items: center;
  cursor: pointer;
}
.size-picker.off {
  opacity: 0.4;
  pointer-events: none;
}
.req {
  color: #ff6b6b;
  font-weight: 700;
}
.photo-warn {
  background: rgba(216, 35, 42, 0.18);
  border: 1px solid #d8232a;
  border-radius: 4px;
  padding: 0.3rem 0.6rem;
  font-size: 0.85rem;
  display: inline-block;
}
.fac-admin-card {
  margin-bottom: 1rem;
}
@media (max-width: 600px) {
  .gal-box img {
    inset: 3.5rem 0.5rem;
    width: calc(100% - 1rem);
  }
}
.fac-card,
.fac-card h3,
.fac-card p,
.fac-card small {
  color: #fff;
}
.fac-catalog > h2 {
  margin-bottom: 0.3rem;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23444' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><rect x='3.5' y='5' width='17' height='15.5' rx='2'/><path d='M3.5 10h17M8 3v4M16 3v4'/></svg>")
    center/1.1rem no-repeat;
  opacity: 0.85;
  cursor: pointer;
  width: 1.4rem;
  height: 1.4rem;
}
input[type="time"]::-webkit-calendar-picker-indicator {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23444' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='8.5'/><path d='M12 7v5l3 2'/></svg>")
    center/1.1rem no-repeat;
  opacity: 0.85;
  cursor: pointer;
  width: 1.4rem;
  height: 1.4rem;
}

/* Player Zone cards */
.player-card {
  background: var(--white, #fff);
  border: 1px solid var(--border-color, #e3e8ec);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm, none);
}
.player-card h2 {
  color: var(--primary-blue, #1a3a52);
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
  line-height: 1.25;
}
.player-card h3 {
  color: var(--primary-blue, #1a3a52);
  font-size: 1.1rem;
  margin: 1.25rem 0 0.5rem;
}
.player-card h2 i {
  margin-right: 0.4rem;
  font-size: 1.15rem;
}
.player-card p {
  margin: 0.35rem 0;
}
.player-card input,
.player-card select,
.player-card textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color, #d5dee6);
  border-radius: 4px;
  font: inherit;
  box-sizing: border-box;
}
.player-card .table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.player-card .table-wrap th {
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light, #5b6b7a);
  padding: 0.55rem 0.6rem;
  border-bottom: 2px solid var(--border-color, #e3e8ec);
}
.player-card .table-wrap td {
  padding: 0.6rem;
  border-bottom: 1px solid var(--border-color, #e3e8ec);
  vertical-align: top;
}
@media (max-width: 600px) {
  .player-card {
    padding: 1rem;
    margin-bottom: 1.25rem;
  }
  .player-card h2 {
    font-size: 1.25rem;
  }
}

/* Coach portal */
.coach-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  margin: 0 0 1rem;
}
.coach-tile {
  background: var(--card-bg, #fff);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.coach-tile strong {
  font-size: 1.7rem;
  line-height: 1;
}
.coach-tile span {
  font-size: 0.85rem;
  opacity: 0.75;
}
.coach-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1rem;
}
.coach-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
