@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;0,700;0,800;1,800&family=Noto+Sans+Thai:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #1e2430;
  --muted: #748094;
  --line: #d9e0ea;
  --paper: #ffffff;
  --panel: rgba(255, 255, 255, 0.92);
  --accent: #3f18d8;
  --accent-strong: #2d0fb7;
  --danger: #b3261e;
  --success: #0f7c4a;
  --brand: #b14b2d;
  --sky: #c7d0da;
  --home: #b8d7ff;
  --home-border: #367bcd;
  --heading-font: Montserrat, "Segoe UI", Arial, sans-serif;
  --body-font: Montserrat, "Segoe UI", Arial, sans-serif;
  --label-font: Montserrat, "Segoe UI", Arial, sans-serif;
  --font-body-weight: 400;
  --font-navbar-weight: 600;
  --font-button-weight: 700;
  --font-card-title-weight: 600;
  --font-section-title-weight: 700;
  --font-hero-weight: 800;
  --site-header-height: 68px;
  font-family: var(--body-font);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  color: var(--ink);
  background: var(--sky);
  font-family: var(--body-font);
  font-weight: var(--font-body-weight);
  overflow-x: hidden;
  overflow-y: auto;
}

body > * {
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input {
  max-width: 100%;
  font: inherit;
}

select {
  max-width: 100%;
  font: inherit;
}

h1,
h2,
h3,
.home-hero-copy h1,
.login-card h1,
.register-card h1,
.register-banner h1,
.profile-glass-card h2,
.site-footer h3 {
  font-family: var(--heading-font);
  font-weight: var(--font-section-title-weight);
}

label,
.register-field span:not(.field-glyph),
.success-details dt,
.field input::placeholder,
.register-field input::placeholder,
.register-field select,
.nav-login,
.nav-book {
  font-family: var(--label-font);
  font-weight: var(--font-body-weight);
  text-transform: uppercase;
}

input,
select,
button,
p,
a,
dd,
span {
  font-family: inherit;
  font-weight: inherit;
}

.site-nav,
.site-nav a {
  font-weight: var(--font-navbar-weight);
}

.primary-button,
.outline-button,
.nav-login,
.nav-book,
.booking-back,
.booking-next,
.signup-link {
  font-weight: var(--font-button-weight);
}

.home-gallery h2,
.booking-panel-head h2,
.register-form-wrap > h2,
.profile-glass-card h2,
.site-footer h3 {
  font-weight: var(--font-section-title-weight);
}

.sport-card-content strong,
.booking-choice strong,
.booking-rental-slot header strong,
.booking-review-detail > strong,
.booking-review-sport,
.booking-review-option-price,
.booking-total strong {
  font-weight: var(--font-card-title-weight);
}

.auth-page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 145, 55, 0.08), transparent 18%),
    linear-gradient(rgba(4, 7, 24, 0.36), rgba(3, 7, 22, 0.48)),
    url("../img/login-bg.png") center / cover no-repeat fixed;
}

.register-page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  min-height: 100vh;
  padding-top: var(--site-header-height);
  background: #f7f7f4;
}

.auth-shell {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.login-panel {
  width: min(100%, 410px);
  max-width: 100%;
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.brand-logo {
  width: 150px;
  margin-bottom: 10px;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.54));
}

.login-card,
.modal-card {
  width: 100%;
  border: 1px solid rgba(255, 144, 41, 0.46);
  border-radius: 18px;
  background: var(--panel);
  box-shadow:
    0 22px 50px rgba(2, 7, 20, 0.48),
    0 0 0 1px rgba(255, 134, 30, 0.14),
    inset 0 1px 0 rgba(255, 179, 97, 0.18);
}

.login-card {
  padding: 28px 34px 30px;
  background:
    linear-gradient(180deg, rgba(31, 14, 6, 0.92), rgba(18, 8, 3, 0.9)),
    radial-gradient(circle at 20% 90%, rgba(255, 141, 31, 0.14), transparent 24%);
  backdrop-filter: blur(8px);
}

.login-card h1 {
  margin: 2px 0 24px;
  color: #ff8d1f;
  font-size: 21px;
  font-weight: 800;
  text-align: center;
}

.field {
  min-height: 54px;
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 144, 41, 0.48);
  border-radius: 10px;
  background: rgba(19, 9, 5, 0.78);
  overflow: hidden;
}

.field.compact {
  margin-top: 14px;
}

.field:focus-within {
  border-color: rgba(255, 162, 76, 0.92);
  box-shadow: 0 0 0 3px rgba(255, 137, 42, 0.14);
}

.field-icon {
  width: 100%;
  display: grid;
  place-items: center;
  color: rgba(245, 247, 255, 0.9);
}

.field-icon svg,
.icon-button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.field input {
  min-width: 0;
  width: 100%;
  height: 52px;
  border: 0;
  outline: 0;
  color: #f3f6ff;
  background: transparent;
  font-size: 14px;
}

.field input::placeholder {
  color: rgba(231, 236, 249, 0.9);
}

.icon-button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  color: rgba(243, 247, 255, 0.9);
  background: transparent;
  cursor: pointer;
}

.form-row {
  min-height: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 2px 0 12px;
  color: rgba(237, 239, 246, 0.94);
  font-size: 12px;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.check input {
  width: 14px;
  height: 14px;
  accent-color: #4238e4;
}

.link-button {
  border: 0;
  color: rgba(245, 247, 255, 0.96);
  background: transparent;
  cursor: pointer;
}

.link-button:hover,
.icon-button:hover {
  color: var(--accent);
}

.message {
  min-height: 18px;
  margin: 0 0 9px;
  color: #ff9980;
  font-size: 12px;
  text-align: center;
}

.message.success {
  color: #72e3a6;
}

.auth-page .primary-button {
  min-height: 60px;
  border: 1px solid rgba(146, 158, 255, 0.6);
  border-radius: 12px;
  background: linear-gradient(180deg, #3348ef, #2637d7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-size: 17px;
}

.auth-page .primary-button:hover {
  background: linear-gradient(180deg, #3951ff, #2c3ee2);
}

.auth-page .signup-divider {
  margin: 18px 0 12px;
  background: linear-gradient(90deg, transparent, rgba(255, 149, 50, 0.48), transparent);
}

.auth-page .signup-note,
.auth-page .or-note {
  color: rgba(243, 246, 255, 0.92);
}

.auth-page .signup-link {
  color: #ff8d1f;
  font-weight: 700;
}

.auth-page .outline-button {
  min-height: 56px;
  border: 1px solid rgba(255, 144, 41, 0.78);
  border-radius: 12px;
  color: #ff8d1f;
  background: rgba(38, 17, 8, 0.38);
}

.auth-page .outline-button:hover {
  background: rgba(52, 22, 10, 0.58);
}

.primary-button,
.outline-button {
  min-height: 42px;
  width: 100%;
  border-radius: 7px;
  cursor: pointer;
}

.primary-button {
  border: 0;
  color: #fff;
  background: #2338c4;
  font-size: 15px;
  font-weight: var(--font-button-weight);
}

.primary-button:hover {
  background: #1d2fa8;
}

.primary-button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.signup-divider {
  height: 1px;
  margin: 16px 0 8px;
  background: #dadde5;
}

.signup-note {
  margin: 0;
  color: #1e2430;
  font-size: 12px;
  text-align: center;
}

.signup-link {
  padding: 0;
  border: 0;
  color: #22339b;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
}

.or-note {
  margin: 2px 0 8px;
  color: #1e2430;
  font-size: 11px;
  text-align: center;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid #a46a5c;
  color: #7b3b2c;
  background: rgba(255, 255, 255, 0.18);
  font-size: 15px;
  font-weight: var(--font-button-weight);
}

.outline-button.small {
  width: auto;
  min-width: 108px;
  min-height: 36px;
  padding: 0 14px;
}

.crest {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, #fff 0 16%, transparent 17%),
    conic-gradient(from 20deg, #d54232, #f1b45f, #d54232, #7b241d, #d54232);
  box-shadow: inset 0 0 0 2px #e9d7d2;
}

.modal {
  width: min(100% - 28px, 330px);
  padding: 0;
  border: 0;
  background: transparent;
}

.modal[open] {
  position: fixed;
  top: 50%;
  left: 50%;
  margin: 0;
  max-height: calc(100vh - 32px);
  transform: translate(-50%, -50%);
}

.modal::backdrop {
  background: rgba(10, 15, 25, 0.48);
}

.modal-card {
  position: relative;
  padding: 26px 22px 22px;
  text-align: center;
}

.modal-card h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 17px;
}

.modal-card p {
  margin: 7px 0;
  color: #657085;
  font-size: 13px;
  line-height: 1.5;
}

.contact-row {
  color: var(--brand) !important;
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 0;
  color: #8b96a8;
  background: transparent;
  cursor: pointer;
}

.app-system-dialog {
  width: min(100% - 28px, 390px);
}

.app-system-dialog-card {
  padding: 28px 22px 22px;
  border-radius: 16px;
}

.app-system-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: -4px auto 12px;
  border-radius: 50%;
  color: #fff;
  background: #2aa6a0;
  box-shadow: 0 0 0 10px rgba(42, 166, 160, 0.14);
}

.app-system-mark.warning {
  background: #f7c928;
  box-shadow: 0 0 0 10px rgba(247, 201, 40, 0.16);
}

.app-system-mark.success {
  background: #25a66a;
  box-shadow: 0 0 0 10px rgba(37, 166, 106, 0.16);
}

.app-system-mark svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-system-mark .app-system-mark-warning,
.app-system-mark .app-system-mark-success {
  display: none;
}

.app-system-mark.warning .app-system-mark-warning,
.app-system-mark.success .app-system-mark-success {
  display: block;
}

.app-system-mark.warning .app-system-mark-notice,
.app-system-mark.success .app-system-mark-notice {
  display: none;
}

.app-system-dialog-body p {
  margin: 0;
}

.app-system-note {
  padding: 16px;
  border-radius: 10px;
  color: #142130;
  background: #fff3b7;
  text-align: left;
}

.app-system-note p {
  margin: 0 0 8px;
  color: #142130;
  font-size: 14px;
  line-height: 1.35;
}

.app-system-note p:last-child {
  margin-bottom: 0;
}

.app-system-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 22px;
}

.app-system-actions.has-cancel {
  grid-template-columns: 1fr 1fr;
}

.app-system-actions .primary-button,
.app-system-actions .outline-button {
  width: 100%;
  min-height: 48px;
}

.home-page {
  min-height: 100vh;
  padding-top: var(--site-header-height);
  background: #f0f2f8;
}

.home-app-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px max(18px, calc((100% - 1080px) / 2 + 18px)) 16px;
  color: #fff;
  background: #1f6f80;
}

.home-greeting {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 500;
}

.home-app-header h1 {
  margin: 0;
  font-size: clamp(24px, 4.6vw, 34px);
  font-weight: 800;
  letter-spacing: 0;
}

.home-user-button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  cursor: pointer;
}

.home-user-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-main {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  justify-items: center;
  margin: 0;
  padding: 78px 20px 64px;
  background:
    linear-gradient(135deg, rgba(92, 107, 192, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(38, 166, 154, 0.1), transparent 36%),
    #f0f2f8;
}

.home-dashboard {
  width: min(100%, 1080px);
  max-width: 100%;
  min-width: 0;
}

.home-banner-hero {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 450px;
  place-items: center;
  padding: 0 20px;
}

.home-hero-copy {
  width: min(100%, 920px);
  min-width: 0;
  color: #fff;
  text-align: center;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.34);
}

.home-hero-copy .home-greeting {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.home-hero-copy h1 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(44px, 7vw, 74px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.home-page .site-header,
.app-shell-page .site-header {
  position: fixed;
}

.home-logout-button {
  color: #f5efe8;
  background: transparent;
  cursor: pointer;
}

.home-tab {
  min-height: 50px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #3f73ce;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.home-tab svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.home-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
  min-width: 0;
}

.home-action-card {
  min-width: 0;
  min-height: 112px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 1px solid rgba(198, 216, 226, 0.82);
  border-radius: 8px;
  color: #315472;
  background: rgba(255, 250, 249, 0.92);
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(60, 101, 120, 0.08);
}

.home-action-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #2f78a1;
  background: rgba(242, 248, 253, 0.86);
}

.home-action-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-action-card span:last-child {
  font-size: 14px;
  font-weight: 500;
}

.home-gallery {
  margin-top: 18px;
}

.home-gallery h2 {
  margin: 0 0 10px;
  color: #19222e;
  font-size: 15px;
  font-weight: 700;
}

.sport-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

.sport-card {
  position: relative;
  min-width: 0;
  min-height: 150px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 8px;
  color: #142130;
  text-decoration: none;
  background:
    linear-gradient(rgba(0, 37, 70, 0.22), rgba(0, 37, 70, 0.34)),
    url("../img/register-hero-bg.png") center 52% / cover no-repeat;
  box-shadow: 0 10px 20px rgba(47, 90, 110, 0.12);
}

.sport-card::before,
.sport-card::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.sport-card::before {
  inset: 28% 0 auto;
  height: 3px;
  background: rgba(248, 255, 255, 0.78);
  box-shadow:
    0 28px rgba(255, 255, 255, 0.34),
    0 56px rgba(255, 255, 255, 0.34);
}

.sport-card::after {
  left: 50%;
  top: 18px;
  width: 54px;
  height: 54px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #eef3f4;
  box-shadow:
    -38px 22px 0 -12px rgba(255, 255, 255, 0.85),
    40px 20px 0 -13px rgba(255, 255, 255, 0.85),
    0 0 0 3px rgba(34, 46, 48, 0.12);
}

.sport-card span {
  position: relative;
  z-index: 1;
  width: calc(100% - 16px);
  min-height: 28px;
  display: grid;
  place-items: center;
  margin: 0 8px 8px;
  border-radius: 7px;
  background: rgba(245, 246, 246, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.sport-badminton::after {
  width: 62px;
  height: 36px;
  border-radius: 50% 50% 42% 42%;
  background:
    linear-gradient(75deg, transparent 0 43%, rgba(60, 65, 70, 0.48) 44% 46%, transparent 47%),
    radial-gradient(circle at 30% 50%, #fff 0 34%, #dde5e7 35% 54%, transparent 55%);
  box-shadow: 38px 20px 0 -13px #eef3f4;
}

.sport-badminton {
  background: url("../img/home-badminton-card.png") center 30% / cover no-repeat;
}

.sport-badminton::before,
.sport-badminton::after {
  display: none;
}

.sport-tennis::after,
.sport-pickleball::after {
  width: 28px;
  height: 28px;
  top: 28px;
  background: #d4e642;
  box-shadow: 0 0 0 3px rgba(35, 65, 30, 0.16);
}

.sport-tennis {
  background: url("../img/home-tennis-card.png") center 40% / cover no-repeat;
}

.sport-tennis::before,
.sport-tennis::after {
  display: none;
}

.sport-padel::after {
  width: 38px;
  height: 38px;
  top: 25px;
  background:
    radial-gradient(circle at 30% 30%, #28323a 0 3px, transparent 4px),
    radial-gradient(circle at 64% 35%, #28323a 0 3px, transparent 4px),
    radial-gradient(circle at 45% 68%, #28323a 0 3px, transparent 4px),
    #dfcc32;
}

.sport-pickleball {
  background: url("../img/pickleball.png") center 20% / cover no-repeat;
}

.sport-padel {
  background: url("../img/Btpadel.png") center 84% / cover no-repeat;
}

.sport-pickleball::before,
.sport-pickleball::after,
.sport-padel::before,
.sport-padel::after {
  display: none;
}

.sport-football::after {
  width: 42px;
  height: 42px;
  top: 25px;
  background:
    radial-gradient(circle at 50% 50%, #202c34 0 8px, transparent 9px),
    radial-gradient(circle at 24% 26%, #202c34 0 5px, transparent 6px),
    radial-gradient(circle at 75% 28%, #202c34 0 5px, transparent 6px),
    radial-gradient(circle at 24% 76%, #202c34 0 5px, transparent 6px),
    radial-gradient(circle at 76% 76%, #202c34 0 5px, transparent 6px),
    #f7f8f7;
}

.sport-football {
  background: url("../img/Ball.png") center 111% / cover no-repeat;
}

.sport-football::before,
.sport-football::after {
  display: none;
}

.sport-squash {
  background: url("../img/SQ.png") center 111% / cover no-repeat;
}

.sport-squash::before {
  inset: 0 auto 0 50%;
  width: 2px;
  height: auto;
  background: rgba(106, 122, 128, 0.28);
  box-shadow:
    -52px 0 rgba(106, 122, 128, 0.18),
    52px 0 rgba(106, 122, 128, 0.18);
}

.sport-squash::after {
  width: 34px;
  height: 34px;
  top: 40px;
  background: #2499b9;
}

.sport-squash::before,
.sport-squash::after {
  display: none;
}

.sport-table-tennis {
  background: url("../img/home-table-tennis-card.png") center 48% / cover no-repeat;
}

.sport-table-tennis::after {
  width: 36px;
  height: 36px;
  top: 30px;
  background: #d75355;
}

.sport-table-tennis::before,
.sport-table-tennis::after {
  display: none;
}

.register-shell {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 42px 20px;
}

.register-panel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.register-hero {
  height: 176px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(105deg, rgba(3, 19, 88, 0.95), rgba(22, 83, 192, 0.9)),
    url("../img/login-bg.png") center / cover no-repeat;
}

.register-hero img {
  width: min(310px, 72%);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.45));
}

.register-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 24px 56px 26px;
  border-radius: 0 0 8px 8px;
  background: rgba(249, 251, 255, 0.96);
  box-shadow: 0 24px 54px rgba(22, 32, 50, 0.16);
}

.register-card h1 {
  margin: 0;
  color: #1e2430;
  font-size: 18px;
  text-align: center;
}

.register-subtitle {
  margin: 5px 0 15px;
  color: #6d7788;
  font-size: 12px;
  text-align: center;
}

.register-subtitle a,
.register-login-link {
  color: #22339b;
  text-decoration: none;
}

.register-alert {
  min-height: 32px;
  display: none;
  align-items: center;
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: 4px;
  color: #7a4d00;
  background: #ffd428;
  font-size: 12px;
}

.register-alert.show {
  display: flex;
}

.register-alert.success {
  color: #075437;
  background: #d8f4e6;
}

.app-toast-layer {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 4000;
  transform: translateX(-50%);
  width: min(calc(100vw - 32px), 460px);
  pointer-events: none;
}

.app-toast {
  padding: 14px 18px;
  border-radius: 14px;
  color: #633d00;
  background: rgba(255, 212, 40, 0.96);
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.18);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  transition: opacity .2s ease, transform .2s ease;
}

.app-toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.app-toast.success {
  color: #075437;
  background: rgba(216, 244, 230, 0.98);
}

.register-field {
  display: block;
  margin-bottom: 10px;
}

.register-field span {
  display: block;
  margin-bottom: 4px;
  color: #334057;
  font-size: 11px;
}

.register-field input {
  width: 100%;
  height: 31px;
  padding: 0 10px;
  border: 1px solid #e5e9f1;
  border-radius: 3px;
  outline: 0;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
}

.register-field input:focus {
  border-color: #356bd3;
  box-shadow: 0 0 0 3px rgba(53, 107, 211, 0.1);
}

.register-field.invalid input {
  border-color: #cf4b42;
}

.register-submit {
  min-height: 36px;
  margin-top: 8px;
  border-radius: 4px;
  font-size: 13px;
}

.register-login-link {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  text-align: center;
}

.success-card {
  padding-top: 26px;
  text-align: center;
}

.success-mark {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  margin: 0 auto 11px;
  border-radius: 50%;
  color: #fff;
  background: #18b66a;
  font-size: 16px;
  font-weight: 800;
}

.success-details {
  margin: 22px 0;
  text-align: left;
}

.success-details div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  margin-bottom: 10px;
  color: #4c596d;
  font-size: 12px;
}

.success-details dt {
  color: #8a95a8;
}

.success-details dd {
  margin: 0;
}

.success-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 68px;
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 56px;
  color: #fff;
  background: rgba(22, 18, 16, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(18px);
  transition:
    background-color 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(103, 101, 102, 0.42);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
}

.site-mark,
.site-nav a,
.site-actions a {
  color: inherit;
  text-decoration: none;
}

.site-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-family: var(--heading-font);
}

.site-mark img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.site-menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  place-items: center;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(180, 211, 255, 0.28);
  border-radius: 14px;
  color: #f5efe8;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(18, 42, 82, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 24px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.site-menu-toggle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 180ms ease;
}

.site-menu-toggle svg path {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 160ms ease, stroke-dashoffset 260ms ease;
}

.site-menu-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(188, 221, 255, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 16px 28px rgba(0, 0, 0, 0.25);
}

.site-menu-toggle:active {
  transform: scale(0.94);
}

.site-menu-toggle::before,
.site-menu-toggle::after {
  position: absolute;
  inset: 9px;
  display: block;
  content: "";
  pointer-events: none;
  border-radius: 12px;
  opacity: 0;
  transform: scale(0.62) rotate(18deg);
  transition: transform 300ms ease, opacity 220ms ease;
}

.site-menu-toggle::before {
  border: 1px solid rgba(99, 169, 255, 0.58);
}

.site-menu-toggle::after {
  background: radial-gradient(circle, rgba(99, 169, 255, 0.28), transparent 62%);
}

.site-menu-backdrop {
  display: none;
}

.site-mark strong {
  font-size: 18px;
  font-weight: 700;
}

.site-nav {
  position: absolute;
  inset: 0 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  min-width: 0;
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
}

.site-nav a {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  text-align: center;
}

.site-actions {
  position: absolute;
  right: 56px;
  top: 50%;
  min-width: 0;
  display: flex;
  margin-left: 0;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  transform: translateY(-50%);
}

.nav-login,
.nav-book {
  min-height: 28px;
  min-width: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 13px;
}

.nav-login {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.nav-book {
  border: 0;
  color: #f9efe8;
  background: rgba(201, 75, 67, 0.9);
  cursor: pointer;
}

.register-banner {
  min-height: 300px;
  display: grid;
  place-items: start center;
  padding-top: 46px;
  color: #f7eee7;
  background:
    linear-gradient(rgba(0, 37, 70, 0.22), rgba(0, 37, 70, 0.34)),
    url("../img/register-hero-bg.png") center 52% / cover no-repeat;
}

.register-banner h1 {
  margin: 0;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.34);
  font-family: var(--heading-font);
  font-size: 54px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.register-main {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 620px;
  display: grid;
  place-items: start center;
  padding: 28px 20px 64px;
  background: #f8f8f5;
}

.register-form-wrap {
  width: min(100%, 720px);
  max-width: 100%;
  min-width: 0;
  text-align: center;
}

.club-symbol {
  color: #074b37;
  font-size: 46px;
  line-height: 1;
}

.register-form-wrap > h2 {
  margin: 0 0 12px;
  color: #11166b;
  font-family: var(--heading-font);
  font-size: 31px;
  font-weight: 800;
  letter-spacing: 0;
}

.register-page .register-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.register-page .register-alert {
  min-height: 0;
  margin: 0 0 16px;
  border-radius: 8px;
  color: #633d00;
  background: #ffd428;
  text-align: left;
}

.register-page .register-field {
  position: relative;
  display: block;
  margin-bottom: 16px;
}

.register-page .register-field span:not(.field-glyph) {
  display: none;
}

.register-page .icon-field .field-glyph {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #1d2935;
  text-align: center;
  pointer-events: none;
}

.field-glyph svg,
.register-eye svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.register-page .register-field input,
.register-page .register-field select {
  width: 100%;
  height: 44px;
  padding: 0 48px;
  border: 1px solid #dde5ed;
  border-radius: 6px;
  color: #1f2725;
  background: #fff;
  font-size: 14px;
}

.register-page .register-field select {
  appearance: auto;
}

.register-page .register-field input:focus,
.register-page .register-field select:focus {
  border-color: #3f77d1;
  box-shadow: 0 0 0 3px rgba(63, 119, 209, 0.12);
}

.register-page .register-field.invalid input,
.register-page .register-field.invalid select,
.register-page .gender-field.invalid {
  border-color: #c64a42;
}

.register-page .register-submit,
.register-page .success-login {
  min-height: 54px;
  margin-top: 20px;
  border-radius: 12px;
  color: #fff;
  background: #3f73ce;
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 600;
}

.register-page .register-submit:hover,
.register-page .success-login:hover {
  background: #3264b7;
}

.register-page .register-submit:disabled {
  opacity: 0.72;
  cursor: wait;
}

.register-page .register-login-link {
  display: block;
  width: max-content;
  margin: 26px auto 0;
  color: #29526f;
  font-size: 16px;
  text-decoration: none;
}

.register-page .register-subtitle {
  margin: 0 0 34px;
  color: #10184d;
  font-size: 15px;
  text-align: center;
}

.register-page .register-subtitle a {
  color: #10184d;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.register-eye {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  color: #376c99;
  background: transparent;
  cursor: pointer;
}

.register-page .success-card {
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 18px 50px rgba(83, 93, 130, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
  text-align: center;
}

.register-page .success-card h2 {
  margin: 0 0 18px;
  color: #073f32;
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 400;
}

.profile-page,
.register-page {
  background: #f0f2f8;
}

.profile-page .profile-main,
.register-page .profile-main {
  background:
    linear-gradient(135deg, rgba(92, 107, 192, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(38, 166, 154, 0.1), transparent 36%),
    #f0f2f8;
}

.profile-page .register-form-wrap,
.register-page .profile-main .register-form-wrap {
  width: min(100%, 780px);
  max-width: 100%;
  min-width: 0;
}

.profile-page .register-card,
.register-page .profile-main .register-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  gap: 18px;
}

.profile-page .register-card > h1,
.register-page .profile-main .register-card > h1 {
  margin: 0;
  color: #24305e;
  font-size: 28px;
  font-weight: 800;
}

.profile-page .register-subtitle,
.register-page .profile-main .register-subtitle {
  margin: -10px 0 6px;
  color: #69718b;
}

.profile-avatar {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  margin: 0 auto 2px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: #fff;
  background:
    linear-gradient(135deg, #5c6bc0, #26a69a);
  box-shadow:
    0 18px 34px rgba(72, 87, 156, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
  font-size: 29px;
  font-weight: 800;
  letter-spacing: 0;
}

.profile-glass-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 22px 22px 6px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow:
    0 18px 50px rgba(83, 93, 130, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
}

.profile-glass-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #293056;
  font-size: 16px;
  font-weight: 800;
  text-align: left;
}

.profile-glass-card h2::before {
  width: 10px;
  height: 10px;
  content: "";
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(92, 107, 192, 0.12);
}

.profile-personal h2,
.profile-personal .field-glyph {
  color: #5c6bc0 !important;
}

.profile-contact h2,
.profile-contact .field-glyph {
  color: #26a69a !important;
}

.profile-contact h2::before {
  box-shadow: 0 0 0 5px rgba(38, 166, 154, 0.13);
}

.profile-page .register-field,
.register-page .profile-main .register-field {
  margin-bottom: 16px;
}

.profile-page .register-field input,
.register-page .profile-main .register-field input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-color: rgba(173, 181, 206, 0.72);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.profile-page .register-field input[type="date"],
.register-page .profile-main .register-field input[type="date"] {
  appearance: auto;
  -webkit-appearance: auto;
  padding-right: 18px;
}

.profile-page .register-field.date-field input[type="date"],
.register-page .profile-main .register-field.date-field input[type="date"] {
  padding-top: 0;
}

.profile-field-title {
  margin: 2px 0 8px;
  color: #7d8898;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: left;
}

.profile-page .register-field input[type="date"]::-webkit-calendar-picker-indicator,
.register-page .profile-main .register-field input[type="date"]::-webkit-calendar-picker-indicator {
  margin: 0;
  opacity: 0.85;
}

.profile-page .register-field input:focus,
.register-page .profile-main .register-field input:focus {
  border-color: #5c6bc0;
  box-shadow:
    0 0 0 3px rgba(92, 107, 192, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.profile-contact .register-field input:focus {
  border-color: #26a69a;
  box-shadow:
    0 0 0 3px rgba(38, 166, 154, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.profile-page .register-submit,
.register-page .profile-main .register-submit {
  background: linear-gradient(135deg, #5c6bc0, #26a69a);
  box-shadow: 0 16px 30px rgba(66, 91, 164, 0.22);
}

.profile-page .register-submit:hover,
.register-page .profile-main .register-submit:hover {
  background: linear-gradient(135deg, #4f5eb1, #229488);
}

.site-footer {
  color: #f4f0e9;
  background: #191410f5;
}

.footer-grid {
  width: min(100%, 1040px);
  max-width: 1040px;
  min-width: 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 70px;
  margin: 0 auto;
  padding: 38px 56px 34px;
}

.footer-club {
  font-size: 28px;
  line-height: 1;
}

.site-footer h3 {
  margin: 18px 0 8px;
  font-family: var(--heading-font);
  font-size: 18px;
}

.site-footer p {
  margin: 0 0 10px;
  color: #f1ece5;
  font-size: 13px;
  line-height: 1.5;
}

.footer-links {
  margin-top: 42px !important;
}

.booking-page {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: visible;
  background: #f0f2f8;
}

.booking-page.app-shell-page {
  height: auto;
  min-height: 100vh;
}

.booking-page .booking-hero {
  width: 100%;
  max-width: 100%;
  min-height: 360px;
  place-items: center;
  background-image:
    linear-gradient(rgba(5, 21, 44, 0.34), rgba(5, 21, 44, 0.2)),
    url("../img/Tennis.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.booking-main {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding-top: 42px;
  padding-bottom: max(42px, env(safe-area-inset-bottom));
  overscroll-behavior-y: auto;
}

.booking-page .booking-main {
  min-height: auto;
  overflow: visible;
}

.booking-shell {
  width: min(100%, 1100px);
  max-width: 100%;
  min-width: 0;
  display: grid;
  gap: 18px;
}

.booking-stepper {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 112px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 22px 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow:
    0 18px 50px rgba(83, 93, 130, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
}

.booking-stepper span {
  position: relative;
  min-width: 0;
  min-height: 70px;
  display: grid;
  grid-template-rows: 42px auto;
  justify-items: center;
  align-items: center;
  gap: 8px;
  color: #69718b;
  font-family: var(--heading-font);
  text-align: center;
}

.booking-stepper span:not(:last-child)::after {
  position: absolute;
  top: 20px;
  left: calc(50% + 40px);
  right: calc(-50% + 40px);
  height: 1px;
  content: "";
  background: rgba(173, 181, 206, 0.58);
}

.booking-stepper i {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(173, 181, 206, 0.74);
  border-radius: 50%;
  color: #8b95a8;
  background: #f8fafc;
  font-family: var(--heading-font);
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
}

.booking-stepper b {
  display: block;
  max-width: 150px;
  color: #4f5a6d;
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
}

.booking-stepper span.done i {
  border-color: rgba(38, 166, 154, 0.8);
  color: #0f806e;
  background: rgba(38, 166, 154, 0.1);
}

.booking-stepper span.done b {
  color: #142130;
}

.booking-stepper span.active i {
  color: #fff;
  border-color: #142947;
  background: #142947;
  box-shadow: 0 10px 24px rgba(20, 41, 71, 0.22);
}

.booking-stepper span.active b {
  color: #142130;
  font-weight: 700;
}

.booking-stepper span.idle i {
  color: #a9b1bf;
  border-color: #d5dbe5;
  background: #f8fafc;
}

.booking-stepper span.idle b {
  color: #69718b;
}

.booking-panel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow:
    0 18px 50px rgba(83, 93, 130, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
}

.booking-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.booking-panel-head h2 {
  margin: 0;
  color: #24305e;
  font-size: 24px;
  font-weight: 800;
}

.booking-panel-head select,
.booking-back {
  min-height: 40px;
  border: 1px solid rgba(173, 181, 206, 0.86);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
}

.booking-panel-head select {
  min-width: 190px;
  padding: 0 12px;
  color: #293056;
}

.booking-panel-head select:disabled {
  color: #293056;
  opacity: 1;
  cursor: default;
  background:
    linear-gradient(rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.84)),
    rgba(255, 255, 255, 0.82);
}

.booking-rental-hold {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f05a28, #ef7b24);
  box-shadow: 0 12px 24px rgba(225, 96, 38, 0.22);
  white-space: nowrap;
}

.booking-rental-hold[hidden] {
  display: none;
}

.booking-rental-hold span {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.86;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.booking-rental-hold strong {
  min-width: 44px;
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.booking-back {
  min-width: 90px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(135deg, #24262d, #111318);
  border-color: rgba(17, 19, 24, 0.96);
  box-shadow: 0 12px 24px rgba(17, 19, 24, 0.18);
}

.booking-sport-back,
.booking-flow-back {
  min-width: 76px;
  padding: 0 12px;
  background: linear-gradient(135deg, #24262d, #111318);
}

.booking-back:hover {
  background: linear-gradient(135deg, #30333d, #171a22);
}

.booking-back:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.78),
    0 0 0 6px rgba(17, 19, 24, 0.26);
}

.booking-actions {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 12px;
  align-items: center;
}

.booking-date-strip {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  grid-auto-columns: minmax(84px, 1fr);
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.booking-date-button {
  min-height: 68px;
  display: grid;
  place-items: center;
  gap: 2px;
  border: 1px solid rgba(173, 181, 206, 0.72);
  border-radius: 12px;
  color: #35405d;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.booking-date-button strong {
  font-family: var(--heading-font);
  font-size: 18px;
}

.booking-date-button small {
  color: #69718b;
  font-size: 12px;
}

.booking-date-button.active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #5c6bc0, #26a69a);
}

.booking-date-button.active small {
  color: rgba(255, 255, 255, 0.84);
}

.booking-availability-info {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 42px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 8px 14px;
  border: 1px solid rgba(219, 230, 241, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #233047;
  font-size: 13px;
  box-shadow: 0 10px 22px rgba(83, 93, 130, 0.08);
}

.booking-info-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.booking-info-item:first-child {
  justify-self: end;
}

.booking-info-item:nth-child(2) {
  justify-self: start;
}

.booking-availability-info img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.booking-availability-info i,
.booking-unavailable-block {
  display: inline-block;
  border-radius: 4px;
  background: #d6d6d6;
}

.booking-availability-info i {
  width: 22px;
  height: 22px;
}

.booking-selection-alert {
  width: 108px;
  max-width: 108px;
  min-height: 34px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  justify-self: end;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f05a28, #ef7b24);
  box-shadow: 0 12px 24px rgba(225, 96, 38, 0.24);
  font-family: var(--heading-font);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.booking-selection-alert:hover {
  background: linear-gradient(135deg, #e84f20, #e96e1e);
}

.booking-selection-alert.is-empty {
  visibility: hidden;
  pointer-events: none;
}

.booking-selection-alert strong {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #f05a28;
  background: #fff;
  font-size: 13px;
}

.booking-selection-alert span {
  min-width: 34px;
  display: grid;
  line-height: 1.05;
  white-space: nowrap;
}

.booking-selection-alert small {
  display: block;
  margin-top: 2px;
  font-family: var(--body-font);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0;
  opacity: 0.82;
}

.booking-selection-alert small[hidden] {
  display: none;
}

.booking-grid-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
}

.slot-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  background: rgba(15, 23, 42, 0.12);
  transition: opacity 180ms ease;
}

.slot-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.slot-drawer-panel {
  width: min(82vw, 280px);
  height: 100%;
  padding: 18px 14px;
  transform: translateX(100%);
  color: #223047;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: -18px 0 38px rgba(31, 41, 55, 0.22);
  backdrop-filter: blur(16px);
  transition: transform 180ms ease;
}

.slot-drawer.is-open .slot-drawer-panel {
  transform: translateX(0);
}

.slot-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(173, 181, 206, 0.46);
}

.slot-drawer-head span,
.slot-drawer-head strong {
  display: block;
  font-family: var(--heading-font);
}

.slot-drawer-head span {
  color: #69718b;
  font-size: 12px;
}

.slot-drawer-head strong {
  color: #24305e;
  font-size: 18px;
}

.slot-drawer-close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #d8503f;
  cursor: pointer;
}

.slot-drawer-body {
  display: grid;
  gap: 10px;
  max-height: calc(100vh - 86px);
  overflow-y: auto;
  padding: 14px 2px 4px;
}

.slot-drawer-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 11px;
  border: 1px solid rgba(173, 181, 206, 0.46);
  border-radius: 12px;
  background: rgba(240, 242, 248, 0.82);
}

.slot-drawer-item > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #f05a28, #ef7b24);
  font-family: var(--heading-font);
  font-size: 12px;
  font-weight: 700;
}

.slot-drawer-item strong,
.slot-drawer-item small {
  display: block;
}

.slot-drawer-item strong {
  color: #24305e;
  font-family: var(--heading-font);
  font-size: 13px;
}

.slot-drawer-item small {
  color: #59637b;
  font-size: 12px;
}

.slot-drawer-empty {
  margin: 0;
  color: #69718b;
  font-size: 13px;
}

.booking-grid {
  width: max-content;
  min-width: 1650px;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, 0.52);
  border-radius: 12px;
  table-layout: fixed;
}

.booking-grid th,
.booking-grid td {
  width: 96px;
  min-width: 96px;
  max-width: 96px;
  height: 42px;
  text-align: center;
  border: 1px solid rgba(213, 222, 233, 0.72);
}

.booking-grid th {
  color: #59637b;
  background: rgba(255, 255, 255, 0.78);
  font-family: var(--heading-font);
  font-size: 12px;
  font-weight: 500;
}

.booking-grid th:first-child {
  position: sticky;
  left: 0;
  z-index: 6;
  width: 112px;
  min-width: 92px;
  max-width: 112px;
  color: #fff;
  background: #12336b;
  text-align: center;
  box-shadow: 8px 0 14px rgba(18, 51, 107, 0.12);
}

.booking-court-name {
  position: sticky;
  left: 0;
  z-index: 5;
  width: 112px;
  min-width: 112px;
  max-width: 112px;
  color: #fff;
  background: #12336b;
  font-weight: 700;
  text-align: center;
  box-shadow: 8px 0 14px rgba(83, 93, 130, 0.1);
  overflow: visible;
}

.booking-court-name__label {
  display: block;
}

.booking-court-price-tag {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #f05a28, #ef7b24);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  filter: drop-shadow(0 3px 6px rgba(225, 96, 38, 0.24));
  pointer-events: none;
}

.booking-empty-cell {
  height: 90px !important;
  color: #69718b;
  background: rgba(255, 255, 255, 0.76);
  font-weight: 600;
}

.booking-slot {
  width: calc(100% - 10px);
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  color: #38506a;
  background: transparent;
  cursor: pointer;
}

.booking-slot:hover {
  background: rgba(92, 107, 192, 0.1);
}

.booking-slot img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.booking-slot.selected {
  color: #fff;
  background: linear-gradient(135deg, #f05a28, #ef7b24);
  box-shadow: 0 10px 18px rgba(225, 96, 38, 0.24);
}

.booking-slot.selected:hover {
  background: linear-gradient(135deg, #e84f20, #e96e1e);
}

.booking-slot.unavailable {
  color: #9ba4b6;
  background: transparent;
  cursor: not-allowed;
}

.coach-schedule-shell {
  width: min(100%, 1320px);
  max-width: 100%;
  min-width: 0;
  margin-top: 34px;
  padding: 24px 22px 22px;
  border: 1px solid rgba(37, 103, 217, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(15, 42, 86, 0.12);
  gap: 18px;
}

.coach-schedule-page .schedule-main {
  padding-top: 46px;
  max-width: 100%;
  overflow-x: hidden;
}

.coach-schedule-hero {
  min-height: 340px;
}

.coach-schedule-hero .home-hero-copy {
  max-width: 560px;
}

.coach-schedule-hero .home-hero-subtitle {
  max-width: 460px;
}

.coach-schedule-head {
  align-items: end;
  gap: 18px;
  margin-bottom: 0;
}

.coach-schedule-heading {
  display: grid;
  gap: 4px;
}

.coach-schedule-summary {
  margin: 0;
  color: #5f6f8e;
  font-size: 14px;
  font-weight: 600;
}

.coach-schedule-sport-picker {
  margin-left: auto;
}

.coach-schedule-date-nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  min-width: 0;
}

.coach-schedule-date-strip {
  min-width: 0;
}

.coach-schedule-date-shift,
.coach-schedule-date-today {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(173, 181, 206, 0.72);
  border-radius: 999px;
  color: #26406d;
  background: rgba(255, 255, 255, 0.86);
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.coach-schedule-date-shift {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.coach-schedule-date-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
  margin-bottom: 6px;
}

.coach-schedule-date-today {
  min-height: 36px;
  padding: 0 14px;
}

.coach-schedule-info {
  grid-template-columns: 1fr auto auto;
}

.coach-schedule-note {
  justify-self: end;
  color: #59637b;
  font-size: 12px;
  white-space: nowrap;
}

.coach-schedule-grid {
  min-width: 1660px;
}

.coach-schedule-page .schedule-shell,
.coach-schedule-page .home-hero-shell,
.coach-schedule-page .home-hero-copy,
.coach-schedule-page .booking-grid-wrap {
  max-width: 100%;
  min-width: 0;
}

.coach-schedule-grid td {
  height: 54px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.84);
}

.coach-schedule-pill,
.coach-schedule-available {
  width: 100%;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  border-radius: 8px;
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.coach-schedule-pill {
  color: #fff;
}

.coach-schedule-pill--past {
  color: #7b8497;
  background: linear-gradient(135deg, #e5e7eb, #d5d9e2);
}

.coach-schedule-pill--unavailable {
  color: #7b8497;
  background: linear-gradient(135deg, #ebedf2, #d6dbe4);
}

.coach-schedule-pill--booked {
  background: linear-gradient(135deg, #173b7a, #2a5db0);
  box-shadow: 0 10px 18px rgba(23, 59, 122, 0.16);
}

.coach-schedule-available img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.booking-unavailable-block {
  width: 100%;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: linear-gradient(180deg, #d9d9d9, #d0d0d0);
}

.booking-unavailable-block b {
  color: #6f7787;
  font-family: var(--heading-font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.booking-selected-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
}

.booking-selected-slot img {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.24));
}

.booking-selected-slot b {
  font-family: var(--heading-font);
  font-size: 11px;
  font-weight: 500;
}

.booking-next {
  justify-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #5c6bc0, #26a69a);
  box-shadow: 0 16px 30px rgba(66, 91, 164, 0.22);
}

.booking-back span,
.booking-next span {
  line-height: 1;
}

.booking-next:hover {
  background: linear-gradient(135deg, #4f5eb1, #229488);
}

.booking-next:disabled {
  cursor: not-allowed;
}

.booking-summary-strip {
  min-height: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #293056;
  background: rgba(92, 107, 192, 0.1);
}

.booking-summary-strip span {
  font-weight: 700;
}

.booking-review-card {
  padding-bottom: 22px;
}

.booking-rental-list {
  display: grid;
  gap: 14px;
}

.booking-rental-slot {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(173, 181, 206, 0.48);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 255, 0.78));
  box-shadow: 0 20px 44px rgba(23, 42, 79, 0.08);
  border-bottom: 1px solid rgba(173, 181, 206, 0.42);
}

.booking-rental-slot:first-child {
  padding-top: 18px;
}

.booking-rental-slot:last-child {
  padding-bottom: 18px;
}

.booking-rental-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.booking-rental-slot-pill {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #40c9bf, #1ea78e);
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(38, 166, 154, 0.24);
}

.booking-rental-fields {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(300px, 1.2fr);
  gap: 18px;
  margin-bottom: 16px;
  padding: 0;
}

.booking-rental-fields--meta {
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  margin-bottom: 16px;
}

.booking-rental-field {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-width: 0;
  min-height: 104px;
  padding: 16px 18px;
  border-radius: 20px;
  overflow: hidden;
}

.booking-rental-row {
  display: grid;
  gap: 6px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(173, 181, 206, 0.32);
}

.booking-rental-field span,
.booking-rental-row span {
  color: #69718b;
  font-family: var(--label-font);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: uppercase;
}

.booking-rental-field strong,
.booking-rental-row strong {
  color: #142130;
  font-size: 16px;
}

.booking-rental-field-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.booking-rental-field-copy span {
  font-size: 12px;
  letter-spacing: 0.08em;
}

.booking-rental-field-copy strong {
  font-family: var(--heading-font);
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.08;
}

.booking-rental-field-copy small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.booking-rental-field-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #129d97;
  background: linear-gradient(180deg, rgba(31, 179, 170, 0.14), rgba(31, 179, 170, 0.22));
}

.booking-rental-field-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.booking-rental-time-card {
  border: 1px solid rgba(222, 228, 239, 0.9);
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 10px 28px rgba(34, 60, 108, 0.08);
}

.booking-rental-date-card {
  border: 1px solid rgba(222, 228, 239, 0.9);
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 10px 28px rgba(34, 60, 108, 0.08);
}

.booking-rental-court-card {
  flex: 1 1 auto;
  grid-template-columns: auto minmax(0, 1fr);
  border: 1px solid rgba(23, 39, 82, 0.28);
  color: #fff;
  background: linear-gradient(135deg, #223767 0%, #13204a 58%, #15285c 100%);
  box-shadow: 0 18px 36px rgba(16, 27, 60, 0.22);
  max-width: 920px;
}

.booking-rental-court-card::after {
  content: "";
  position: absolute;
  right: -44px;
  top: 18px;
  width: 148px;
  height: 148px;
  border: 4px solid rgba(63, 191, 184, 0.28);
  border-radius: 50%;
  opacity: 0.9;
}

.booking-rental-court-card::before {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -38px;
  width: 104px;
  height: 104px;
  border: 4px solid rgba(63, 191, 184, 0.18);
  border-radius: 50%;
}

.booking-rental-court-card .booking-rental-field-copy span,
.booking-rental-court-card .booking-rental-field-copy strong {
  color: #fff;
}

.booking-rental-court-card .booking-rental-field-copy span {
  color: #44d0c1;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.booking-rental-court-card .booking-rental-field-copy strong {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.booking-rental-court-card .booking-rental-field-copy small {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1.1;
}

.booking-rental-court-mark {
  position: relative;
  z-index: 1;
  min-width: 78px;
  display: grid;
  place-items: center;
  align-self: stretch;
  padding-right: 14px;
}

.booking-rental-court-mark::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 74%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.34);
}

.booking-rental-court-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(180deg, #2ec7ba, #199881);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 14px 28px rgba(0, 0, 0, 0.18);
}

.booking-rental-court-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.booking-rental-court-card .booking-rental-field-copy {
  position: relative;
  z-index: 1;
  padding-left: 16px;
  gap: 6px;
}

.booking-time-value {
  font-family: Consolas, "Courier New", monospace;
  letter-spacing: 0;
}

.booking-rental-row select {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(188, 200, 230, 0.92);
  border-radius: 16px;
  color: #293056;
  background: #fff;
  font-size: 18px;
}

.booking-rental-row select:disabled {
  color: #738098;
  background: #f2f4f8;
  cursor: not-allowed;
  opacity: 1;
}

.booking-tennis-option {
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.booking-tennis-option span {
  text-align: right;
}

.booking-rental-field span {
  font-size: 12px;
}

.booking-rental-divider {
  display: none;
}

.booking-choice {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid rgba(173, 181, 206, 0.72);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  text-transform: none;
}

.booking-choice input {
  width: 18px;
  height: 18px;
  accent-color: #5c6bc0;
}

.booking-choice strong,
.booking-choice small {
  display: block;
}

.booking-choice strong {
  color: #24305e;
  font-family: var(--heading-font);
  font-size: 15px;
}

.booking-choice small {
  margin-top: 3px;
  color: #69718b;
  font-size: 13px;
}

.booking-choice b {
  color: #26a69a;
  font-size: 16px;
}

.booking-review-layout {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.booking-review-sport {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #142130;
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 600;
}

.booking-review-sport::before {
  width: 10px;
  height: 10px;
  content: "";
  border-radius: 50%;
  background: #26a69a;
}

.booking-review-header {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 144px 72px;
  gap: 12px;
  padding: 0 18px;
  color: #2f3440;
  font-family: var(--label-font);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-review-header span:nth-child(2),
.booking-review-header span:nth-child(3) {
  text-align: right;
}

.booking-review-list {
  display: grid;
  gap: 12px;
}

.booking-review-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 144px 72px;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(173, 181, 206, 0.54);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
}

.booking-review-detail {
  display: grid;
  gap: 5px;
}

.booking-review-option-block {
  grid-column: 1 / 3;
}

.booking-review-court-breakdown {
  margin-top: 14px;
  padding-top: 14px;
}

.booking-review-court-breakdown .booking-review-option-row {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(173, 181, 206, 0.24);
}

.booking-review-detail > strong {
  color: #142130;
  font-size: 18px;
}

.booking-review-line {
  color: #293056;
  font-size: 14px;
}

.booking-review-option {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(173, 181, 206, 0.34);
  color: #293056;
  font-size: 14px;
}

.booking-review-option b {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #0c6b58;
  background: rgba(38, 166, 154, 0.13);
  font-size: 12px;
}

.booking-review-option-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 144px;
  gap: 12px;
  align-items: center;
}

.booking-review-option-label {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.booking-review-option-price {
  text-align: right;
  white-space: nowrap;
  color: #142130;
  font-weight: 600;
}

.booking-review-option svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.booking-review-price {
  display: grid;
  align-content: start;
  justify-items: end;
  text-align: right;
  color: #142130;
}

.booking-review-price strong {
  white-space: nowrap;
  font-size: 26px;
  font-weight: 500;
}

.booking-review-price span {
  font-size: 13px;
}

.booking-review-actions {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 8px;
}

.booking-review-actions button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(173, 181, 206, 0.72);
  border-radius: 8px;
  color: #5c6bc0;
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
}

.booking-review-actions .booking-review-delete {
  border-color: rgba(211, 72, 72, 0.36);
  color: #d34848;
}

.booking-review-delete svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.booking-total {
  min-width: 0;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #f05a28, #ef7b24);
  box-shadow: 0 14px 30px rgba(225, 96, 38, 0.22);
}

.booking-total span {
  display: grid;
  gap: 4px;
}

.booking-total span b {
  font-weight: 500;
}

.booking-total strong {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 32px;
  font-weight: 500;
}

.booking-review-option-price {
  white-space: nowrap;
}

.booking-dialog {
  width: min(100% - 28px, 360px);
  padding: 0;
  border: 0;
  background: transparent;
}

.booking-dialog::backdrop {
  background: rgba(15, 23, 42, 0.48);
}

.booking-dialog-card {
  padding: 30px 24px 24px;
}

.booking-dialog-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.booking-dialog-actions .primary-button {
  width: auto;
  min-width: 108px;
  min-height: 36px;
  padding: 0 14px;
}

.booking-payment-dialog {
  width: min(100% - 24px, 420px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
}

.booking-payment-dialog::backdrop {
  background: rgba(15, 23, 42, 0.54);
}

.booking-payment-screen {
  min-height: 620px;
  background:
    radial-gradient(circle at top right, rgba(94, 138, 255, 0.2), transparent 32%),
    linear-gradient(180deg, #eaf5ff 0%, #d8ecff 100%);
}

.booking-payment-head {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: #fff;
  background: #0f2650;
}

.booking-payment-head span {
  font-size: 15px;
  font-weight: 700;
}

.booking-payment-close {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.booking-payment-close svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.booking-payment-body {
  padding: 22px 22px 18px;
}

.booking-payment-card {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 18px 16px 16px;
  border-radius: 18px;
  background:
    radial-gradient(circle at center, rgba(98, 145, 247, 0.12) 1px, transparent 1.5px) 0 0 / 16px 16px,
    rgba(255, 255, 255, 0.52);
}

.booking-payment-dialog.is-kbank-ui .booking-payment-screen {
  min-height: auto;
}

.booking-payment-dialog.is-kbank-ui .booking-payment-card {
  min-height: 430px;
  justify-content: center;
  padding-top: 26px;
  padding-bottom: 26px;
}

.booking-payment-dialog.is-kbank-ui .booking-payment-label {
  margin-top: 12px;
}

.booking-payment-qr-wrap {
  position: relative;
  width: min(100%, 260px);
  min-height: 116px;
  display: grid;
  place-items: center;
  margin-top: 12px;
}

.booking-payment-qr {
  width: 132px;
  height: 132px;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(15, 38, 80, 0.12);
}

.booking-payment-kbank-host {
  width: 100%;
  min-height: 104px;
  display: grid;
  place-items: center;
  gap: 8px;
}

.pay-button[_kpayment] {
  position: fixed !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

.booking-kbank-pay-now {
  width: min(100%, 240px);
  min-height: 54px;
  border: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.34), transparent 32%),
    linear-gradient(135deg, #2f7df4, #2731c6);
  color: #ffffff;
  font: 700 1rem var(--label-font);
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(42, 71, 210, 0.28);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.booking-kbank-pay-now:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(42, 71, 210, 0.34);
}

.booking-kbank-pay-now:disabled {
  cursor: wait;
  opacity: 0.55;
  box-shadow: none;
}

.booking-kbank-status {
  max-width: 220px;
  color: #76829a;
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: center;
}

.booking-payment-timeout {
  position: absolute;
  inset: 10px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #233257;
  font-size: 20px;
  font-weight: 800;
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.74);
}

.booking-payment-label {
  margin: 16px 0 0;
  color: #152b55;
  font-size: 15px;
  font-weight: 700;
}

.booking-payment-merchant,
.booking-payment-ref {
  margin: 8px 0 0;
  color: #607293;
  font-size: 12px;
}

.booking-payment-amount {
  margin: 14px 0 0;
  color: #0f2650;
  font-size: 28px;
  font-weight: 800;
  white-space: nowrap;
}

.booking-payment-timer {
  margin: 10px 0 18px;
  color: #f05a28;
  font-size: 15px;
  font-weight: 800;
}

.booking-payment-save,
.booking-payment-paid,
.booking-payment-home {
  width: 100%;
  max-width: 288px;
  min-height: 42px;
  margin-top: 12px;
}

.booking-payment-save {
  border-color: rgba(42, 61, 118, 0.22);
  color: #1e356b;
  background: rgba(255, 255, 255, 0.92);
}

.booking-payment-save-note {
  margin: 10px 0 0;
  color: #6a7b9c;
  font-size: 12px;
  line-height: 1.4;
}

.booking-payment-dialog.is-timeout .booking-payment-paid {
  opacity: 0.58;
  cursor: not-allowed;
}

.booking-payment-exit-dialog .policy-note {
  text-align: center;
}

.booking-payment-preview-dialog {
  width: min(100% - 18px, 420px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
}

.booking-payment-preview-dialog::backdrop {
  background: rgba(15, 23, 42, 0.64);
}

.booking-payment-preview-screen {
  background: linear-gradient(180deg, #ecf6ff 0%, #d8ecff 100%);
}

.booking-payment-preview-head {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: #fff;
  background: #0f2650;
}

.booking-payment-preview-body {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 24px 18px 22px;
  text-align: center;
}

.booking-payment-preview-image {
  width: min(100%, 320px);
  height: auto;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 30px rgba(15, 38, 80, 0.16);
  -webkit-user-select: auto;
  user-select: auto;
  -webkit-touch-callout: default;
  touch-action: auto;
  pointer-events: auto;
}

.booking-payment-preview-body p {
  margin: 0;
  color: #5f7292;
  font-size: 14px;
  line-height: 1.45;
}

.booking-payment-success-card {
  padding: 26px 20px 20px;
}

.booking-payment-success-summary {
  margin-top: 14px;
  padding: 16px;
  border-radius: 16px;
  text-align: left;
  color: #152b55;
  background: rgba(238, 245, 255, 0.92);
}

.booking-payment-success-top {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.booking-payment-success-top strong {
  font-size: 22px;
  font-weight: 800;
}

.booking-payment-success-top span {
  color: #6a7b9c;
  font-size: 12px;
}

.booking-payment-success-list {
  display: grid;
  gap: 10px;
}

.booking-payment-success-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(21, 43, 85, 0.08);
}

.booking-payment-success-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.booking-payment-success-row div {
  display: grid;
  gap: 2px;
}

.booking-payment-success-row strong,
.booking-payment-success-row b {
  white-space: nowrap;
}

.booking-payment-success-row div span {
  color: #6a7b9c;
  font-size: 12px;
}

.booking-payment-success-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(21, 43, 85, 0.08);
}

.booking-payment-success-total strong {
  white-space: nowrap;
  font-size: 22px;
  font-weight: 800;
}

.booking-payment-success-actions {
  margin-top: 16px;
}

.schedule-main {
  padding: 0 24px 72px;
}

.schedule-shell {
  width: min(100%, 980px);
  margin: -34px auto 0;
  position: relative;
  z-index: 2;
}

.schedule-toolbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding: 16px 20px;
  border: 1px solid rgba(37, 103, 217, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(15, 42, 86, 0.1);
  backdrop-filter: blur(18px);
}

.schedule-toolbar div {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #6a7894;
}

.schedule-toolbar strong {
  color: #0d2041;
  font-size: 28px;
  font-weight: 800;
}

.schedule-new-booking {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #2e7df4, #2538c8);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(42, 90, 210, 0.22);
  cursor: pointer;
}

.schedule-sport-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: -6px 0 24px;
  padding: 18px;
  border: 1px solid rgba(37, 103, 217, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(15, 42, 86, 0.08);
}

.schedule-sport-picker[hidden] {
  display: none;
}

.schedule-sport-choice {
  position: relative;
  min-height: 132px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 18px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(15, 42, 86, 0.12);
}

.schedule-sport-choice > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.18s ease;
}

.schedule-sport-choice::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 42, 0.08), rgba(8, 20, 42, 0.68));
}

.schedule-sport-choice:hover > img {
  transform: scale(1.04);
}

.schedule-sport-choice span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  font-weight: 800;
}

.schedule-sport-choice span img {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 12px;
  background: #2e70ee;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.schedule-sport-choice--green span img,
.schedule-sport-choice--lime span img {
  background: #28a94f;
}

.schedule-sport-choice--orange span img {
  background: #ff6a1f;
}

.schedule-sport-choice--red span img {
  background: #f04444;
}

.schedule-sport-choice--violet span img {
  background: #6557dc;
}

.schedule-sport-choice--navy span img {
  background: #174fa9;
}

.schedule-list {
  display: grid;
  gap: 16px;
}

.schedule-card {
  position: relative;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 28px;
  min-height: 224px;
  padding: 30px 32px 28px;
  border: 1px solid rgba(32, 98, 220, 0.16);
  border-left: 3px solid #2d72ee;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 16%, rgba(255, 255, 255, 0.96), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.94));
  box-shadow: 0 16px 36px rgba(15, 42, 86, 0.11);
}

.schedule-card--orange {
  border-left-color: #ff6a1f;
}

.schedule-card--green {
  border-left-color: #2cad63;
}

.schedule-media {
  position: relative;
  align-self: center;
}

.schedule-media > img {
  width: 100%;
  height: 176px;
  display: block;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(14, 37, 74, 0.18);
}

.schedule-sport-icon {
  position: absolute;
  left: -4px;
  top: -12px;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 18px;
  background: linear-gradient(135deg, #3f83ff, #1f57db);
  box-shadow: 0 12px 24px rgba(35, 91, 218, 0.24);
}

.schedule-card--orange .schedule-sport-icon {
  background: linear-gradient(135deg, #ff8d32, #ff5b1e);
}

.schedule-card--green .schedule-sport-icon {
  background: linear-gradient(135deg, #35bf6d, #159447);
}

.schedule-sport-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.schedule-card-eyebrow {
  position: absolute;
  left: 70px;
  top: 12px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 22px;
  border-radius: 999px;
  color: #8a5d00;
  background: #fff5d6;
  font-weight: 600;
}

.schedule-content {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 12px;
}

.schedule-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.schedule-title-row h2 {
  margin: 0;
  color: #0c1c39;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
}

.schedule-title-row p {
  margin: 4px 0 0;
  color: #2864e8;
  font-size: 19px;
  font-weight: 600;
}

.schedule-booking-ref {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  color: #445576;
  background: rgba(232, 239, 251, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.schedule-card--orange .schedule-title-row p,
.schedule-card--completed .schedule-card-footer strong {
  color: #ff5f1f;
}

.schedule-card--green .schedule-title-row p,
.schedule-card--pending .schedule-card-footer strong {
  color: #17964a;
}

.schedule-status-pill {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border-radius: 15px;
  color: #168a42;
  background: #dcf7df;
  border: 1px solid #beecc6;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.schedule-card--completed .schedule-status-pill {
  color: #dc7a00;
  background: #fff2cd;
  border-color: #ffe2a1;
}

.schedule-card--pending .schedule-status-pill,
.schedule-card--unpaid .schedule-status-pill {
  color: #ff2538;
  background: #ffe1e3;
  border-color: #ffc9cd;
}

.schedule-status-pill > span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid currentColor;
  font-size: 14px;
}

.schedule-meta {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 14px;
}

.schedule-meta-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #2366e6;
  background: #eaf2ff;
}

.schedule-card--orange .schedule-meta-icon {
  color: #ff5f1f;
  background: #fff0e8;
}

.schedule-card--green .schedule-meta-icon {
  color: #159447;
  background: #e9f8ee;
}

.schedule-meta-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.schedule-meta strong {
  display: block;
  color: #101c38;
  font-size: 19px;
}

.schedule-meta small {
  display: block;
  margin-top: 4px;
  color: #3c4b6b;
  font-size: 13px;
}

.schedule-countdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 97, 110, 0.22);
  border-radius: 16px;
  color: #9b1220;
  background: linear-gradient(135deg, rgba(255, 234, 236, 0.96), rgba(255, 244, 226, 0.92));
}

.schedule-countdown span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.schedule-countdown strong {
  color: #cf2034;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.schedule-countdown.is-expired {
  color: #6d2d00;
  border-color: rgba(255, 153, 0, 0.22);
  background: linear-gradient(135deg, rgba(255, 247, 221, 0.97), rgba(255, 238, 208, 0.94));
}

.schedule-countdown.is-expired strong {
  color: #b35a00;
}

.schedule-optional {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(13, 39, 82, 0.14);
}

.schedule-optional > b {
  display: block;
  margin-bottom: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  color: #0e7b68;
  background: linear-gradient(90deg, rgba(211, 244, 238, 0.95), rgba(234, 252, 248, 0.55));
  font-size: 12px;
  font-weight: 700;
}

.schedule-optional-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 4px;
  color: #182845;
  font-size: 13px;
}

.schedule-optional-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.schedule-optional-row svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.schedule-optional-row strong {
  color: #102342;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.schedule-card-footer {
  display: grid;
  grid-template-columns: 1fr 160px 190px;
  align-items: end;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(25, 47, 88, 0.14);
}

.schedule-card-footer span {
  display: block;
  margin-bottom: 6px;
  color: #4b5a7a;
  font-size: 14px;
}

.schedule-card-footer strong {
  color: #2564e8;
  font-size: 30px;
  font-weight: 800;
  white-space: nowrap;
}

.schedule-secondary,
.schedule-primary {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.schedule-secondary {
  border: 1px solid rgba(25, 47, 88, 0.18);
  color: #101c38;
  background: rgba(255, 255, 255, 0.8);
}

.schedule-secondary:disabled {
  cursor: not-allowed;
  color: #8a96ad;
  background: rgba(245, 247, 251, 0.72);
  border-color: rgba(25, 47, 88, 0.1);
  box-shadow: none;
  opacity: 0.58;
}

.schedule-primary {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #2e7df4, #2538c8);
  box-shadow: 0 14px 28px rgba(42, 90, 210, 0.22);
}

.schedule-card--completed .schedule-primary {
  background: linear-gradient(135deg, #ff822e, #ff5b1e);
  box-shadow: 0 14px 28px rgba(255, 95, 31, 0.22);
}

.schedule-card--pending .schedule-primary,
.schedule-card--unpaid .schedule-primary {
  background: linear-gradient(135deg, #28b45e, #138d43);
  box-shadow: 0 14px 28px rgba(25, 151, 72, 0.22);
}

.schedule-primary svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.schedule-note-card {
  min-height: 118px;
  display: grid;
  grid-template-columns: 76px 1fr 210px;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
  padding: 20px 32px;
  border: 1px solid rgba(37, 103, 217, 0.1);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #eaf4ff, #f6fbff);
  box-shadow: 0 18px 34px rgba(15, 42, 86, 0.08);
}

.schedule-note-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #2b70ed;
  background: #dcecff;
}

.schedule-note-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.schedule-note-card strong {
  color: #0c1c39;
  font-size: 20px;
}

.schedule-note-card p {
  margin: 6px 0 0;
  color: #3e4e70;
}

.schedule-note-card img {
  width: 210px;
  height: 86px;
  object-fit: cover;
  border-radius: 20px;
  opacity: 0.9;
}

.schedule-empty-card {
  min-height: 180px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 34px;
  border-radius: 24px;
  color: #51607c;
  text-align: center;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 40px rgba(15, 42, 86, 0.08);
}

.court-refund-page {
  background: #f4f7fb;
}

.court-refund-main {
  min-height: 100vh;
  padding: 14px 22px 46px;
  color: #14213d;
}

.court-refund-shell {
  width: min(100%, 1420px);
  margin: 0 auto;
}

.court-refund-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.court-refund-titlebar p {
  margin: 0 0 4px;
  color: #f05a28;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.court-refund-titlebar h1 {
  margin: 0;
  color: #0d1f3f;
  font-size: 30px;
  font-weight: 800;
}

.court-refund-export,
.court-refund-search-button,
.court-refund-clear-button,
.court-refund-view {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.court-refund-export {
  padding: 0 18px;
  border: 1px solid #d9e2ef;
  color: #24324d;
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 34, 66, 0.06);
}

.court-refund-export svg,
.court-refund-search-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.court-refund-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.court-refund-stat {
  min-height: 128px;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid #e0e7f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 15px 34px rgba(20, 33, 61, 0.08);
}

.court-refund-stat > span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.court-refund-stat svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.court-refund-stat small {
  display: block;
  margin-bottom: 8px;
  color: #5f6f8b;
  font-size: 13px;
  font-weight: 800;
}

.court-refund-stat strong {
  color: #102445;
  font-size: 28px;
  font-weight: 800;
}

.court-refund-stat--orange > span {
  color: #f05a28;
  background: #fff0e7;
}

.court-refund-stat--amber > span {
  color: #f59e0b;
  background: #fff5d8;
}

.court-refund-stat--green > span {
  color: #16a35a;
  background: #eaffed;
}

.court-refund-stat--blue > span {
  color: #2563eb;
  background: #eaf2ff;
}

.court-refund-filters {
  position: sticky;
  top: calc(var(--site-header-height) + 8px);
  z-index: 8;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  gap: 16px 22px;
  margin-bottom: 20px;
  padding: 24px;
  border: 1px solid #e0e7f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 33, 61, 0.06);
  transition: grid-template-columns 180ms ease, gap 180ms ease, padding 180ms ease, box-shadow 180ms ease;
}

.court-refund-filters label {
  display: grid;
  gap: 8px;
  color: #32415e;
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
  transition: opacity 160ms ease;
}

.court-refund-filters input,
.court-refund-filters select {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #d8e1ee;
  border-radius: 8px;
  color: #24324d;
  background: #fff;
  font-size: 14px;
  outline: 0;
}

.court-refund-filters input:focus,
.court-refund-filters select:focus {
  border-color: #f05a28;
  box-shadow: 0 0 0 3px rgba(240, 90, 40, 0.12);
}

.court-refund-filter-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 12px;
}

.court-refund-page.search-layout-collapsed .court-refund-filters {
  grid-template-columns: minmax(220px, 1.25fr) minmax(140px, 0.75fr) minmax(140px, 0.75fr) minmax(150px, 0.8fr) minmax(190px, 0.8fr);
  gap: 10px;
  padding: 10px 12px;
  box-shadow: 0 18px 38px rgba(20, 33, 61, 0.13);
}

.court-refund-page.search-layout-collapsed .court-refund-filters label {
  gap: 0;
}

.court-refund-page.search-layout-collapsed .court-refund-filters label > span {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.court-refund-page.search-layout-collapsed .court-refund-filters label:nth-of-type(5),
.court-refund-page.search-layout-collapsed .court-refund-filters label:nth-of-type(6),
.court-refund-page.search-layout-collapsed .court-refund-filters label:nth-of-type(7) {
  display: none;
}

.court-refund-page.search-layout-collapsed .court-refund-filters input,
.court-refund-page.search-layout-collapsed .court-refund-filters select,
.court-refund-page.search-layout-collapsed .court-refund-search-button,
.court-refund-page.search-layout-collapsed .court-refund-clear-button {
  min-height: 38px;
}

.court-refund-page.search-layout-collapsed .court-refund-filter-actions {
  grid-template-columns: 1fr 0.85fr;
  gap: 8px;
}

.court-refund-search-button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #f05a28, #ff7b18);
}

.court-refund-clear-button {
  border: 1px solid #d8e1ee;
  color: #32415e;
  background: #fff;
}

.court-refund-table-panel {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e0e7f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(20, 33, 61, 0.07);
}

.court-refund-table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 8px;
}

.court-refund-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  color: #24324d;
  font-size: 13px;
}

.court-refund-table th,
.court-refund-table td {
  padding: 15px 12px;
  border-bottom: 1px solid #edf1f7;
  text-align: left;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.court-refund-table th {
  color: #24324d;
  background: #fbfcff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  white-space: normal;
}

.court-refund-table th:nth-child(1),
.court-refund-table td:nth-child(1) {
  width: 9%;
}

.court-refund-table th:nth-child(2),
.court-refund-table td:nth-child(2) {
  width: 10%;
}

.court-refund-table th:nth-child(3),
.court-refund-table td:nth-child(3),
.court-refund-table th:nth-child(4),
.court-refund-table td:nth-child(4),
.court-refund-table th:nth-child(5),
.court-refund-table td:nth-child(5) {
  width: 8%;
}

.court-refund-table th:nth-child(6),
.court-refund-table td:nth-child(6) {
  width: 16%;
}

.court-refund-table th:nth-child(7),
.court-refund-table td:nth-child(7),
.court-refund-table th:nth-child(8),
.court-refund-table td:nth-child(8) {
  width: 9%;
}

.court-refund-table th:nth-child(9),
.court-refund-table td:nth-child(9) {
  width: 12%;
  text-align: center;
}

.court-refund-table th:nth-child(10),
.court-refund-table td:nth-child(10) {
  width: 13%;
  text-align: center;
}

.court-refund-table tbody tr:hover {
  background: #fff8f4;
}

.court-refund-table td > strong,
.court-refund-table td > span {
  display: block;
  max-width: 100%;
}

.court-refund-table td > strong {
  color: #162746;
  font-weight: 800;
}

.court-refund-table td > span {
  margin-top: 4px;
  color: #5f6f8b;
  font-size: 12px;
}

.court-refund-ref {
  max-width: 100%;
  border: 0;
  color: #2563eb;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.court-refund-status {
  display: inline-flex !important;
  width: auto;
  min-width: 126px;
  max-width: 100%;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}

.court-refund-table td > .court-refund-status--pending,
.court-refund-status--pending {
  color: #d97706;
  background: #fff3d8;
}

.court-refund-table td > .court-refund-status--approved,
.court-refund-status--approved {
  color: #15803d;
  background: #e9f8ef;
}

.court-refund-table td > .court-refund-status--refunded,
.court-refund-status--refunded {
  color: #16a34a;
  background: #e8f8ee;
}

.court-refund-table td > .court-refund-status--rejected,
.court-refund-status--rejected {
  color: #dc2626;
  background: #ffe9ec;
}

.court-refund-table td > .court-refund-status--cancelled,
.court-refund-status--cancelled {
  color: #dc2626;
  background: #ffe9ec;
}

.court-refund-actions {
  width: 100%;
  max-width: 132px;
  display: grid;
  grid-template-columns: minmax(56px, 1fr) 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
}

.court-refund-view,
.court-refund-upload {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid #d8e1ee;
  color: #24324d;
  background: #fff;
  font-size: 12px;
}

.court-refund-view {
  width: 100%;
  border-radius: 10px;
}

.court-refund-upload {
  width: 40px;
  min-width: 40px;
  height: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #1d4ed8;
  background: #f8fbff;
  cursor: pointer;
}

.court-refund-upload:hover,
.court-refund-upload.has-slip {
  border-color: #93c5fd;
  background: #eff6ff;
}

.court-refund-upload:disabled {
  width: 40px;
  cursor: wait;
  color: #64748b;
}

.court-refund-upload svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.court-refund-empty {
  height: 120px;
  color: #63728d;
  text-align: center !important;
}

.court-refund-table tfoot td {
  padding: 14px 18px 18px;
  border-bottom: 0;
  background: #fbfcff;
  text-align: center;
}

.court-refund-load-more {
  width: auto;
  min-width: 172px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.court-refund-load-more:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.3);
}

.court-refund-load-more:active {
  transform: translateY(0);
}

.court-refund-load-more:disabled {
  cursor: wait;
  opacity: 0.7;
}

.court-refund-load-more svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.court-refund-detail-dialog {
  width: min(100% - 28px, 520px);
  padding: 0;
  border: 0;
  background: transparent;
}

.court-refund-detail-dialog::backdrop {
  background: rgba(15, 23, 42, 0.48);
}

.court-refund-detail-card {
  position: relative;
  padding: 26px 28px 28px;
  border: 1px solid #e0e7f2;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 24px 60px rgba(12, 23, 44, 0.26);
}

.court-refund-detail-card h2 {
  margin: 0 0 20px;
  color: #102445;
  font-size: 24px;
  line-height: 1.15;
}

.court-refund-detail-card .modal-close {
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #64748b;
  font-size: 24px;
  line-height: 1;
}

.court-refund-detail-card .modal-close:hover {
  color: #0f172a;
  background: #eef4fb;
}

.court-refund-detail-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.court-refund-detail-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 48px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f7;
}

.court-refund-detail-list dt {
  color: #63728d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.court-refund-detail-list dd {
  margin: 0;
  color: #162746;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  min-width: 0;
}

.court-refund-detail-list dd span {
  display: block;
  margin-top: 4px;
  color: #63728d;
  font-size: 12px;
  font-weight: 600;
}

.court-refund-status-editor {
  width: min(100%, 260px);
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  margin-top: 0 !important;
  padding: 4px;
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  background: #f8fafc;
}

.court-refund-status-editor select {
  min-height: 40px;
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.court-refund-status-editor select {
  width: 100%;
  min-width: 0;
  padding: 0 12px;
  border: 0;
  color: #14213d;
  background: #fff;
  box-shadow: inset 0 0 0 1px #d8e1ee;
  outline: 0;
}

.court-refund-status-editor select:focus {
  box-shadow: inset 0 0 0 2px #93c5fd;
}

.court-refund-detail-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 18px;
}

.court-refund-detail-actions button {
  min-width: 112px;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.court-refund-detail-actions button:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.court-refund-detail-actions button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.history-main {
  margin-top: -34px;
}

.history-shell {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 0 0 32px;
}

.history-tabs {
  width: 100%;
  min-height: 76px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 14px;
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
  padding: 14px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(15, 42, 86, 0.12);
}

.history-tab {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  color: #102445;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.history-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, #28c76f, #159947);
}

.history-tab[data-history-status="cancelled"].is-active {
  background: linear-gradient(135deg, #ff9a34, #f05a28);
}

.history-tab[data-history-status="refunded"].is-active {
  background: linear-gradient(135deg, #4da3ff, #2563eb);
}

.history-list {
  width: 100%;
  display: grid;
  gap: 14px;
  margin: 0 auto;
}

.history-card {
  position: relative;
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 138px;
  padding: 18px 18px 18px 22px;
  border: 1px solid rgba(214, 225, 240, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 30px rgba(15, 42, 86, 0.09);
}

.history-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 16px 0 0 16px;
  background: #16a56a;
}

.history-card--cancelled::before {
  background: #f97316;
}

.history-card--refunded::before {
  background: #2f7df4;
}

.history-card-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dcfbea;
}

.history-card--cancelled .history-card-icon {
  background: #fff2df;
}

.history-card--refunded .history-card-icon {
  background: #eaf2ff;
}

.history-card-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: invert(47%) sepia(75%) saturate(510%) hue-rotate(98deg) brightness(86%) contrast(88%);
}

.history-card--cancelled .history-card-icon img {
  filter: invert(54%) sepia(83%) saturate(1788%) hue-rotate(349deg) brightness(101%) contrast(95%);
}

.history-card--refunded .history-card-icon img {
  filter: invert(42%) sepia(86%) saturate(1609%) hue-rotate(203deg) brightness(97%) contrast(92%);
}

.history-card-body {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 14px;
}

.history-card h2 {
  margin: 0;
  color: #102445;
  font-size: 20px;
  font-weight: 800;
}

.history-card p {
  margin: 2px 0;
  color: #0e854f;
  font-size: 13px;
  font-weight: 700;
}

.history-booking-ref {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  color: #445576;
  background: rgba(232, 239, 251, 0.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.history-card small {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
}

.history-card small span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.history-card small svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.history-card-body > strong {
  color: #102445;
  white-space: nowrap;
  font-size: 20px;
  align-self: end;
}

.history-status-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  justify-self: end;
  min-width: 88px;
  padding: 6px 11px;
  border-radius: 999px;
  color: #20a35b;
  background: #eaffed;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
}

.history-status-pill i {
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-style: normal;
  line-height: 1;
}

.history-card--cancelled .history-status-pill {
  color: #f97316;
  background: #fff2df;
}

.history-card--refunded .history-status-pill {
  color: #2563eb;
  background: #eaf2ff;
}

.history-load-more {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(214, 225, 240, 0.9);
  border-radius: 12px;
  color: #102445;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(15, 42, 86, 0.06);
  font-weight: 700;
  cursor: pointer;
}

.history-load-more svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.history-empty-card {
  min-height: 140px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 28px;
  border-radius: 20px;
  color: #51607c;
  text-align: center;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 40px rgba(15, 42, 86, 0.08);
}

.schedule-refund-dialog {
  width: min(100% - 22px, 340px);
  padding: 0;
  border: 0;
  background: transparent;
}

.schedule-refund-dialog::backdrop {
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(4px);
}

.schedule-refund-card {
  width: 100%;
  padding: 22px;
  border: 1px solid rgba(204, 215, 232, 0.95);
  border-radius: 18px;
  color: #102445;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 52px rgba(8, 20, 45, 0.24);
}

.schedule-refund-confirm-card {
  text-align: center;
}

.schedule-refund-alert {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #ff8a34, #f05a28);
  box-shadow: 0 0 0 10px rgba(240, 90, 40, 0.14);
}

.schedule-refund-alert svg,
.schedule-refund-eligible svg,
.schedule-refund-back svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.schedule-refund-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
}

.schedule-refund-card p {
  margin: 0;
  color: #3c4860;
  line-height: 1.45;
}

.schedule-refund-eligible {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #178b3d;
  font-size: 14px;
  font-weight: 700;
  background: #eaffed;
}

.schedule-refund-eligible svg {
  width: 20px;
  height: 20px;
}

.schedule-refund-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.schedule-refund-actions .primary-button,
.schedule-refund-actions .outline-button {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  font-size: 15px;
}

.schedule-refund-detail-head {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  margin-bottom: 12px;
}

.schedule-refund-detail-head h2 {
  grid-column: 2;
  text-align: center;
}

.schedule-refund-back {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  color: #102445;
  background: transparent;
  cursor: pointer;
}

.schedule-refund-field {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  color: #6b7890;
  font-size: 13px;
}

.schedule-refund-field span::after {
  color: #ef4444;
}

.schedule-refund-field input,
.schedule-refund-field select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid #d8dfeb;
  border-radius: 10px;
  color: #102445;
  background: #fff;
  font: inherit;
}

.schedule-refund-note {
  margin-top: 16px !important;
  color: #2f3a4f !important;
  font-size: 14px;
}

.schedule-refund-message {
  min-height: 18px;
  margin-top: 8px !important;
  color: #ef4444 !important;
  font-size: 13px;
  text-align: center;
}

.booking-policy-dialog {
  width: min(100% - 28px, 360px);
  padding: 0;
  border: 0;
  background: transparent;
}

.booking-policy-dialog::backdrop {
  background: rgba(15, 23, 42, 0.48);
}

.booking-policy-card {
  padding: 28px 22px 22px;
  border-radius: 14px;
}

.policy-warning-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: -4px auto 12px;
  border-radius: 50%;
  color: #fff;
  background: #f7c928;
  box-shadow: 0 0 0 10px rgba(247, 201, 40, 0.16);
}

.policy-warning-mark svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.booking-policy-card h2 {
  margin-bottom: 20px;
  font-size: 22px;
}

.policy-note {
  padding: 16px;
  border-radius: 10px;
  color: #142130;
  background: #fff3b7;
  text-align: left;
}

.policy-note p {
  margin: 0 0 8px;
  color: #142130;
  font-size: 14px;
  line-height: 1.35;
}

.policy-note p:last-child {
  margin-bottom: 0;
}

.policy-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.policy-actions .primary-button,
.policy-actions .outline-button {
  width: 100%;
  min-height: 48px;
}

.booking-limit-note {
  text-align: center;
}

.booking-limit-actions {
  grid-template-columns: 1fr;
}

.tennis-info-mark {
  background: #f05a28;
  box-shadow: 0 0 0 10px rgba(240, 90, 40, 0.16);
}

.tennis-terms-note {
  display: grid;
  gap: 8px;
}

@media (min-width: 900px) {
  .auth-shell {
    padding: 48px 32px;
  }

  .login-panel {
    width: 430px;
  }

  .brand-logo {
    width: 142px;
  }

  .register-panel {
    width: min(100%, 640px);
  }

  .register-hero {
    height: 190px;
  }

  .register-card {
    padding-right: 88px;
    padding-left: 88px;
  }
}

@media (max-width: 720px) {
  .auth-page,
  .home-page {
    background-attachment: scroll;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 10px 12px;
    padding: 10px 10px 12px;
  }

  .site-menu-toggle {
    display: grid;
  }

  .site-mark {
    justify-content: start;
  }

  .site-mark img {
    width: 48px;
    height: 48px;
  }

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 40;
    width: min(82vw, 280px);
    max-width: 280px;
    height: 100dvh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 72px 18px 24px;
    overflow-y: auto;
    transform: translateX(-100%);
    color: #f4efe8;
    background:
      linear-gradient(180deg, rgba(8, 76, 66, 0.95), rgba(17, 21, 38, 0.92));
    border-right: 1px solid rgba(255, 255, 255, 0.22);
    font-family: var(--heading-font);
    font-size: 16px;
    box-shadow: 16px 0 34px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
    transition: transform 180ms ease;
  }

  .site-nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-align: center;
  }

  .site-actions {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    margin: 12px 0 0;
    padding-top: 10px;
  }

  .site-actions .nav-login,
  .site-actions .nav-book {
    width: 100%;
    min-width: 0;
    font-size: 11px;
  }

  .site-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 35;
    display: block;
    opacity: 0;
    pointer-events: none;
    background: rgba(7, 12, 22, 0.34);
    backdrop-filter: blur(3px);
    transition: opacity 180ms ease;
  }

  .site-header.is-open .site-nav {
    transform: translateX(0);
  }

  .site-header.is-open .site-menu-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .site-header.is-open .site-menu-toggle {
    position: fixed;
    top: 12px;
    right: 12px;
    left: auto;
    z-index: 45;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    color: #fff;
    background:
      linear-gradient(145deg, rgba(255, 116, 87, 0.95), rgba(206, 54, 45, 0.94));
    box-shadow:
      0 16px 30px rgba(181, 43, 35, 0.36),
      inset 0 1px 0 rgba(255, 255, 255, 0.22);
  }

  .site-header.is-open .site-menu-toggle svg {
    display: block;
    transform: rotate(180deg);
  }

  .site-header.is-open .site-menu-toggle svg path:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .site-header.is-open .site-menu-toggle svg path:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.2);
  }

  .site-header.is-open .site-menu-toggle svg path:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .site-header.is-open .site-menu-toggle::before,
  .site-header.is-open .site-menu-toggle::after {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }

  .register-banner {
    min-height: 450px;
    padding-top: 36px;
  }

  .register-banner h1 {
    font-size: 42px;
  }

  .register-main {
    min-height: 0;
    padding-top: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 32px 28px;
  }

  .home-app-header {
    min-height: 74px;
    padding: 8px 12px 12px;
  }

  .home-main {
    min-height: 0;
    padding: 48px 14px 52px;
  }

  .home-banner-hero {
    min-height: 300px;
  }

  .home-tab {
    min-height: 40px;
  }

  .home-action-card {
    min-height: 82px;
  }

  .sport-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .sport-card {
    min-height: 112px;
  }

  .booking-page .booking-hero {
    min-height: 300px;
  }

  .booking-main {
    padding-top: 32px;
  }

  .booking-panel {
    padding: 16px;
  }

  .booking-stepper {
    min-height: 94px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 18px 6px 14px;
  }

  .booking-stepper span {
    min-height: 62px;
    grid-template-rows: 34px auto;
    gap: 6px;
  }

  .booking-stepper span:not(:last-child)::after {
    top: 16px;
    left: calc(50% + 28px);
    right: calc(-50% + 28px);
  }

  .booking-stepper i {
    width: 34px;
    height: 34px;
    font-size: 11px;
  }

  .booking-stepper b {
    max-width: 86px;
    font-size: 11px;
    line-height: 1.18;
  }

  .booking-panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .booking-panel-head select,
  .booking-back {
    width: 100%;
  }

  .coach-schedule-sport-picker {
    width: 100%;
    margin-left: 0;
  }

  .coach-schedule-date-nav {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 4px;
  }

  .coach-schedule-date-shift,
  .coach-schedule-date-today {
    width: 100%;
    justify-content: center;
  }

  .coach-schedule-date-actions {
    margin-top: 6px;
    margin-bottom: 2px;
  }

  .coach-schedule-summary {
    font-size: 13px;
  }

  .coach-schedule-shell {
    width: 100%;
    margin-top: 16px;
    padding: 16px 12px 14px;
    border-radius: 22px;
  }

  .booking-rental-hold {
    justify-content: space-between;
    width: 100%;
  }

  .booking-date-strip {
    grid-auto-columns: 88px;
  }

  .booking-availability-info {
    grid-template-columns: repeat(2, minmax(0, max-content));
    justify-content: space-between;
    align-items: center;
    gap: 10px 12px;
    padding: 10px 12px;
    border-radius: 16px;
    min-height: 0;
  }

  .booking-info-item:first-child,
  .booking-info-item:nth-child(2) {
    justify-self: start;
  }

  .coach-schedule-info {
    grid-template-columns: 1fr;
  }

  .coach-schedule-note {
    justify-self: start;
    white-space: normal;
  }

  .coach-schedule-hero {
    min-height: 260px;
  }

  .coach-schedule-hero .home-hero-copy {
    width: min(100%, 300px);
    margin-left: 0;
    padding-right: 8px;
  }

  .coach-schedule-hero .home-hero-copy h1 {
    font-size: 30px;
  }

  .booking-grid {
    min-width: 1650px;
  }

  .booking-grid th:first-child,
  .booking-court-name {
    width: 96px;
    min-width: 96px;
    max-width: 96px;
  }

  .booking-selection-alert {
    grid-column: 1 / -1;
    justify-self: end;
    margin-left: auto;
  }

  .booking-dialog-actions {
    flex-direction: column-reverse;
  }

  .booking-dialog-actions .primary-button,
  .booking-dialog-actions .outline-button {
    width: 100%;
  }

  .booking-payment-dialog {
    width: min(100% - 18px, 360px);
  }

  .booking-payment-body {
    padding: 14px;
  }

  .booking-payment-card {
    min-height: 468px;
    padding: 16px 14px 14px;
  }

  .booking-payment-success-row {
    flex-direction: column;
  }

  .booking-payment-success-row b {
    align-self: flex-end;
  }
}

@media (max-width: 620px) {
  .sport-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sport-card {
    min-height: 132px;
  }
}

@media (max-width: 460px) {
  .auth-shell {
    align-items: start;
    padding: 28px 14px;
  }

  .login-card {
    padding: 18px 16px;
  }

  .brand-logo {
    width: 108px;
    margin-bottom: 10px;
  }

  .form-row {
    align-items: center;
    gap: 10px;
    font-size: 11px;
  }

  .home-quick-actions {
    gap: 10px;
  }

  .home-action-card {
    min-height: 78px;
  }

  .sport-grid {
    gap: 10px;
  }

  .sport-card {
    min-height: 118px;
  }

  .sport-card span {
    font-size: 12px;
  }

  .register-shell {
    align-items: start;
    padding: 18px 12px;
  }

  .nav-login,
  .nav-book {
    width: 100%;
    min-width: 0;
  }

  .register-form-wrap {
    width: 100%;
  }

  .register-main {
    padding: 38px 18px 48px;
  }

  .profile-main {
    padding: 34px 14px 48px;
  }

  .profile-glass-card {
    padding: 18px 16px 4px;
    border-radius: 14px;
  }

  .profile-avatar {
    width: 74px;
    height: 74px;
    font-size: 26px;
  }

  .profile-page .register-card > h1,
  .register-page .profile-main .register-card > h1 {
    font-size: 24px;
  }

  .profile-page .register-subtitle,
  .register-page .profile-main .register-subtitle {
    margin-top: -6px;
    font-size: 14px;
  }

  .profile-page .register-field,
  .register-page .profile-main .register-field {
    overflow: hidden;
  }

  .club-symbol {
    font-size: 38px;
  }

  .register-form-wrap > h2 {
    margin-bottom: 28px;
    font-size: 25px;
  }

  .register-hero {
    height: 128px;
  }

  .register-page .register-field input,
  .register-page .register-field select {
    height: 36px;
  }

  .profile-page .register-field input,
  .register-page .profile-main .register-field input {
    font-size: 16px;
  }

  .gender-field {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .booking-panel-head h2 {
    font-size: 21px;
  }

  .booking-panel {
    gap: 12px;
    padding: 16px 14px;
  }

  .booking-grid-wrap {
    min-height: 0;
    padding-bottom: 2px;
  }

  .booking-choice {
    grid-template-columns: auto 1fr;
  }

  .booking-rental-fields {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .booking-rental-top,
  .booking-rental-slot header {
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
  }

  .booking-rental-slot-pill {
    min-width: 0;
    width: fit-content;
    max-width: 100%;
    padding: 0 16px;
    font-size: 14px;
  }

  .booking-rental-field {
    min-height: 0;
    min-width: 0;
    padding: 16px;
  }

  .booking-rental-field-copy strong {
    font-size: 22px;
  }

  .booking-rental-court-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .booking-rental-court-card .booking-rental-field-copy {
    padding-left: 12px;
  }

  .booking-rental-court-card .booking-rental-field-copy strong {
    font-size: 22px;
    line-height: 1.06;
    overflow-wrap: anywhere;
  }

  .booking-rental-court-card .booking-rental-field-copy small {
    font-size: 13px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .booking-rental-court-mark {
    min-width: 68px;
    padding-right: 12px;
  }

  .booking-rental-court-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }

  .booking-rental-court-icon img {
    width: 30px;
    height: 30px;
  }

  .booking-rental-court-card::after {
    right: -58px;
    top: 12px;
    width: 110px;
    height: 110px;
  }

  .booking-rental-court-card::before {
    right: 10px;
    bottom: -34px;
    width: 82px;
    height: 82px;
  }

  .booking-rental-row {
    padding: 12px 0 0;
  }

  .booking-tennis-option {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .booking-tennis-option span {
    text-align: left;
  }

  .booking-choice b {
    grid-column: 2;
  }

  .booking-review-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .booking-review-header {
    display: none;
  }

  .booking-review-item {
    grid-template-columns: 1fr auto;
  }

  .booking-review-detail {
    grid-column: 1 / -1;
  }

  .booking-review-option-block {
    grid-column: 1 / -1;
  }

  .booking-review-price {
    justify-items: start;
  }

  .booking-review-option-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .booking-review-option-price {
    text-align: left;
  }

  .booking-review-actions {
    align-items: center;
  }

  .booking-actions {
    position: sticky;
    bottom: max(6px, env(safe-area-inset-bottom));
    z-index: 8;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 8px;
    margin: 8px -2px 0;
    padding: 8px 0 max(2px, env(safe-area-inset-bottom));
    transform: translateZ(0);
    background: linear-gradient(180deg, rgba(240, 242, 248, 0), rgba(240, 242, 248, 0.96) 28%, #f0f2f8);
  }
}

@media (max-height: 720px) and (min-width: 461px) {
  .auth-shell,
  .register-shell {
    align-items: start;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .brand-logo {
    width: 112px;
    margin-bottom: 10px;
  }

  .register-hero {
    height: 142px;
  }

  .register-card {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

.home-page {
  background:
    radial-gradient(circle at top left, rgba(44, 122, 255, 0.1), transparent 34%),
    linear-gradient(180deg, #eef2f8 0%, #f8fafc 100%);
}

.gallery-page {
  background:
    radial-gradient(circle at top left, rgba(44, 122, 255, 0.1), transparent 34%),
    linear-gradient(180deg, #eef2f8 0%, #f8fafc 100%);
  overflow-x: hidden;
}

.gallery-main {
  min-height: 100vh;
  padding: 0 40px 70px;
  background: transparent;
  overflow-x: clip;
}

.gallery-shell {
  width: min(100%, 1330px);
  max-width: 100%;
  position: relative;
  margin: -14px auto 0;
  z-index: 2;
  min-width: 0;
}

.gallery-hero .home-hero-copy {
  width: min(100%, 680px);
}

.gallery-hero .home-hero-copy h1 {
  color: #fff;
  text-transform: none;
  font-style: normal;
  letter-spacing: -0.03em;
}

.gallery-hero .home-hero-subtitle {
  max-width: 520px;
}

.gallery-hero-panel {
  position: relative;
  min-height: 176px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 104px 28px;
  overflow: hidden;
  border-radius: 26px 26px 0 0;
  color: #fff;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.08) 0, transparent 36%),
    linear-gradient(180deg, #0f2b5f 0%, #0d2550 100%);
  box-shadow: 0 24px 40px rgba(15, 38, 80, 0.14);
}

.gallery-hero-copy {
  text-align: center;
}

.gallery-hero-copy h1 {
  margin: 0;
  font-size: 36px;
  font-weight: 800;
}

.gallery-hero-copy p {
  margin: 8px 0 0;
  font-size: 22px;
  font-weight: 500;
  color: rgba(241, 246, 255, 0.92);
}

.gallery-back {
  position: absolute;
  left: 46px;
  top: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.gallery-back svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-filter-bar {
  width: 100%;
  max-width: 100%;
  display: flex;
  gap: 0;
  margin: 0 auto 30px;
  padding: 0;
  overflow-x: auto;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 30px rgba(80, 114, 179, 0.14);
  scrollbar-width: none;
}

.gallery-filter-bar::-webkit-scrollbar {
  display: none;
}

.gallery-filter-chip {
  min-width: max-content;
  min-height: 66px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 34px;
  border: 0;
  background: transparent;
  color: #50617f;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.gallery-filter-chip.is-active {
  color: #fff;
  background: linear-gradient(180deg, #2d76f1 0%, #2660db 100%);
}

.gallery-filter-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  object-fit: contain;
}

.gallery-filter-icon--grid {
  display: inline-flex;
}

.gallery-filter-icon--grid svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  min-width: 0;
}

.gallery-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 32px rgba(80, 114, 179, 0.14);
  text-decoration: none;
}

.gallery-card-media {
  position: relative;
  height: 258px;
}

.gallery-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gallery-card-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 16px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 12px 20px rgba(8, 18, 40, 0.18);
}

.gallery-card-badge img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.gallery-card-badge--teal {
  background: linear-gradient(135deg, #0f8a95 0%, #13707f 100%);
}

.gallery-card-badge--green {
  background: linear-gradient(135deg, #73ca78 0%, #4ead61 100%);
}

.gallery-card-badge--violet {
  background: linear-gradient(135deg, #8673ff 0%, #6a57eb 100%);
}

.gallery-card-badge--orange {
  background: linear-gradient(135deg, #ff9348 0%, #ff6a2f 100%);
}

.gallery-card-badge--blue {
  background: linear-gradient(135deg, #4691ff 0%, #2f6cf0 100%);
}

.gallery-card-badge--red {
  background: linear-gradient(135deg, #ff6e6e 0%, #ea4747 100%);
}

.gallery-card-badge--sky {
  background: linear-gradient(135deg, #60baf9 0%, #2b8ddd 100%);
}

.gallery-card-body {
  padding: 20px 20px 18px;
}

.gallery-card-copy h3 {
  margin: 0;
  color: #16315c;
  font-size: 17px;
  font-weight: 700;
}

.gallery-card-copy p {
  margin: 8px 0 0;
  color: #697b96;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.home-page .site-header,
.app-shell-page .site-header {
  grid-template-columns: 78px 1fr;
  min-height: 70px;
  padding: 0 18px;
  background: #091b37;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
  backdrop-filter: none;
}

.home-page .site-header.is-scrolled,
.home-page .site-header.is-open,
.app-shell-page .site-header.is-scrolled,
.app-shell-page .site-header.is-open {
  background: rgba(9, 27, 55, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 38px rgba(6, 17, 35, 0.22);
  backdrop-filter: blur(14px);
}

.home-page .site-mark img,
.app-shell-page .site-mark img {
  width: 48px;
  height: 48px;
}

.home-page .site-mark,
.app-shell-page .site-mark {
  margin-left: 2px;
}

.home-page .site-nav,
.app-shell-page .site-nav {
  inset: 0 138px 0 92px;
  gap: clamp(8px, 0.9vw, 14px);
  font-size: 12px;
  font-weight: 600;
}

.home-page .site-nav [data-admin-only="true"],
.app-shell-page .site-nav [data-admin-only="true"] {
  display: none;
}

.home-page.admin-menu-visible .site-nav [data-admin-only="true"]:not([hidden]),
.app-shell-page.admin-menu-visible .site-nav [data-admin-only="true"]:not([hidden]) {
  display: inline-flex;
}

.home-page.admin-menu-visible .site-nav,
.app-shell-page.admin-menu-visible .site-nav {
  inset: 0 128px 0 88px;
  gap: clamp(5px, 0.62vw, 9px);
  font-size: 11px;
}

.home-page .site-nav > a,
.app-shell-page .site-nav > a {
  position: relative;
  min-height: 34px;
  padding: 0 clamp(7px, 0.65vw, 10px);
  border-radius: 999px;
}

.home-page.admin-menu-visible .site-nav > a,
.app-shell-page.admin-menu-visible .site-nav > a {
  padding: 0 clamp(5px, 0.45vw, 7px);
}

.home-page .site-nav > a.is-active,
.app-shell-page .site-nav > a.is-active {
  background: #184eae;
}

.home-page .site-nav > a.is-active::after,
.app-shell-page .site-nav > a.is-active::after {
  position: absolute;
  left: 50%;
  bottom: -11px;
  width: 24px;
  height: 3px;
  content: "";
  border-radius: 999px;
  background: #d9e8ff;
  transform: translateX(-50%);
}

.home-page .site-actions,
.app-shell-page .site-actions {
  right: 22px;
  gap: 10px;
}

.home-page .nav-login,
.home-page .nav-book,
.app-shell-page .nav-login,
.app-shell-page .nav-book {
  min-height: 40px;
  min-width: 126px;
  padding: 0 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

.home-page .nav-login,
.app-shell-page .nav-login {
  gap: 8px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.02);
}

.home-page .nav-login svg,
.home-page .nav-book svg,
.app-shell-page .nav-login svg,
.app-shell-page .nav-book svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page .nav-book,
.app-shell-page .nav-book {
  position: relative;
  padding-left: 44px;
  color: #fff;
  background: linear-gradient(135deg, #ff7b27, #ff8a38);
  box-shadow: 0 16px 28px rgba(255, 123, 39, 0.28);
}

.home-page .nav-book::before,
.app-shell-page .nav-book::before {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 16px;
  height: 16px;
  content: "";
  border: 2px solid currentColor;
  border-radius: 3px;
  transform: translateY(-50%);
  box-sizing: border-box;
}

.home-page .nav-book::after,
.app-shell-page .nav-book::after {
  position: absolute;
  left: 21px;
  top: calc(50% - 9px);
  width: 10px;
  height: 2px;
  content: "";
  background: currentColor;
  box-shadow: 0 6px 0 currentColor;
}

.home-banner-hero {
  position: relative;
  min-height: 300px;
  padding: 108px 40px 28px;
  align-items: stretch;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 18, 39, 0.84) 0%, rgba(5, 18, 39, 0.44) 38%, rgba(5, 18, 39, 0.1) 100%),
    linear-gradient(180deg, rgba(4, 14, 30, 0.16) 0%, rgba(4, 14, 30, 0.36) 100%),
    url("../img/register-hero-bg2.png") center center / cover no-repeat;
}

.app-page-hero {
  position: relative;
  min-height: 300px;
  display: grid;
  align-items: stretch;
  padding: 108px 40px 28px;
  color: #fff;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.register-page-hero {
  background-image:
    linear-gradient(90deg, rgba(5, 18, 39, 0.84) 0%, rgba(5, 18, 39, 0.44) 38%, rgba(5, 18, 39, 0.1) 100%),
    linear-gradient(180deg, rgba(4, 14, 30, 0.16) 0%, rgba(4, 14, 30, 0.36) 100%),
    url("../img/register-hero-bg2.png");
}

.profile-banner.app-page-hero {
  background-image:
    linear-gradient(90deg, rgba(5, 18, 39, 0.84) 0%, rgba(5, 18, 39, 0.44) 38%, rgba(5, 18, 39, 0.1) 100%),
    linear-gradient(180deg, rgba(4, 14, 30, 0.16) 0%, rgba(4, 14, 30, 0.36) 100%),
    url("../img/register-hero-bg2.png");
}

.booking-page .booking-hero.app-page-hero {
  min-height: 300px;
  background-image:
    linear-gradient(90deg, rgba(5, 18, 39, 0.84) 0%, rgba(5, 18, 39, 0.44) 38%, rgba(5, 18, 39, 0.1) 100%),
    linear-gradient(180deg, rgba(4, 14, 30, 0.16) 0%, rgba(4, 14, 30, 0.36) 100%),
    url("../img/Tennis.png");
}

.home-hero-shell {
  width: min(100%, 1520px);
  min-height: 100%;
  display: flex;
  align-items: center;
  margin: 0 auto;
}

.home-hero-copy {
  width: min(100%, 620px);
  margin-top: 8px;
  margin-left: 18px;
  text-align: left;
  text-shadow: none;
}

.home-hero-copy .home-greeting {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  font-weight: 700;
}

.home-hero-copy h1 {
  display: grid;
  margin: 0;
  font-size: clamp(44px, 5.4vw, 68px);
  font-style: italic;
  font-weight: var(--font-hero-weight);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.home-hero-name {
  background: linear-gradient(180deg, #a8d9ff 0%, #64b3ff 46%, #d8efff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.home-hero-subtitle {
  margin: 16px 0 0;
  color: rgba(241, 246, 255, 0.92);
  font-size: 19px;
  font-weight: 600;
}

.home-hero-cta {
  width: fit-content;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px 0 16px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #1c6aff, #2f8fff);
  box-shadow: 0 18px 30px rgba(28, 106, 255, 0.3);
}

.home-hero-cta-icon,
.home-hero-cta-arrow {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.home-hero-cta-icon {
  background: rgba(255, 255, 255, 0.08);
}

.home-hero-cta-arrow {
  background: rgba(255, 255, 255, 0.16);
}

.home-hero-cta svg,
.home-hero-dots button,
.home-action-arrow svg,
.home-view-all svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-hero-cta svg {
  width: 16px;
  height: 16px;
}


.home-main {
  padding: 0 40px 70px;
  background: transparent;
}

.home-page .home-main {
  position: relative;
  isolation: isolate;
}

.booking-page .home-main.booking-main {
  padding: 42px 40px max(70px, env(safe-area-inset-bottom));
  overflow: visible;
}

@media (pointer: coarse) {
  .booking-page {
    min-height: var(--booking-vh, 100vh);
    overflow-y: auto;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.home-dashboard {
  position: relative;
  width: min(100%, 1520px);
  margin-top: -14px;
  z-index: 2;
}

.home-quick-actions {
  position: relative;
  gap: 0;
  margin-top: 0;
  overflow: hidden;
  border: 1px solid rgba(14, 42, 85, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(17, 44, 91, 0.08);
}

.home-action-card {
  min-height: 96px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  place-items: center stretch;
  align-items: center;
  gap: 14px;
  padding: 0 28px;
  border: 0;
  border-right: 1px solid rgba(14, 42, 85, 0.1);
  border-radius: 0;
  color: #17305f;
  background: transparent;
  box-shadow: none;
}

.home-action-card:last-child {
  border-right: 0;
}

.home-action-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #1c6aff;
  background: #d9e9ff;
}

.home-action-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-action-content {
  display: grid;
  gap: 2px;
}

.home-action-content strong {
  font-family: var(--heading-font);
  font-size: 15px;
  line-height: 1.15;
}

.home-action-content small {
  color: #66789e;
  font-size: 11px;
  line-height: 1.2;
}

.home-action-arrow {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #1d68ee;
  background: transparent;
}

.home-action-arrow svg,
.home-view-all svg {
  width: 15px;
  height: 15px;
}

.sport-card-arrow {
  display: none !important;
}

.home-gallery {
  margin-top: 20px;
}

.home-under-hero-band {
  display: none;
}

.home-under-hero-band::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.28) 26%, rgba(255, 255, 255, 0.18) 72%, rgba(255, 255, 255, 0.94) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.04) 14%, rgba(255, 255, 255, 0.04) 86%, rgba(255, 255, 255, 0.34) 100%);
  pointer-events: none;
  z-index: 1;
}

.home-under-hero-picture {
  width: 100%;
  height: 100%;
  display: block;
}

.home-under-hero-band-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  opacity: 0.8;
  filter: saturate(0.88) brightness(1.02);
}

.app-under-hero-band {
  display: none;
}

.app-under-hero-band::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.14) 22%, rgba(255, 255, 255, 0.12) 78%, rgba(255, 255, 255, 0.88) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.03) 14%, rgba(255, 255, 255, 0.03) 86%, rgba(255, 255, 255, 0.18) 100%);
  pointer-events: none;
  z-index: 1;
}

.app-under-hero-band-booking {
  display: none;
}

.home-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.home-gallery h2 {
  position: relative;
  margin: 0;
  padding-left: 12px;
  color: #132a56;
  font-size: 16px;
  font-weight: 700;
}

.home-gallery h2::before {
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 3px;
  content: "";
  border-radius: 999px;
  background: #1d68ee;
}

.home-view-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1d68ee;
  font-family: var(--heading-font);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.home-booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 178px;
  gap: 18px;
  align-items: start;
}

.sport-grid {
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.sport-card {
  position: relative;
  width: 100%;
  min-height: 176px;
  aspect-ratio: 1.72 / 1;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background-position: center 22%;
  background-size: cover;
  box-shadow: 0 8px 18px rgba(17, 44, 91, 0.1);
}

.sport-card::before,
.sport-card::after {
  display: none;
}

.home-page .sport-card > span {
  width: auto;
  min-height: 0;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  background: transparent;
  border-radius: 0;
  place-items: initial;
}

.home-page .sport-card .sport-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  box-shadow: 0 8px 14px rgba(15, 24, 45, 0.16);
  margin: 0;
}

.home-page .sport-card .sport-badge svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page .sport-card .sport-badge img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.sport-badge-blue { background: #1d68ee; }
.sport-badge-green { background: #65c930; }
.sport-badge-violet { background: #6458ea; }
.sport-badge-orange { background: #ff7f2c; }
.sport-badge-lime { background: #62c82a; }
.sport-badge-red { background: #ff4d41; }
.sport-badge-navy { background: #2e67d5; }

.home-page .sport-card .sport-card-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: grid;
  gap: 1px;
  align-content: center;
  min-height: 50px;
  padding: 10px 12px;
  margin: 0;
  border-radius: 0 0 14px 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -1px 0 rgba(20, 42, 86, 0.06);
}

.home-page .sport-card .sport-card-content strong {
  color: #152b55;
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
}

.home-page .sport-card .sport-card-content small {
  color: #6f80a2;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.2;
}

.home-promo-card {
  min-height: 350px;
  overflow: hidden;
  border-radius: 18px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(43, 79, 170, 0.88) 0%, rgba(31, 74, 176, 0.84) 52%, rgba(20, 67, 174, 0.4) 100%),
    url("../img/Tennis.png") center / cover no-repeat;
  box-shadow: 0 16px 30px rgba(17, 44, 91, 0.16);
}

.home-promo-copy {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 22px 22px;
}

.home-promo-copy h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
}

.home-promo-copy p {
  margin: 10px 0 auto;
  color: rgba(234, 241, 255, 0.82);
  font-size: 14px;
}

.home-promo-button {
  align-self: flex-start;
  min-width: 130px;
  padding-right: 18px;
}

.home-promo-button::before {
  left: 18px;
}

.home-promo-button::after {
  left: 21px;
}

.home-page .site-footer {
  margin-top: 30px;
}

@media (max-width: 1200px) {
  .home-page .site-header,
  .app-shell-page .site-header {
    grid-template-columns: 72px 1fr;
    padding: 0 16px 0 8px;
  }

  .home-page .site-nav,
  .app-shell-page .site-nav {
    inset: 0 132px 0 82px;
    gap: 8px;
    font-size: 11px;
  }

  .home-page.admin-menu-visible .site-nav,
  .app-shell-page.admin-menu-visible .site-nav {
    inset: 0 122px 0 78px;
    gap: 4px;
    font-size: 10px;
  }

  .home-page.admin-menu-visible .site-nav > a,
  .app-shell-page.admin-menu-visible .site-nav > a {
    padding: 0 5px;
  }

  .home-page .site-actions,
  .app-shell-page .site-actions {
    right: 16px;
  }

  .home-banner-hero,
  .app-page-hero {
    min-height: 410px;
    padding: 104px 24px 28px;
    background-position: 58% center;
  }

  .home-main {
    padding: 0 24px 60px;
  }

  .home-under-hero-band {
    width: calc(100% + 48px);
    height: clamp(66px, 8vw, 98px);
    margin-left: -24px;
    margin-bottom: 0;
    opacity: 0.56;
  }

  .app-under-hero-band {
    width: calc(100% + 48px);
    height: clamp(68px, 8.5vw, 102px);
    margin-left: -24px;
    margin-bottom: 8px;
    opacity: 0.54;
  }

  .home-dashboard {
    margin-top: -10px;
  }

  .home-action-card {
    min-height: 90px;
    padding: 0 20px;
  }

  .sport-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 960px) {
  .home-page .site-header,
  .app-shell-page .site-header {
    grid-template-columns: 70px 1fr;
    padding: 0 18px 0 8px;
  }

  .home-page .site-nav,
  .app-shell-page .site-nav {
    inset: 0 142px 0 76px;
    gap: 7px;
    font-size: 11px;
  }

  .home-page.admin-menu-visible .site-nav,
  .app-shell-page.admin-menu-visible .site-nav {
    inset: 0 128px 0 70px;
    gap: 4px;
    font-size: 10px;
  }

  .home-page.admin-menu-visible .site-nav > a,
  .app-shell-page.admin-menu-visible .site-nav > a {
    padding: 0 4px;
  }

  .home-page .site-actions,
  .app-shell-page .site-actions {
    right: 18px;
  }

  .home-banner-hero,
  .app-page-hero {
    min-height: 380px;
    padding: 100px 18px 24px;
  }

  .home-main {
    padding: 0 18px 56px;
  }

  .home-under-hero-band {
    width: calc(100% + 36px);
    margin-left: -18px;
    height: clamp(62px, 8.5vw, 92px);
    margin-bottom: 0;
    opacity: 0.6;
  }

  .app-under-hero-band {
    width: calc(100% + 36px);
    height: clamp(64px, 9.5vw, 94px);
    margin-left: -18px;
    margin-bottom: 8px;
    opacity: 0.58;
  }

  .home-dashboard {
    margin-top: -10px;
  }

  .home-action-card {
    padding: 0 18px;
  }

  .sport-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .home-page .site-header,
  .app-shell-page .site-header {
    grid-template-columns: 1fr auto;
    min-height: 74px;
    padding: 10px 14px 12px;
  }

  .home-page .site-mark img,
  .app-shell-page .site-mark img {
    width: 54px;
    height: 54px;
  }

  .home-page .site-nav,
  .app-shell-page .site-nav {
    position: fixed;
    top: 0;
    left: auto;
    right: 0;
    bottom: auto;
    width: min(calc(100vw - 48px), 300px);
    min-width: min(240px, calc(100vw - 48px));
    max-width: 300px;
    height: 100dvh;
    max-height: 100dvh;
    padding: 72px 16px 18px;
    gap: 8px;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(9, 27, 55, 0.98), rgba(14, 31, 63, 0.96));
    border-right: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 13px;
    }

  .home-page .site-header.is-open .site-nav,
  .app-shell-page .site-header.is-open .site-nav {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .home-page.menu-open,
  .app-shell-page.menu-open {
    overflow: hidden;
  }

  .home-page .site-nav > a,
  .app-shell-page .site-nav > a {
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 12px;
  }

  .home-page.admin-menu-visible .site-nav,
  .app-shell-page.admin-menu-visible .site-nav {
    inset: auto 0 auto auto;
    top: 0;
    width: min(calc(100vw - 48px), 300px);
    min-width: min(240px, calc(100vw - 48px));
    max-width: 300px;
    height: 100dvh;
    gap: 8px;
    font-size: 13px;
  }

  .home-page.admin-menu-visible .site-nav > a,
  .app-shell-page.admin-menu-visible .site-nav > a {
    padding: 0 12px;
  }

  .home-page .site-nav > a.is-active::after,
  .app-shell-page .site-nav > a.is-active::after {
    display: none;
  }

  .home-page .site-actions,
  .app-shell-page .site-actions {
    position: static;
    width: 100%;
    right: auto;
    margin-top: 14px;
    padding-top: 10px;
    transform: none;
  }

  .home-page .site-actions .nav-login,
  .home-page .site-actions .nav-book,
  .app-shell-page .site-actions .nav-login,
  .app-shell-page .site-actions .nav-book {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding-right: 16px;
    padding-left: 16px;
    font-size: 12px;
  }

  .home-page .nav-book::before,
  .app-shell-page .nav-book::before {
    left: 16px;
  }

  .home-page .nav-book::after,
  .app-shell-page .nav-book::after {
    left: 19px;
  }

  .home-banner-hero,
  .app-page-hero {
    min-height: 340px;
    padding: 92px 14px 22px;
    background-position: 64% center;
  }

  .home-hero-copy {
    width: min(100%, 420px);
    margin-top: 6px;
    margin-left: 8px;
  }

  .home-hero-copy .home-greeting {
    font-size: 16px;
  }

  .home-hero-subtitle {
    font-size: 16px;
  }

  .home-main {
    padding: 0 14px 46px;
  }

  .home-under-hero-band {
    width: calc(100% + 28px);
    height: clamp(54px, 11vw, 78px);
    margin-left: -14px;
    margin-bottom: 0;
    opacity: 0.54;
  }

  .app-under-hero-band {
    width: calc(100% + 28px);
    height: clamp(56px, 12.5vw, 82px);
    margin-left: -14px;
    margin-bottom: 6px;
    opacity: 0.56;
  }

  .home-dashboard {
    margin-top: -8px;
  }

  body.menu-open {
    overflow: hidden;
  }

  .home-quick-actions {
    grid-template-columns: 1fr;
  }

  .home-action-card {
    min-height: 86px;
    padding: 16px 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(14, 42, 85, 0.1);
  }

  .home-action-card:last-child {
    border-bottom: 0;
  }

  .home-action-content strong {
    font-size: 14px;
  }

  .home-action-content small {
    font-size: 10px;
  }

  .home-section-head {
    align-items: flex-end;
  }

  .sport-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .gallery-main {
    padding: 0 18px 56px;
  }

  .gallery-shell {
    width: min(100%, 1080px);
    margin-top: -10px;
  }

  .gallery-hero .home-hero-copy {
    width: min(100%, 620px);
  }

  .gallery-filter-chip {
    min-height: 60px;
    padding: 0 24px;
    font-size: 15px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .gallery-card-media {
    height: 224px;
  }

  .schedule-main {
    padding: 0 18px 56px;
  }

  .schedule-shell {
    margin-top: -18px;
  }

  .schedule-card {
    grid-template-columns: 190px 1fr;
    gap: 22px;
    padding: 28px 26px 26px;
  }

  .schedule-sport-picker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .schedule-media > img {
    height: 170px;
  }

  .schedule-sport-icon {
    width: 62px;
    height: 62px;
  }

  .schedule-card-footer {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .schedule-secondary,
  .schedule-primary {
    min-height: 48px;
  }

  .schedule-note-card {
    grid-template-columns: 64px 1fr;
  }

  .schedule-note-card img {
    display: none;
  }

  .court-refund-main {
    padding-left: 18px;
    padding-right: 18px;
  }

  .court-refund-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .court-refund-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .history-main {
    margin-top: -24px;
  }

  .history-shell {
    width: min(100%, 560px);
  }

  .history-tabs {
    width: 100%;
    min-height: 64px;
    padding: 10px;
    gap: 6px;
    border-radius: 18px;
  }

  .history-tab {
    min-height: 42px;
    font-size: 12px;
  }

  .history-card {
    grid-template-columns: 52px 1fr;
    gap: 10px;
    padding: 12px;
  }

  .history-card-icon {
    width: 48px;
    height: 48px;
  }

  .history-card-body {
    gap: 8px;
  }

  .history-status-pill {
    justify-self: end;
  }

}

@media (max-width: 460px) {
  .home-banner-hero,
  .app-page-hero {
    min-height: 300px;
  }

  .home-hero-copy h1 {
    font-size: 36px;
  }

  .home-gallery h2 {
    font-size: 19px;
  }

  .sport-grid {
    grid-template-columns: 1fr;
  }

  .sport-card {
    min-height: 112px;
  }

  .gallery-main {
    padding: 0 12px 28px;
  }

  .gallery-shell {
    width: 100%;
    max-width: calc(100vw - 24px);
    margin-top: -8px;
  }

  .gallery-filter-bar {
    margin: 16px 0 20px;
    border-radius: 18px;
  }

  .gallery-filter-chip {
    min-height: 54px;
    gap: 10px;
    padding: 0 16px;
    font-size: 13px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-card-media {
    height: 180px;
  }

  .gallery-card-badge {
    left: 12px;
    top: 12px;
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .gallery-card-body {
    padding: 14px 14px 16px;
  }

  .gallery-card-copy h3 {
    font-size: 15px;
  }

  .gallery-card-copy p {
    font-size: 12px;
    line-height: 1.4;
  }

  .schedule-main {
    padding: 0 12px 34px;
  }

  .schedule-toolbar {
    align-items: stretch;
    flex-direction: column;
    border-radius: 20px;
  }

  .schedule-new-booking {
    width: 100%;
  }

  .schedule-sport-picker {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: -4px;
    padding: 12px;
    border-radius: 18px;
  }

  .schedule-sport-choice {
    min-height: 96px;
  }

  .schedule-card {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    padding: 16px 14px 18px;
    border-radius: 20px;
  }

  .schedule-card-eyebrow {
    position: static;
    width: max-content;
    margin-bottom: -4px;
    font-size: 13px;
  }

  .schedule-media > img {
    height: 150px;
    border-radius: 18px;
  }

  .schedule-sport-icon {
    left: 10px;
    top: 10px;
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .schedule-sport-icon img {
    width: 30px;
    height: 30px;
  }

  .schedule-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .schedule-title-row h2 {
    font-size: 22px;
  }

  .schedule-title-row p {
    font-size: 16px;
  }

  .schedule-status-pill {
    min-height: 38px;
    padding: 0 14px;
    font-size: 14px;
  }

  .schedule-status-pill > span {
    width: 24px;
    height: 24px;
    font-size: 13px;
  }

  .schedule-meta {
    grid-template-columns: 46px 1fr;
    gap: 12px;
  }

  .schedule-meta-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .schedule-meta-icon svg {
    width: 25px;
    height: 25px;
  }

  .schedule-meta strong {
    font-size: 16px;
  }

  .schedule-meta small,
  .schedule-card-footer span {
    font-size: 13px;
  }

  .schedule-card-footer {
    gap: 12px;
    padding-top: 18px;
  }

  .schedule-card-footer strong {
    font-size: 26px;
  }

  .schedule-secondary,
  .schedule-primary {
    min-height: 44px;
    font-size: 14px;
  }

  .schedule-note-card {
    grid-template-columns: 52px 1fr;
    gap: 14px;
    padding: 18px;
  }

  .schedule-note-icon {
    width: 52px;
    height: 52px;
  }

  .schedule-note-icon svg {
    width: 30px;
    height: 30px;
  }

  .court-refund-main {
    padding: 12px 12px 32px;
  }

  .court-refund-titlebar {
    align-items: stretch;
    flex-direction: column;
  }

  .court-refund-titlebar h1 {
    font-size: 24px;
  }

  .court-refund-export {
    width: 100%;
  }

  .court-refund-stats,
  .court-refund-filters,
  .court-refund-filter-actions {
    grid-template-columns: 1fr;
  }

  .court-refund-page.search-layout-collapsed .court-refund-filters {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .court-refund-page.search-layout-collapsed .court-refund-filters label:nth-of-type(5),
  .court-refund-page.search-layout-collapsed .court-refund-filters label:nth-of-type(6),
  .court-refund-page.search-layout-collapsed .court-refund-filters label:nth-of-type(7) {
    display: grid;
  }

  .court-refund-page.search-layout-collapsed .court-refund-filters label > span {
    width: auto;
    height: auto;
    position: static;
    overflow: visible;
    clip: auto;
  }

  .court-refund-stat {
    min-height: 104px;
    grid-template-columns: 54px 1fr;
    padding: 16px;
  }

  .court-refund-stat > span {
    width: 54px;
    height: 54px;
  }

  .court-refund-stat strong {
    font-size: 22px;
  }

  .court-refund-filters {
    padding: 16px;
  }

  .court-refund-table-panel {
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .court-refund-table-wrap {
    overflow: visible;
  }

  .court-refund-table,
  .court-refund-table tbody,
  .court-refund-table tfoot {
    display: block;
    width: 100%;
  }

  .court-refund-table thead {
    display: none;
  }

  .court-refund-table tbody tr {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
    padding: 14px;
    border: 1px solid #e0e7f2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(20, 33, 61, 0.08);
  }

  .court-refund-table th,
  .court-refund-table td,
  .court-refund-table th:nth-child(n),
  .court-refund-table td:nth-child(n) {
    width: auto;
  }

  .court-refund-table td {
    min-height: 0;
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 0;
    border-bottom: 0;
    text-align: left;
  }

  .court-refund-table td::before {
    content: "";
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
  }

  .court-refund-table td:nth-child(1)::before { content: "Booking Ref"; }
  .court-refund-table td:nth-child(2)::before { content: "Sport / Court"; }
  .court-refund-table td:nth-child(3)::before { content: "Booking Date"; }
  .court-refund-table td:nth-child(4)::before { content: "Time Slot"; }
  .court-refund-table td:nth-child(5)::before { content: "Cancelled On"; }
  .court-refund-table td:nth-child(6)::before { content: "Customer"; }
  .court-refund-table td:nth-child(7)::before { content: "Amount Paid"; }
  .court-refund-table td:nth-child(8)::before { content: "Refund Amount"; }
  .court-refund-table td:nth-child(9)::before { content: "Status"; }
  .court-refund-table td:nth-child(10)::before { content: "Actions"; }

  .court-refund-table td:nth-child(1) {
    grid-template-columns: 1fr;
    padding-bottom: 10px;
    border-bottom: 1px solid #edf1f7;
  }

  .court-refund-table td:nth-child(1)::before {
    display: none;
  }

  .court-refund-table td:nth-child(9),
  .court-refund-table td:nth-child(10) {
    text-align: left;
  }

  .court-refund-ref {
    justify-self: start;
    font-size: 14px;
  }

  .court-refund-status {
    justify-self: start;
  }

  .court-refund-actions {
    width: min(100%, 220px);
    max-width: 220px;
    grid-template-columns: minmax(0, 1fr) 42px;
    margin: 0;
  }

  .court-refund-upload {
    width: 42px;
  }

  .court-refund-table tfoot tr,
  .court-refund-table tfoot td {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: center;
  }

  .court-refund-load-more {
    width: auto;
    min-width: 168px;
    margin: 6px auto 0;
  }

  .court-refund-detail-list div {
    grid-template-columns: 1fr;
    gap: 6px;
    min-height: 0;
    padding: 12px 0;
  }

  .court-refund-detail-list dd {
    font-size: 15px;
  }

  .court-refund-status-editor {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .history-tabs {
    width: 100%;
    min-height: 54px;
    padding: 8px;
    gap: 5px;
    margin-top: 0;
    margin-bottom: 16px;
    border-radius: 16px;
  }

  .history-tab {
    min-height: 36px;
    font-size: 11px;
  }

  .history-card h2 {
    font-size: 15px;
  }

  .history-card p,
  .history-card small {
    font-size: 11px;
  }

  .history-card-body > strong {
    font-size: 14px;
  }

  .history-status-pill {
    min-width: 72px;
    padding: 5px 8px;
    font-size: 10px;
  }

}

@media (max-width: 360px) {
  .court-refund-main {
    padding: 10px 8px 28px;
  }

  .court-refund-titlebar h1 {
    font-size: 22px;
  }

  .court-refund-stat {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .court-refund-stat > span {
    width: 46px;
    height: 46px;
  }

  .court-refund-stat small {
    font-size: 11px;
  }

  .court-refund-stat strong {
    font-size: 20px;
  }

  .court-refund-table tbody tr {
    padding: 12px;
  }

  .court-refund-table td {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 8px;
  }

  .court-refund-table td::before {
    font-size: 10px;
  }

  .court-refund-actions {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 40px;
  }
}

.monitor-page {
  --monitor-navy: #06284a;
  --monitor-navy-dark: #001b36;
  --monitor-blue: #064fa0;
  --monitor-orange: #f3740b;
  --monitor-bg: #f5f7fb;
  --monitor-line: #dfe6ef;
  --monitor-shadow: 0 8px 20px rgba(8, 28, 55, 0.11);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  padding: 0;
  background: var(--monitor-bg);
  color: #061b36;
  font-family: "Noto Sans Thai", Montserrat, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

.monitor-page svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.monitor-sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 210px;
  height: auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  padding: 12px 10px;
  background:
    radial-gradient(circle at 12% 0, rgba(19, 99, 155, 0.55), transparent 34%),
    linear-gradient(180deg, #062c51 0%, #001b36 100%);
  color: #fff;
  box-shadow: 9px 0 26px rgba(0, 21, 42, 0.22);
  z-index: 3;
  transition: width 180ms ease, padding 180ms ease;
}

.monitor-menu-toggle {
  position: relative;
  z-index: 5;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  pointer-events: auto;
}

.monitor-menu-toggle * {
  pointer-events: none;
}

.monitor-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
}

.monitor-menu-toggle svg {
  width: 22px;
  height: 22px;
}

.monitor-logo {
  display: grid;
  place-items: center;
  min-height: 90px;
  padding: 0 12px 4px;
}

.monitor-logo img {
  width: 116px;
  max-height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.32));
}

.monitor-nav {
  display: grid;
  align-content: start;
  gap: 6px;
}

.monitor-nav a {
  min-height: 48px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.monitor-nav a.is-active,
.monitor-nav a:hover {
  background: linear-gradient(180deg, #ff8715, #f36b05);
  box-shadow: 0 10px 20px rgba(243, 107, 5, 0.34);
}

.monitor-nav-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}

.monitor-user-card {
  min-height: 88px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.monitor-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.monitor-user-card strong,
.monitor-user-card small {
  display: block;
  line-height: 1.35;
}

.monitor-user-card strong {
  font-size: 12px;
  font-weight: 800;
}

.monitor-user-card small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 600;
}

.monitor-main {
  grid-column: 2;
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 14px 18px 12px;
  transition: padding 180ms ease;
}

.monitor-sidebar-collapsed {
  grid-template-columns: 70px minmax(0, 1fr);
}

.monitor-sidebar-collapsed .monitor-sidebar {
  width: 70px;
  padding: 12px 8px;
}

.monitor-sidebar-collapsed .monitor-menu-toggle {
  justify-self: center;
}

.monitor-sidebar-collapsed .monitor-logo {
  min-height: 58px;
  padding: 0;
}

.monitor-sidebar-collapsed .monitor-logo img {
  width: 44px;
  max-height: 44px;
}

.monitor-sidebar-collapsed .monitor-nav {
  justify-items: center;
}

.monitor-sidebar-collapsed .monitor-nav a {
  width: 46px;
  min-height: 46px;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0;
  padding: 0;
  overflow: hidden;
  font-size: 0;
}

.monitor-sidebar-collapsed .monitor-nav-icon {
  width: 24px;
  height: 24px;
}

.monitor-sidebar-collapsed .monitor-user-card {
  min-height: 54px;
  grid-template-columns: 1fr;
  justify-items: center;
  padding: 8px;
}

.monitor-sidebar-collapsed .monitor-user-card > span:last-child {
  display: none;
}

.monitor-topbar {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(340px, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.monitor-topbar h1 {
  margin: 0;
  color: #061b36;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.18;
}

.monitor-topbar p {
  margin: 2px 0 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.monitor-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 10px;
}

.monitor-last-update {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #607086;
  font-size: 11px;
  font-weight: 800;
}

.monitor-last-update svg {
  width: 16px;
  height: 16px;
  color: #7b8797;
  stroke-width: 2.35;
}

.monitor-refresh-icon {
  flex: 0 0 auto;
}

.monitor-segment {
  width: 284px;
  max-width: 100%;
  min-height: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 3px;
  border: 1px solid #e0e5ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(16, 34, 58, 0.08);
}

.monitor-segment button,
.monitor-filter-button {
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #0f172a;
  font-weight: 800;
  cursor: pointer;
}

.monitor-segment button.is-active {
  background: linear-gradient(180deg, #ff8715, #f36b05);
  color: #fff;
}

.monitor-filter-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border: 1px solid #e0e5ec;
  background: #fff;
  box-shadow: 0 4px 12px rgba(16, 34, 58, 0.06);
}

.monitor-filter-button svg {
  width: 18px;
  height: 18px;
}

.monitor-filter-select {
  min-height: 40px;
  display: inline-grid;
  grid-template-columns: auto minmax(150px, 1fr);
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid #e0e5ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(16, 34, 58, 0.06);
}

.monitor-filter-select span {
  color: #607086;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.monitor-filter-select select {
  width: 100%;
  min-height: 30px;
  border: 0;
  background: transparent;
  color: #0f172a;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  outline: none;
}

.coach-schedule-monitor-page .monitor-main {
  align-content: start;
  grid-auto-rows: max-content;
  gap: 4px;
  padding: 2px 14px 12px;
}

.coach-schedule-monitor-page .monitor-topbar {
  align-items: center;
  min-height: 0;
  margin-bottom: 0;
}

.coach-schedule-monitor-page .monitor-topbar h1 {
  margin-bottom: 0;
  font-size: 22px;
  line-height: 1.08;
}

.coach-schedule-monitor-page .monitor-topbar p {
  margin-top: 1px;
  line-height: 1.2;
}

.coach-schedule-monitor-page .monitor-toolbar {
  align-items: center;
}

.coach-monitor-panel {
  display: grid;
  gap: 14px;
  margin-top: 0;
  padding: 16px;
}

.coach-monitor-panel-head {
  min-width: 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.coach-monitor-panel-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 3px;
  font-size: 24px;
}

.coach-monitor-title-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 2px solid #ff7a00;
  border-radius: 8px;
  color: #ff7a00;
}

.coach-monitor-title-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.25;
}

.coach-schedule-monitor-page .coach-schedule-summary {
  color: #607086;
  font-size: 12px;
  font-weight: 700;
}

.coach-monitor-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}

.coach-schedule-state-legend {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 0 16px;
  border: 1px solid #e7ebf1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(16, 34, 58, 0.05);
}

.coach-schedule-state-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #314157;
  font-size: 11px;
  font-weight: 800;
}

.coach-schedule-state-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.coach-schedule-state-legend .available { background: #94d7a0; }
.coach-schedule-state-legend .booked { background: #ff7a00; }
.coach-schedule-state-legend .blocked { background: #8a95a5; }

.coach-schedule-monitor-page .coach-schedule-note {
  min-height: 44px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid #e1e8f5;
  border-radius: 8px;
  background: #fbfdff;
  color: #34517a;
  box-shadow: 0 5px 14px rgba(16, 34, 58, 0.04);
}

.coach-schedule-monitor-page .coach-schedule-note svg {
  width: 18px;
  height: 18px;
  color: #1e64d8;
  grid-row: span 2;
}

.coach-schedule-monitor-page .coach-schedule-note b,
.coach-schedule-monitor-page .coach-schedule-note small {
  display: block;
  font-size: 11px;
  line-height: 1.25;
}

.coach-schedule-monitor-page .coach-schedule-note small {
  color: #667085;
  font-weight: 700;
}

.coach-schedule-monitor-page .coach-schedule-date-nav {
  margin-top: 0;
  gap: 10px;
}

.coach-schedule-monitor-page .booking-date-strip {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.coach-schedule-monitor-page .booking-date-button {
  min-height: 74px;
  border-radius: 8px;
  border-color: #d9e1ec;
  background: #fff;
  color: #0f2443;
}

.coach-schedule-monitor-page .booking-date-button.active {
  border-color: transparent;
  background: linear-gradient(180deg, #ff8715, #f36b05);
  box-shadow: 0 10px 20px rgba(243, 107, 5, 0.25);
}

.coach-schedule-monitor-page .coach-schedule-date-shift {
  min-height: 40px;
  border-color: #e0e5ec;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(16, 34, 58, 0.06);
}

.coach-monitor-grid-wrap {
  border: 1px solid var(--monitor-line);
  border-radius: 8px;
  background: #fff;
  overflow: auto;
}

.coach-schedule-monitor-page .coach-schedule-grid {
  min-width: 1580px;
  border-collapse: separate;
  border-spacing: 0;
}

.coach-schedule-monitor-page .booking-grid th {
  background: #06345f;
}

.coach-schedule-monitor-page .booking-grid th:first-child {
  background: linear-gradient(180deg, #06345f, #002345);
}

.coach-schedule-monitor-page .booking-grid th,
.coach-schedule-monitor-page .booking-grid td {
  border-color: #cfd9e7;
}

.coach-schedule-monitor-page .booking-grid thead th {
  height: 46px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.coach-schedule-monitor-page .booking-grid thead th:first-child {
  width: 140px;
  min-width: 140px;
}

.coach-schedule-monitor-page .booking-grid tbody th {
  width: 140px;
  min-width: 140px;
  padding: 13px 12px;
  color: #fff;
  text-align: left;
}

.coach-schedule-monitor-page .booking-court-name__label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.coach-schedule-monitor-page .booking-court-name small {
  display: block;
  margin-top: 4px;
  padding-left: 25px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 10px;
  font-weight: 700;
}

.coach-court-head-icon,
.coach-court-row-icon {
  position: relative;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  display: inline-block;
  border: 1.8px solid currentColor;
  border-radius: 50%;
}

.coach-court-head-icon::before,
.coach-court-row-icon::before {
  position: absolute;
  inset: 3px 7px;
  content: "";
  border-left: 1.5px solid currentColor;
  transform: rotate(34deg);
}

.coach-schedule-monitor-page .coach-schedule-grid td {
  height: 84px;
  padding: 8px;
  background: linear-gradient(180deg, #f4fbf4, #eef8f0);
  vertical-align: middle;
}

.coach-schedule-monitor-page .coach-schedule-cell--booked {
  background: linear-gradient(180deg, #fff6e9, #ffefd8);
}

.coach-schedule-monitor-page .coach-schedule-cell--blocked {
  background: linear-gradient(180deg, #eef1f5, #e4e8ee);
}

.coach-schedule-dash {
  display: grid;
  place-items: center;
  color: #3d964b;
  font-size: 19px;
  font-weight: 900;
}

.coach-schedule-name-stack {
  display: grid;
  justify-items: center;
  gap: 5px;
}

.coach-schedule-name-stack em {
  color: #c55b00;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.coach-schedule-blocked {
  display: grid;
  place-items: center;
  gap: 4px;
  color: #4e5b6c;
  font-size: 11px;
  font-weight: 900;
}

.coach-schedule-blocked svg {
  width: 18px;
  height: 18px;
  color: #5f6b7d;
}

.coach-schedule-monitor-page .coach-schedule-pill--booked {
  width: min(100%, 74px);
  min-height: 28px;
  border: 1px solid var(--coach-pill-border, #ff9b35);
  border-radius: 7px;
  background: linear-gradient(180deg, var(--coach-pill-bg1, #fff9f1), var(--coach-pill-bg2, #fff0dd));
  color: var(--coach-pill-text, #bf5200);
  box-shadow: 0 6px 12px var(--coach-pill-shadow, rgba(243, 107, 5, 0.11));
  font-size: 12px;
}

.coach-color-theme {
  --coach-pill-border: #ff9b35;
  --coach-pill-bg1: #fff9f1;
  --coach-pill-bg2: #fff0dd;
  --coach-pill-text: #bf5200;
  --coach-pill-shadow: rgba(243, 107, 5, 0.12);
}

.coach-color-at {
  --coach-pill-border: #6ba1ff;
  --coach-pill-bg1: #f4f8ff;
  --coach-pill-bg2: #e6f0ff;
  --coach-pill-text: #1c5fd5;
  --coach-pill-shadow: rgba(28, 95, 213, 0.11);
}

.coach-color-pla {
  --coach-pill-border: #7bcf86;
  --coach-pill-bg1: #f5fff6;
  --coach-pill-bg2: #e7f8e9;
  --coach-pill-text: #2d8b3c;
  --coach-pill-shadow: rgba(45, 139, 60, 0.11);
}

.coach-color-phum {
  --coach-pill-border: #d891e7;
  --coach-pill-bg1: #fdf5ff;
  --coach-pill-bg2: #f6e7fb;
  --coach-pill-text: #9a3bb0;
  --coach-pill-shadow: rgba(154, 59, 176, 0.1);
}

.coach-color-nook {
  --coach-pill-border: #ffc04f;
  --coach-pill-bg1: #fffaf0;
  --coach-pill-bg2: #fff0cb;
  --coach-pill-text: #b56b00;
  --coach-pill-shadow: rgba(181, 107, 0, 0.1);
}

.coach-color-mom {
  --coach-pill-border: #65c8db;
  --coach-pill-bg1: #f0fcff;
  --coach-pill-bg2: #daf6fb;
  --coach-pill-text: #087e94;
  --coach-pill-shadow: rgba(8, 126, 148, 0.1);
}

.coach-color-auto-1 { --coach-pill-border: #ff9b35; --coach-pill-bg1: #fff9f1; --coach-pill-bg2: #fff0dd; --coach-pill-text: #bf5200; }
.coach-color-auto-2 { --coach-pill-border: #6ba1ff; --coach-pill-bg1: #f4f8ff; --coach-pill-bg2: #e6f0ff; --coach-pill-text: #1c5fd5; }
.coach-color-auto-3 { --coach-pill-border: #7bcf86; --coach-pill-bg1: #f5fff6; --coach-pill-bg2: #e7f8e9; --coach-pill-text: #2d8b3c; }
.coach-color-auto-4 { --coach-pill-border: #d891e7; --coach-pill-bg1: #fdf5ff; --coach-pill-bg2: #f6e7fb; --coach-pill-text: #9a3bb0; }
.coach-color-auto-5 { --coach-pill-border: #ffc04f; --coach-pill-bg1: #fffaf0; --coach-pill-bg2: #fff0cb; --coach-pill-text: #b56b00; }
.coach-color-auto-6 { --coach-pill-border: #65c8db; --coach-pill-bg1: #f0fcff; --coach-pill-bg2: #daf6fb; --coach-pill-text: #087e94; }

.coach-monitor-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding-top: 2px;
}

.coach-monitor-help,
.coach-monitor-name-legend {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #e1e8f2;
  border-radius: 8px;
  background: #fff;
}

.coach-monitor-help > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf4fc;
  color: #143d72;
}

.coach-monitor-help svg {
  width: 23px;
  height: 23px;
}

.coach-monitor-help strong,
.coach-monitor-help small {
  display: block;
}

.coach-monitor-help strong {
  color: #0d2342;
  font-size: 12px;
  font-weight: 900;
}

.coach-monitor-help small {
  margin-top: 3px;
  color: #667085;
  font-size: 11px;
  font-weight: 700;
}

.coach-monitor-name-legend {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.coach-monitor-name-legend strong {
  width: 100%;
  color: #0d2342;
  font-size: 11px;
  font-weight: 900;
}

.coach-monitor-name-legend span {
  min-width: 54px;
  min-height: 28px;
  display: inline-grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid var(--coach-pill-border, #ff9b35);
  border-radius: 7px;
  background: linear-gradient(180deg, var(--coach-pill-bg1, #fff9f1), var(--coach-pill-bg2, #fff0dd));
  color: var(--coach-pill-text, #bf5200);
  font-size: 11px;
  font-weight: 900;
}

.monitor-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 9px;
}

.monitor-kpi,
.monitor-panel,
.monitor-sport-strip article,
.monitor-table-panel {
  border: 1px solid var(--monitor-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--monitor-shadow);
}

.monitor-kpi {
  min-height: 78px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 9px 12px;
}

.monitor-kpi-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
}

.monitor-kpi-icon.blue {
  background: radial-gradient(circle at 35% 28%, #1d6dc1, #063d82 70%);
}

.monitor-kpi-icon.orange {
  background: radial-gradient(circle at 35% 28%, #ff922e, #ef6500 70%);
}

.monitor-kpi-icon svg {
  width: 22px;
  height: 22px;
}

.pie-icon {
  background: conic-gradient(#0b5dad 0 76%, #e9f1fb 76% 100%);
  position: relative;
}

.pie-icon::after {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
}

.monitor-kpi small,
.monitor-kpi em {
  display: block;
  color: #536276;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
}

.monitor-kpi strong {
  display: block;
  margin-top: 2px;
  color: #050b13;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
}

.monitor-kpi .up,
.monitor-table .up {
  color: #179a32;
}

.monitor-table .down {
  color: #ff1f3d;
}

.monitor-grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 1fr);
  gap: 8px;
}

.monitor-grid-two.compact {
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 1fr);
}

.monitor-panel {
  min-width: 0;
  padding: 10px 13px;
}

.monitor-panel h2 {
  margin: 0 0 7px;
  color: #0d2342;
  font-size: 13px;
  font-weight: 800;
}

.monitor-panel h2::before {
  content: "";
  width: 17px;
  height: 17px;
  display: inline-block;
  margin-right: 8px;
  vertical-align: -5px;
  background: linear-gradient(135deg, #ff8715, #f36b05);
  clip-path: polygon(0 55%, 18% 55%, 18% 30%, 38% 30%, 38% 70%, 58% 70%, 58% 10%, 78% 10%, 78% 45%, 100% 45%, 100% 100%, 0 100%);
}

.monitor-panel h2.custom-icon::before {
  display: none;
}

.monitor-panel-title.custom-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.monitor-title-icon {
  width: 18px;
  height: 18px;
  color: #f3740b;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.monitor-bar-chart {
  height: 112px;
  display: grid;
  grid-template-columns: repeat(22, minmax(10px, 1fr));
  align-items: end;
  gap: 6px;
  padding: 5px 8px 0 8px;
  background:
    repeating-linear-gradient(to top, transparent 0, transparent 27px, #e4e9f0 28px),
    linear-gradient(#fff, #fff);
}

.monitor-bar-chart span {
  min-height: 4px;
  height: var(--h);
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, #6e9be0, #0a4a93);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.monitor-bar-chart .is-peak {
  background: linear-gradient(180deg, #81a9e9, #0a55ae);
}

.monitor-chart-axis {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  padding: 2px 0 0;
  color: #657386;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.monitor-donut-wrap {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.monitor-donut {
  width: 164px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  background: conic-gradient(#044f9f 0 33.4%, #f2760b 33.4% 52.1%, #28aeca 52.1% 67.4%, #60b936 67.4% 79.2%, #8656d5 79.2% 89.4%, #ec4163 89.4% 95.4%, #e9aa23 95.4% 100%);
  position: relative;
}

.monitor-donut::before {
  content: "";
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  background: #fff;
}

.monitor-donut strong {
  position: relative;
  z-index: 1;
  color: #172033;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.monitor-donut span {
  font-size: 16px;
}

.monitor-legend {
  display: grid;
  gap: 5px;
}

.monitor-legend p {
  display: grid;
  grid-template-columns: 11px minmax(78px, 1fr) 52px 72px;
  gap: 7px;
  align-items: center;
  margin: 0;
  color: #111827;
  font-size: 11px;
  font-weight: 800;
}

.monitor-legend i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.badminton { color: #044f9f; }
.tennis { color: #f2760b; }
.pickleball { color: #0fa6c7; }
.padel { color: #53a923; }
.football { color: #8656d5; }
.squash { color: #ec4163; }
.tabletennis { color: #d89300; }

.monitor-legend .badminton { background: #044f9f; }
.monitor-legend .tennis { background: #f2760b; }
.monitor-legend .pickleball { background: #28aeca; }
.monitor-legend .padel { background: #60b936; }
.monitor-legend .football { background: #8656d5; }
.monitor-legend .squash { background: #ec4163; }
.monitor-legend .tabletennis { background: #e9aa23; }

.monitor-sport-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(112px, 1fr));
  gap: 8px;
}

.monitor-sport-strip article {
  position: relative;
  min-width: 0;
  min-height: 78px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  align-content: stretch;
  gap: 0 8px;
  padding: 10px 12px 9px;
  overflow: hidden;
}

.monitor-sport-strip img {
  grid-row: 1 / span 2;
  width: 31px;
  height: 31px;
  object-fit: contain;
  align-self: start;
}

.monitor-sport-strip b,
.monitor-sport-strip strong,
.monitor-sport-strip span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.monitor-sport-strip b {
  grid-column: 2;
  color: #0d2342;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}

.monitor-sport-strip strong {
  grid-column: 2;
  color: #0d2342;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.05;
  white-space: nowrap;
}

.monitor-sport-strip small {
  color: #536276;
  font-size: 10px;
  font-weight: 700;
}

.monitor-sport-strip span {
  grid-column: 1 / span 2;
  align-self: end;
  color: currentColor;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.monitor-sport-strip i {
  position: absolute;
  right: 10px;
  bottom: 8px;
  grid-row: 3;
  align-self: end;
  width: 72px;
  height: 24px;
  opacity: 0.9;
  background: currentColor;
  clip-path: polygon(0 72%, 11% 70%, 18% 58%, 27% 66%, 35% 42%, 43% 76%, 51% 54%, 60% 65%, 68% 50%, 77% 72%, 86% 62%, 100% 70%, 100% 100%, 0 100%);
}

.monitor-sport-strip article.badminton { color: #f36b05; }
.monitor-sport-strip article.tennis { color: #f2760b; }
.monitor-sport-strip article.pickleball { color: #20add0; }
.monitor-sport-strip article.padel { color: #58b43a; }
.monitor-sport-strip article.football { color: #8a55dc; }
.monitor-sport-strip article.squash { color: #ec4163; }
.monitor-sport-strip article.tabletennis { color: #e0a11b; }
}

.monitor-heatmap {
  display: grid;
  grid-template-columns: repeat(12, minmax(24px, 1fr));
  gap: 3px;
}

.monitor-heatmap span {
  height: 12px;
  border-radius: 2px;
  background: #e8f0fb;
}

.monitor-heatmap .l1 { background: #d3e1f5; }
.monitor-heatmap .l2 { background: #aac4eb; }
.monitor-heatmap .l3 { background: #7fa5de; }
.monitor-heatmap .l4 { background: #4d7fca; }
.monitor-heatmap .l5 { background: #1d55a8; }

.monitor-heatmap-scale {
  display: grid;
  grid-template-columns: auto 210px auto;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  color: #667085;
  font-size: 11px;
  font-weight: 700;
}

.monitor-heatmap-scale i {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e8f0fb, #1d55a8);
}

.monitor-court-ranking {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 22px;
  font-size: 11px;
  font-weight: 800;
}

.monitor-court-ranking li {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(120px, 1.7fr) 62px;
  gap: 12px;
  align-items: center;
}

.monitor-court-ranking span,
.monitor-table td span {
  height: 8px;
  border-radius: 999px;
  background: #edf0f4;
  overflow: hidden;
}

.monitor-court-ranking i,
.monitor-table td span i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: var(--c);
}

.monitor-court-ranking em {
  color: #536276;
  font-style: normal;
  text-align: right;
}

.monitor-table-panel {
  overflow: hidden;
}

.monitor-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 11px;
  font-weight: 700;
}

.monitor-table th {
  padding: 5px 8px;
  background: linear-gradient(180deg, #062f58, #001f3e);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.monitor-table td {
  padding: 3px 8px;
  border-bottom: 1px solid #e9eef5;
  text-align: center;
  vertical-align: middle;
}

.monitor-table td:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.monitor-table img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.monitor-table td:nth-child(6) {
  display: grid;
  grid-template-columns: 44px minmax(80px, 1fr);
  gap: 8px;
  align-items: center;
}

.monitor-table tfoot td {
  padding: 7px 8px;
  border: 0;
  background: linear-gradient(180deg, #06345f, #002345);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.coach-page {
  background: #f7faff;
}

.coach-main {
  gap: 6px;
  padding: 10px 14px 12px;
  align-content: start;
  grid-auto-rows: max-content;
}

.coach-topbar {
  align-items: center;
  margin-bottom: 0;
}

.coach-topbar h1 {
  margin-bottom: 0;
}

.coach-topbar p {
  margin-top: 1px;
}

.coach-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 12px;
}

.coach-stat-card {
  min-width: 0;
  min-height: 104px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #dce5f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(15, 35, 65, 0.09);
}

.coach-stat-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 30px;
  font-weight: 900;
}

.coach-stat-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.coach-stat-card.blue .coach-stat-icon {
  background: #eaf2ff;
  color: #175ee8;
}

.coach-stat-card.green .coach-stat-icon {
  background: #eaf8ed;
  color: #169337;
}

.coach-stat-card.red .coach-stat-icon {
  background: #ffeaea;
  color: #ef2424;
}

.coach-stat-card.violet .coach-stat-icon {
  background: #f0eaff;
  color: #6735d4;
}

.coach-stat-card small,
.coach-stat-card p {
  display: block;
  margin: 0;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.coach-stat-card strong {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 4px;
  color: #07142c;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.coach-stat-card strong em {
  color: #172033;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.coach-stat-card p {
  margin-top: 7px;
  color: #8a94a6;
  font-size: 11px;
}

.coach-stat-card p.positive {
  color: #18a341;
}

.coach-stat-card p.negative {
  color: #f04438;
}

.coach-search-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 160px 180px auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid #d8e1ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 35, 65, 0.07);
}

.coach-search-field {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.coach-search-field span {
  color: #1f2a44;
  font-size: 11px;
  font-weight: 900;
}

.coach-search-field input,
.coach-search-field select {
  width: 100%;
  min-height: 38px;
  border: 1px solid #d8e1ee;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  outline: none;
  padding: 0 11px;
}

.coach-search-field input:focus,
.coach-search-field select:focus {
  border-color: #0b5ee8;
  box-shadow: 0 0 0 3px rgba(11, 94, 232, 0.12);
}

.coach-clear-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid #2563eb;
  border-radius: 8px;
  background: #fff;
  color: #2563eb;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.coach-clear-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.coach-filter-panel,
.coach-table-panel {
  border: 1px solid #dce5f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(15, 35, 65, 0.07);
}

.coach-filter-panel {
  padding: 14px 16px 16px;
}

.coach-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.coach-filter-head h2 {
  margin: 0;
  color: #0d2342;
  font-size: 16px;
  font-weight: 900;
}

.coach-filter-head span {
  color: #244b9b;
  font-size: 11px;
  font-weight: 900;
}

.coach-filter-grid {
  display: grid;
  grid-template-columns: minmax(210px, 1.4fr) minmax(140px, 0.78fr) minmax(150px, 0.86fr) minmax(200px, 1fr) minmax(200px, 1fr) 188px;
  gap: 12px 14px;
  align-items: end;
}

.coach-field {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.coach-field span {
  color: #1f2a44;
  font-size: 12px;
  font-weight: 900;
}

.coach-field input,
.coach-field select {
  width: 100%;
  min-height: 38px;
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  outline: none;
  padding: 0 11px;
  box-shadow: inset 0 1px 3px rgba(15, 35, 65, 0.04);
}

.coach-field input:focus,
.coach-field select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.range-field {
  grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
}

.range-field span {
  grid-column: 1 / -1;
}

.range-field b {
  align-self: center;
  color: #64748b;
  text-align: center;
}

.coach-filter-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.coach-reset-button,
.coach-search-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.coach-reset-button {
  border: 1px solid #2563eb;
  background: #fff;
  color: #2563eb;
}

.coach-search-button {
  border: 1px solid #0b5ee8;
  background: #0b5ee8;
  color: #fff;
  box-shadow: 0 8px 14px rgba(11, 94, 232, 0.22);
}

.coach-reset-button svg,
.coach-search-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.coach-table-panel {
  overflow: hidden;
  margin-top: 0;
  border-color: #d8e1ee;
  box-shadow: 0 8px 22px rgba(15, 35, 65, 0.08);
}

.coach-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  background: #fff;
}

.coach-table th {
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid #d8e1ee;
  color: #0c1d38;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.coach-table td {
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid #edf2f7;
  color: #1f2937;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  vertical-align: middle;
}

.coach-table tbody tr:nth-child(even) td {
  background: #fbfdff;
}

.coach-table tbody tr:hover td {
  background: #f5f9ff;
}

.coach-table th:nth-child(1),
.coach-table td:nth-child(1) {
  text-align: left;
}

.coach-table th:nth-child(6),
.coach-table td:nth-child(6) {
  width: 150px;
}

.coach-name-cell {
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
}

.coach-rate-cell {
  color: #0b2447;
  font-variant-numeric: tabular-nums;
}

.coach-arena-pill {
  min-width: 92px;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: #174a8f;
  font-size: 11px;
  font-weight: 900;
}

.coach-status {
  min-width: 72px;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.coach-status.is-active {
  background: #dcf7df;
  color: #087c24;
}

.coach-status.is-inactive {
  background: #ffe1e1;
  color: #e51b1b;
}

.coach-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.coach-actions button {
  width: 32px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #fff;
  color: #0b5ee8;
  cursor: pointer;
}

.coach-actions button.danger {
  border-color: #fecaca;
  color: #ef2424;
}

.coach-actions svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.coach-empty {
  height: 48px;
  color: #667085;
  text-align: center;
}

.coach-add-button,
.coach-back-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.coach-add-button {
  color: #fff;
  background: #0b5ee8;
  box-shadow: 0 8px 16px rgba(11, 94, 232, 0.2);
}

.coach-back-button {
  border: 1px solid #d8e1ee;
  color: #0b2447;
  background: #fff;
}

.coach-add-button svg,
.coach-back-button svg {
  width: 16px;
  height: 16px;
}

.add-coach-panel {
  width: min(720px, 100%);
  border: 1px solid #d8e1ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 35, 65, 0.08);
}

.add-coach-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
}

.add-coach-field {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.add-coach-field span,
.add-coach-toggle span {
  color: #0c1d38;
  font-size: 12px;
  font-weight: 900;
}

.add-coach-field input,
.add-coach-field select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d8e1ee;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  outline: none;
  padding: 0 12px;
}

.add-coach-field input:focus,
.add-coach-field select:focus {
  border-color: #0b5ee8;
  box-shadow: 0 0 0 3px rgba(11, 94, 232, 0.12);
}

.add-coach-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: end;
}

.add-coach-toggle input {
  width: 18px;
  height: 18px;
  accent-color: #0b5ee8;
}

.add-coach-message {
  grid-column: 1 / -1;
  min-height: 18px;
  margin: 0;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.add-coach-message.success {
  color: #087c24;
}

.add-coach-message.error {
  color: #e51b1b;
}

.add-coach-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.add-coach-actions .coach-reset-button,
.add-coach-actions .coach-search-button {
  min-width: 130px;
  text-decoration: none;
}

.coach-dialog {
  width: min(680px, calc(100vw - 28px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: transparent;
}

.coach-dialog::backdrop {
  background: rgba(4, 18, 38, 0.48);
}

.coach-dialog-card {
  position: relative;
  border: 1px solid #d8e1ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(4, 18, 38, 0.24);
}

.coach-dialog-head {
  grid-column: 1 / -1;
  padding-right: 34px;
}

.coach-dialog-head h2 {
  margin: 0;
  color: #0b2447;
  font-size: 20px;
  font-weight: 900;
}

.coach-dialog-head p {
  margin: 3px 0 0;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.coach-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid #d8e1ee;
  border-radius: 8px;
  background: #fff;
  color: #667085;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .monitor-page {
    grid-template-columns: 198px minmax(0, 1fr);
  }

  .monitor-sidebar {
    width: 198px;
  }

  .monitor-sidebar-collapsed {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .monitor-sidebar-collapsed .monitor-sidebar {
    width: 70px;
  }

  .monitor-main {
    padding: 12px;
  }

  .monitor-kpi-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }

  .monitor-grid-two,
  .monitor-grid-two.compact {
    grid-template-columns: 1fr;
  }

  .monitor-sport-strip {
    grid-template-columns: repeat(4, minmax(132px, 1fr));
  }

  .coach-stat-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 14px;
  }

  .coach-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coach-search-panel {
    grid-template-columns: minmax(220px, 1fr) 140px 160px auto;
  }

  .coach-filter-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .monitor-page {
    display: block;
  }

  .monitor-sidebar {
    position: fixed;
    width: 210px;
    height: 100dvh;
    grid-template-rows: auto auto 1fr;
    overflow-y: auto;
    z-index: 30;
  }

  .monitor-menu-toggle {
    justify-self: end;
  }

  .monitor-main {
    grid-column: auto;
    margin-left: 58px;
  }

  .monitor-sidebar-collapsed .monitor-sidebar {
    width: 58px;
    padding: 10px 7px;
    grid-template-rows: auto;
  }

  .monitor-sidebar-collapsed .monitor-logo,
  .monitor-sidebar-collapsed .monitor-nav,
  .monitor-sidebar-collapsed .monitor-user-card {
    display: none;
  }

  .monitor-sidebar-collapsed .monitor-menu-toggle {
    justify-self: center;
  }

  .monitor-sidebar-collapsed .monitor-logo img {
    width: 116px;
    max-height: 82px;
  }

  .monitor-sidebar-collapsed .monitor-nav {
    justify-items: stretch;
  }

  .monitor-sidebar-collapsed .monitor-nav a {
    width: auto;
    min-height: 48px;
    grid-template-columns: 28px minmax(0, 1fr);
    justify-items: start;
    gap: 10px;
    padding: 0 14px;
    font-size: 13px;
  }

  .monitor-sidebar-collapsed .monitor-user-card {
    display: none;
  }

  .monitor-logo {
    min-height: 76px;
  }

  .monitor-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .monitor-user-card {
    display: none;
  }

  .monitor-topbar {
    grid-template-columns: 1fr;
  }

  .monitor-toolbar {
    justify-content: flex-start;
  }

  .coach-schedule-monitor-page .coach-schedule-date-nav {
    grid-template-columns: 1fr 1fr;
  }

  .coach-schedule-monitor-page .coach-schedule-date-strip {
    grid-column: 1 / -1;
    order: 3;
  }

  .coach-monitor-footer {
    grid-template-columns: 1fr;
  }

  .coach-monitor-name-legend {
    justify-content: flex-start;
  }

  .monitor-kpi-grid,
  .monitor-sport-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .monitor-donut-wrap {
    grid-template-columns: 1fr;
  }

  .monitor-table-panel {
    overflow-x: auto;
  }

  .monitor-table {
    min-width: 900px;
  }

  .coach-table-panel {
    overflow-x: auto;
  }

  .coach-table {
    min-width: 1080px;
  }
}

@media (max-width: 620px) {
  .monitor-main {
    padding: 14px 10px;
  }

  .monitor-topbar h1 {
    font-size: 23px;
  }

  .monitor-nav {
    grid-template-columns: 1fr;
  }

  .monitor-kpi-grid,
  .monitor-sport-strip {
    grid-template-columns: 1fr;
  }

  .monitor-kpi {
    grid-template-columns: 50px minmax(0, 1fr);
    padding: 12px;
  }

  .coach-main {
    gap: 6px;
    padding: 10px;
  }

  .coach-stat-grid,
  .coach-filter-grid,
  .coach-search-panel {
    grid-template-columns: 1fr;
  }

  .coach-stat-card {
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 14px;
  }

  .coach-stat-icon {
    width: 50px;
    height: 50px;
  }

  .coach-stat-card strong {
    font-size: 28px;
  }

  .coach-filter-panel {
    padding: 16px 14px;
  }

  .coach-filter-actions {
    grid-template-columns: 1fr;
  }

  .monitor-kpi-icon {
    width: 46px;
    height: 46px;
  }

  .monitor-segment,
  .monitor-filter-select,
  .monitor-filter-button {
    width: 100%;
  }

  .monitor-filter-select {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 7px 12px;
  }

  .coach-monitor-panel {
    padding: 10px;
  }

  .coach-monitor-panel-head {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .coach-monitor-meta {
    justify-content: flex-start;
  }

  .coach-schedule-state-legend,
  .coach-schedule-monitor-page .coach-schedule-note {
    width: 100%;
  }

  .coach-schedule-monitor-page .coach-schedule-date-nav {
    gap: 8px;
  }

  .coach-schedule-monitor-page .booking-date-button {
    min-height: 60px;
  }

  .monitor-bar-chart {
    gap: 4px;
    height: 136px;
  }

  .monitor-chart-axis {
    font-size: 9px;
  }

  .monitor-donut {
    width: min(198px, 76vw);
  }

  .monitor-legend p {
    grid-template-columns: 14px minmax(86px, 1fr) 52px 78px;
    gap: 7px;
    font-size: 11px;
  }

  .monitor-court-ranking li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .monitor-court-ranking em {
    text-align: left;
  }
}

.court-booking-schedule-page {
  --court-schedule-navy: #042a59;
  --court-schedule-blue: #083b86;
  background:
    radial-gradient(circle at 76% 0, rgba(16, 88, 170, 0.08), transparent 26%),
    #f6f8fc;
}

.court-booking-schedule-page .court-schedule-main {
  gap: 12px;
  padding: 16px 18px 14px;
}

.court-schedule-top,
.court-schedule-controls,
.court-schedule-tools {
  min-width: 0;
  display: grid;
  align-items: center;
  gap: 12px;
}

.court-schedule-top {
  grid-template-columns: minmax(280px, 1fr) auto;
}

.court-schedule-top h1 {
  margin: 0;
  color: #061326;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
}

.court-schedule-top p {
  margin: 5px 0 0;
  color: #718096;
  font-size: 13px;
  font-weight: 700;
}

.court-schedule-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
}

.court-schedule-icon-button,
.court-schedule-venue,
.court-schedule-date-shift,
.court-schedule-light-button,
.court-schedule-refresh {
  min-height: 42px;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  color: #11243d;
  background: #fff;
  box-shadow: 0 6px 16px rgba(16, 34, 58, 0.08);
  cursor: pointer;
}

.court-schedule-icon-button {
  position: relative;
  width: 38px;
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.court-schedule-icon-button span {
  position: absolute;
  top: -3px;
  right: 0;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #ff781d;
  font-size: 9px;
  font-weight: 800;
}

.court-schedule-venue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px 0 17px;
  color: #536276;
  font-size: 13px;
  font-weight: 800;
}

.court-schedule-venue svg {
  width: 15px;
  height: 15px;
}

.court-schedule-sports {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  overflow: hidden;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 34, 58, 0.08);
}

.court-schedule-sport-tab {
  min-width: 0;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-right: 1px solid #dce4ef;
  color: #0f172a;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.court-schedule-sport-tab:last-child {
  border-right: 0;
}

.court-schedule-sport-tab img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.court-schedule-sport-tab.is-active {
  color: #fff;
  background: linear-gradient(180deg, #0b4797, #073478);
  box-shadow: inset 0 -4px 0 #ff781d;
}

.court-schedule-sport-tab.is-active img {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.court-schedule-controls {
  grid-template-columns: 250px 44px minmax(420px, 1fr) 44px auto;
}

.court-schedule-view-toggle {
  width: 250px;
}

.court-schedule-date-shift {
  width: 44px;
  display: grid;
  place-items: center;
  padding: 0;
}

.court-schedule-date-strip {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(74px, 1fr));
  gap: 10px;
}

.court-schedule-date {
  min-height: 70px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1px;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  color: #0d2342;
  background: #fff;
  box-shadow: 0 6px 16px rgba(16, 34, 58, 0.06);
  cursor: pointer;
}

.court-schedule-date small {
  color: #536276;
  font-size: 10px;
  font-weight: 800;
}

.court-schedule-date strong {
  color: #0b397b;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.court-schedule-date.is-active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(180deg, #0b4797, #073478);
  box-shadow: 0 12px 24px rgba(7, 52, 120, 0.26);
}

.court-schedule-date.is-active small,
.court-schedule-date.is-active strong {
  color: #fff;
}

.court-schedule-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 14px;
}

.court-schedule-kpis article {
  min-height: 96px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  gap: 0 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 34, 58, 0.08);
}

.court-schedule-kpi-icon {
  grid-row: 1 / span 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.court-schedule-kpi-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.1;
}

.court-schedule-kpi-icon.blue { color: #0b4ea2; background: #e5f1ff; }
.court-schedule-kpi-icon.orange { color: #f3740b; background: #fff0df; }
.court-schedule-kpi-icon.green { color: #4cae38; background: #e9f8e3; }
.court-schedule-kpi-icon.purple { color: #8754d9; background: #efe5ff; }

.court-schedule-kpis small {
  grid-column: 2 / span 2;
  color: #536276;
  font-size: 12px;
  font-weight: 800;
}

.court-schedule-kpis strong {
  color: #092b5d;
  font-size: 26px;
  font-weight: 800;
}

.court-schedule-kpis em {
  align-self: end;
  color: #536276;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.court-schedule-tools {
  grid-template-columns: minmax(220px, 300px) auto minmax(0, 1fr) auto auto;
}

.court-schedule-search {
  min-height: 42px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(16, 34, 58, 0.06);
}

.court-schedule-search svg {
  justify-self: center;
  width: 17px;
  height: 17px;
  color: #8b97a7;
}

.court-schedule-search input {
  width: 100%;
  min-width: 0;
  height: 40px;
  border: 0;
  outline: 0;
  color: #0f172a;
  background: transparent;
  font-size: 12px;
}

.court-schedule-light-button,
.court-schedule-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 800;
}

.court-schedule-refresh {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(180deg, #0b4797, #073478);
}

.court-schedule-table-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 34, 58, 0.08);
}

.court-schedule-grid-wrap {
  min-width: 0;
  overflow: auto;
  padding: 0;
}

.court-schedule-grid {
  width: 100%;
  min-width: 1280px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.court-schedule-grid th,
.court-schedule-grid td {
  height: 42px;
  border-right: 1px solid #e5ebf3;
  border-bottom: 1px solid #e5ebf3;
  text-align: center;
  vertical-align: middle;
}

.court-schedule-grid thead th {
  height: 60px;
  color: #fff;
  background: linear-gradient(180deg, #063a75, #002b60);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.court-schedule-grid thead th:first-child,
.court-schedule-grid tbody th {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 132px;
  min-width: 132px;
  color: #fff;
  background: linear-gradient(180deg, #063a75, #002b60);
  box-shadow: 8px 0 14px rgba(18, 51, 107, 0.12);
}

.court-schedule-grid thead th:first-child {
  z-index: 3;
}

.court-schedule-grid tbody th span {
  display: block;
  padding: 0 10px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.court-schedule-status {
  width: min(90%, 86px);
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 5px;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
}

.court-schedule-status svg {
  width: 11px;
  height: 11px;
  stroke-width: 2.4;
}

.court-schedule-status--available { color: #3f9e2f; background: #eaf8e5; }
.court-schedule-status--booked { color: #e36b0a; background: #fff0df; }
.court-schedule-status--tournament { color: #8656d5; background: #f0e7ff; }
.court-schedule-status--maintenance { color: #2e7bd8; background: #e7f0ff; }
.court-schedule-status--blocked { color: #e03b45; background: #ffe8eb; }
.court-schedule-status--past { color: #778292; background: #eef1f5; }

.court-schedule-legend {
  min-height: 58px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 12px 18px;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 34, 58, 0.06);
}

.court-schedule-legend span {
  display: grid;
  grid-template-columns: 10px auto;
  grid-template-rows: auto auto;
  gap: 0 8px;
  align-items: center;
}

.court-schedule-legend i {
  grid-row: 1 / span 2;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.court-schedule-legend strong {
  color: #536276;
  font-size: 10px;
  font-weight: 800;
}

.court-schedule-legend small {
  color: #8a95a5;
  font-size: 9px;
  font-weight: 700;
}

.court-schedule-legend em {
  margin-left: auto;
  color: #8a95a5;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.court-schedule-legend .available { background: #51ae3e; }
.court-schedule-legend .booked { background: #f3740b; }
.court-schedule-legend .tournament { background: #8656d5; }
.court-schedule-legend .maintenance { background: #2e7bd8; }
.court-schedule-legend .blocked { background: #e03b45; }
.court-schedule-legend .past { background: #a1aab6; }

@media (max-width: 1180px) {
  .court-schedule-sports {
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    overflow: auto;
  }

  .court-schedule-controls {
    grid-template-columns: 250px 44px minmax(300px, 1fr) 44px;
  }

  .court-schedule-picker {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .court-schedule-kpis {
    grid-template-columns: repeat(2, minmax(170px, 1fr));
  }
}

@media (max-width: 980px) {
  .court-schedule-top,
  .court-schedule-controls,
  .court-schedule-tools {
    grid-template-columns: 1fr;
  }

  .court-schedule-top-actions,
  .court-schedule-picker {
    justify-self: start;
  }

  .court-schedule-view-toggle {
    width: 100%;
  }

  .court-schedule-date-strip {
    grid-template-columns: repeat(7, minmax(66px, 1fr));
    overflow-x: auto;
  }

  .court-schedule-date-shift {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .court-booking-schedule-page .court-schedule-main {
    padding: 12px 10px;
  }

  .court-schedule-top h1 {
    font-size: 24px;
  }

  .court-schedule-top-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .court-schedule-venue {
    flex: 1 1 100%;
    justify-content: center;
  }

  .court-schedule-sports,
  .court-schedule-kpis {
    grid-template-columns: 1fr;
  }

  .court-schedule-date-strip {
    grid-template-columns: repeat(7, 72px);
  }

  .court-schedule-kpis article {
    grid-template-columns: 54px minmax(0, 1fr) auto;
    padding: 14px;
  }

  .court-schedule-kpi-icon {
    width: 54px;
    height: 54px;
  }

  .court-schedule-legend {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .court-schedule-legend em {
    margin-left: 0;
  }
}

.monitor-page.court-refund-page .court-refund-main {
  align-content: start;
  grid-auto-rows: max-content;
  gap: 6px;
  padding: 8px 12px 12px;
}

.court-refund-monitor-topbar {
  min-height: 0;
  margin-bottom: 0;
  align-items: center;
}

.court-refund-monitor-topbar h1 {
  position: relative;
  padding-left: 10px;
  font-size: 22px;
  line-height: 1.08;
}

.court-refund-monitor-topbar h1::before {
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 4px;
  width: 4px;
  content: "";
  border-radius: 999px;
  background: #1c5fd5;
}

.court-refund-monitor-topbar p {
  margin-top: 1px;
  line-height: 1.25;
}

.monitor-page.court-refund-page .court-refund-stats {
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 7px;
  margin: 0;
}

.monitor-page.court-refund-page .court-refund-stat {
  min-height: 66px;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 10px;
}

.monitor-page.court-refund-page .court-refund-stat > span {
  width: 38px;
  height: 38px;
}

.monitor-page.court-refund-page .court-refund-stat strong {
  margin-top: 1px;
  font-size: 18px;
}

.monitor-page.court-refund-page .court-refund-stat small,
.monitor-page.court-refund-page .court-refund-stat em {
  font-size: 10px;
  line-height: 1.25;
}

.court-refund-filter-panel {
  padding: 8px;
}

.monitor-page.court-refund-page .court-refund-filters {
  position: sticky;
  top: 8px;
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) repeat(3, minmax(130px, 0.82fr)) repeat(2, minmax(128px, 0.75fr)) minmax(110px, 0.55fr);
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.monitor-page.court-refund-page .court-refund-filters label {
  gap: 5px;
  color: #536276;
  font-size: 10px;
  font-weight: 800;
}

.monitor-page.court-refund-page .court-refund-filters input,
.monitor-page.court-refund-page .court-refund-filters select {
  min-height: 38px;
  border-color: #e0e5ec;
  border-radius: 7px;
  font-size: 12px;
}

.monitor-page.court-refund-page .court-refund-filter-actions {
  grid-template-columns: 1fr;
  gap: 0;
}

.monitor-page.court-refund-page .court-refund-search-button,
.monitor-page.court-refund-page .court-refund-toolbar-action {
  min-height: 38px;
  border-radius: 7px;
}

.monitor-page.court-refund-page.search-layout-collapsed .court-refund-filters {
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(130px, 0.75fr)) minmax(120px, 0.55fr);
  padding: 0;
  box-shadow: none;
}

.monitor-page.court-refund-page .court-refund-table-panel {
  margin: 0;
  border-color: var(--monitor-line);
  border-radius: 8px;
  box-shadow: var(--monitor-shadow);
}

.monitor-page.court-refund-page .court-refund-table-wrap {
  border-radius: 8px;
}

.monitor-page.court-refund-page .court-refund-table {
  table-layout: fixed;
  font-size: 12px;
}

.monitor-page.court-refund-page .court-refund-table th {
  padding: 10px 10px;
  background: #f8fafc;
  color: #536276;
  font-size: 10px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.monitor-page.court-refund-page .court-refund-table td {
  padding: 11px 10px;
  color: #061b36;
}

.monitor-page.court-refund-page .court-refund-table tbody tr:hover {
  background: #fff7ef;
}

.monitor-page.court-refund-page .court-refund-ref {
  padding: 0;
  font-size: 12px;
}

.monitor-page.court-refund-page .court-refund-status {
  min-width: 104px;
  min-height: 28px;
  padding: 0 10px;
  font-size: 11px;
}

.monitor-page.court-refund-page .court-refund-actions {
  max-width: 116px;
  grid-template-columns: minmax(54px, 1fr) 36px;
  gap: 6px;
}

.monitor-page.court-refund-page .court-refund-view,
.monitor-page.court-refund-page .court-refund-upload {
  min-height: 32px;
  border-radius: 7px;
  font-size: 11px;
}

.monitor-page.court-refund-page .court-refund-table tfoot td {
  padding: 10px;
  background: #f8fafc;
}

.monitor-page.court-refund-page .court-refund-load-more {
  min-height: 40px;
  border-radius: 7px;
  box-shadow: none;
}

@media (max-width: 1180px) {
  .monitor-page.court-refund-page .court-refund-stats {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .monitor-page.court-refund-page .court-refund-filters {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .monitor-page.court-refund-page .court-refund-main {
    padding: 8px 10px 12px;
  }

  .monitor-page.court-refund-page .court-refund-table {
    min-width: 1120px;
  }
}

@media (max-width: 620px) {
  .monitor-page.court-refund-page .court-refund-stats,
  .monitor-page.court-refund-page .court-refund-filters,
  .monitor-page.court-refund-page.search-layout-collapsed .court-refund-filters {
    grid-template-columns: 1fr;
  }
}

.arena-page {
  background: #f7faff;
}

.arena-main {
  gap: 12px;
  padding: 10px 14px 12px;
  align-content: start;
  grid-auto-rows: max-content;
}

.arena-topbar {
  align-items: center;
  margin-bottom: 0;
}

.arena-topbar h1 {
  margin-bottom: 0;
  color: #07142c;
  font-size: 25px;
}

.arena-topbar p {
  margin-top: 1px;
}

.arena-add-button,
.arena-clear-button,
.arena-search-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border-radius: 7px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.arena-add-button,
.arena-search-button {
  border: 1px solid #0b5ee8;
  background: #0b5ee8;
  color: #fff;
}

.arena-add-button {
  min-height: 42px;
  padding: 0 18px;
  font-size: 13px;
  box-shadow: 0 8px 16px rgba(11, 94, 232, 0.24);
}

.arena-clear-button {
  border: 1px solid #d8e1ee;
  background: #fff;
  color: #334155;
}

.arena-add-button svg,
.arena-clear-button svg,
.arena-search-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.arena-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 14px;
}

.arena-stat-card {
  min-width: 0;
  min-height: 96px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid #dce5f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 7px 16px rgba(15, 35, 65, 0.08);
}

.arena-stat-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.arena-stat-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.arena-stat-card.blue .arena-stat-icon { background: #eaf2ff; color: #175ee8; }
.arena-stat-card.green .arena-stat-icon { background: #eaf8ed; color: #169337; }
.arena-stat-card.orange .arena-stat-icon { background: #fff0df; color: #f2760b; }
.arena-stat-card.violet .arena-stat-icon { background: #f0eaff; color: #6735d4; }

.arena-stat-card small,
.arena-stat-card p {
  display: block;
  margin: 0;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.arena-stat-card strong {
  display: block;
  margin-top: 3px;
  color: #07142c;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.arena-stat-card p {
  margin-top: 7px;
  color: #8a94a6;
  font-size: 11px;
}

.arena-search-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) 190px 170px 150px minmax(210px, 0.8fr) auto auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid #d8e1ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 35, 65, 0.07);
}

.arena-search-field {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.arena-search-field span {
  color: #1f2a44;
  font-size: 11px;
  font-weight: 900;
}

.arena-search-field input,
.arena-search-field select {
  width: 100%;
  min-height: 38px;
  border: 1px solid #d8e1ee;
  border-radius: 7px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  outline: none;
  padding: 0 11px;
}

.arena-search-field input:focus,
.arena-search-field select:focus {
  border-color: #0b5ee8;
  box-shadow: 0 0 0 3px rgba(11, 94, 232, 0.12);
}

.arena-price-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.arena-table-panel {
  overflow: hidden;
  border: 1px solid #dce5f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(15, 35, 65, 0.07);
}

.arena-table-wrap {
  width: 100%;
  overflow: auto;
}

.arena-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.arena-table th {
  padding: 12px 14px;
  border-bottom: 1px solid #e5edf7;
  background: #fbfdff;
  color: #1f2a44;
  font-size: 12px;
  font-weight: 900;
  text-align: left;
  white-space: nowrap;
}

.arena-table td {
  padding: 8px 14px;
  border-bottom: 1px solid #edf2f8;
  color: #1f2937;
  font-size: 12px;
  font-weight: 750;
  vertical-align: middle;
}

.arena-table tbody tr:nth-child(even) td { background: #fcfdff; }
.arena-table tbody tr:hover td { background: #f5f9ff; }

.arena-table th:nth-child(1),
.arena-table td:nth-child(1),
.arena-table th:nth-child(6),
.arena-table td:nth-child(6),
.arena-table th:nth-child(7),
.arena-table td:nth-child(7) {
  text-align: center;
}

.arena-name-cell {
  color: #07142c;
  font-weight: 900;
}

.arena-detail-cell {
  max-width: 280px;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arena-price-cell {
  font-variant-numeric: tabular-nums;
}

.arena-sport-pill,
.arena-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.arena-sport-pill {
  background: #eaf2ff;
  color: #0b5ee8;
}

.arena-sport-pill.sport-football { background: #eaf8ed; color: #169337; }
.arena-sport-pill.sport-table-tennis { background: #fff4d9; color: #b77900; }
.arena-sport-pill.sport-squash { background: #f0eaff; color: #6735d4; }
.arena-sport-pill.sport-badminton { background: #e7fbf4; color: #0b946d; }

.arena-status.is-active {
  background: #eaf8ed;
  color: #169337;
}

.arena-status.is-inactive {
  background: #ffeaea;
  color: #ef2424;
}

.arena-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.arena-actions button {
  width: 30px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid #bfd3f5;
  border-radius: 6px;
  background: #fff;
  color: #0b5ee8;
  cursor: pointer;
}

.arena-actions button.danger {
  border-color: #ffc6c6;
  color: #ef2424;
}

.arena-actions svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.arena-empty {
  height: 86px;
  color: #64748b;
  font-weight: 900;
  text-align: center;
}

.arena-table-footer {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.arena-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.arena-pagination button {
  min-width: 32px;
  height: 32px;
  border: 1px solid #d8e1ee;
  border-radius: 7px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.arena-pagination button:first-child {
  min-width: 78px;
}

.arena-pagination button.is-active {
  border-color: #0b5ee8;
  background: #0b5ee8;
  color: #fff;
}

.arena-pagination button:disabled {
  color: #a0aec0;
  cursor: default;
}

.arena-dialog {
  width: min(520px, calc(100vw - 28px));
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
}

.arena-dialog::backdrop {
  background: rgba(5, 16, 34, 0.42);
  backdrop-filter: blur(3px);
}

.arena-dialog-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid #dce5f2;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 35, 65, 0.24);
}

.arena-dialog-head {
  padding-right: 32px;
}

.arena-dialog-head h2 {
  margin: 0;
  color: #07142c;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
}

.arena-dialog-head p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
}

.arena-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: 1px solid #d8e1ee;
  border-radius: 7px;
  background: #fff;
  color: #64748b;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.arena-edit-field {
  display: grid;
  gap: 6px;
}

.arena-edit-field span,
.arena-edit-toggle span {
  color: #1f2a44;
  font-size: 12px;
  font-weight: 900;
}

.arena-edit-field input,
.arena-edit-field select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d8e1ee;
  border-radius: 7px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  outline: none;
  padding: 0 12px;
}

.arena-edit-field input:focus,
.arena-edit-field select:focus {
  border-color: #0b5ee8;
  box-shadow: 0 0 0 3px rgba(11, 94, 232, 0.12);
}

.arena-edit-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.arena-edit-toggle input {
  width: 18px;
  height: 18px;
  accent-color: #0b5ee8;
}

.arena-edit-message {
  min-height: 18px;
  margin: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.arena-edit-message.error {
  color: #ef2424;
}

.arena-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 2px;
}

.arena-edit-actions .arena-clear-button,
.arena-edit-actions .arena-search-button {
  min-width: 96px;
  min-height: 40px;
}

@media (max-width: 1280px) {
  .arena-search-panel {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .arena-search-name {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .arena-stat-grid,
  .arena-search-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .arena-search-name {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .arena-main {
    padding: 8px 10px 12px;
  }

  .arena-stat-grid,
  .arena-search-panel {
    grid-template-columns: 1fr;
  }

  .arena-table-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
