
body {
  font-family: Georgia, "Times New Roman", serif;
  background: #70061C;
  background: linear-gradient(0deg, rgb(112, 6, 28) 0%, rgb(202, 118, 23) 65%, rgb(227, 180, 10) 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: #70061C;
  background: linear-gradient(0deg, rgb(112, 6, 28) 0%, rgb(202, 118, 23) 65%, rgb(227, 180, 10) 100%);
  z-index: -1;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  padding: 1rem;
  margin: 1rem;
  min-height: 100vh;
}

nav.app-nav {
  display: flex;
  align-items: center;
  padding: 9px 24px;
  background: #70061c;
  color: rgba(255, 255, 255, 0.7);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  position: relative;
}
nav.app-nav a, nav.app-nav button.logout-submit {
  color: inherit;
}
nav.app-nav .nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 18px;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}
nav.app-nav .nav-brand__icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
}
nav.app-nav button.logout-submit {
  background: none;
  font-size: 14px;
}
nav.app-nav button.logout-submit:hover {
  color: #fff;
}
nav.app-nav .nav-hamburger {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}
nav.app-nav .nav-hamburger:hover {
  background: rgba(255, 255, 255, 0.15);
}
nav.app-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
nav.app-nav .nav-link-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11.5px;
  white-space: nowrap;
}
nav.app-nav .nav-link-item:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
nav.app-nav .nav-link-item.active {
  color: #fff;
  font-weight: 700;
}
nav.app-nav .nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  flex-shrink: 0;
}
nav.app-nav .nav-meta {
  font-size: 11.5px;
  opacity: 1;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
nav.app-nav .nav-meta:hover {
  color: #fff;
  text-decoration: underline;
}

.breadcrumbs {
  font-size: 14px;
  opacity: 0.9;
  background: #EEEEEE;
  padding: 10px 14px;
  box-shadow: 1px 1px 1px #e8e9ed;
}

.breadcrumb-link {
  text-decoration: none;
}

.breadcrumb-sep {
  margin: 0 8px;
  opacity: 0.5;
}

.breadcrumb-current {
  font-weight: 600;
}

.title-banner {
  display: flex;
  background-color: #F7F7F7;
  justify-content: space-between;
  align-items: center;
  padding-left: 1rem;
  margin-left: 10px;
  margin-right: 10px;
}

.horizontal-grid {
  display: inline-flex;
  flex-direction: row;
  align-items: stretch;
  margin-top: 0.5rem;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 1rem;
}
.horizontal-grid.center-items {
  justify-content: space-evenly !important;
}
.horizontal-grid .stretch-column {
  flex: 1 1 auto;
  min-width: 5rem;
}
.horizontal-grid .shrink-column {
  flex: 0 0 auto;
}
.horizontal-grid .stretch-column.center-items, .horizontal-grid shrink-column.center-items {
  align-items: center;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.vertical-grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}
.vertical-grid .stretch-column {
  flex: 1 1 auto;
  min-height: 0;
}
.vertical-grid .shrink-column {
  flex: 0 0 auto;
}

:root {
  --input-color: black;
  --input-border: #CDD9ED;
  --input-background: #fff;
  --input-placeholder: #CBD1DC;
  --input-border-focus: #275EFE;
  --group-color: var(--input-color);
  --group-border: var(--input-border);
  --group-background: #EEF4FF;
  --group-color-focus: #fff;
  --group-border-focus: var(--input-border-focus);
  --group-background-focus: #678EFE;
}

.form-field,
form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=color]),
form select,
form textarea {
  display: block;
  width: 100%;
  padding: 8px 16px;
  line-height: 25px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  border-radius: 6px;
  -webkit-appearance: none;
  color: var(--input-color);
  border: 1px solid var(--input-border);
  background: var(--input-background);
  transition: border 0.3s ease;
  box-sizing: border-box;
}
.form-field::placeholder,
form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=color])::placeholder,
form select::placeholder,
form textarea::placeholder {
  color: var(--input-placeholder);
}
.form-field:focus,
form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=color]):focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: var(--input-border-focus);
}

.form-group {
  position: relative;
  display: flex;
  width: 100%;
}
.form-group > span, .form-group > label,
.form-group .form-field, .form-group > input, .form-group > select, .form-group > i, .form-group > textarea {
  white-space: nowrap;
  display: block;
}
.form-group > span:not(:first-child):not(:last-child), .form-group > label:not(:first-child):not(:last-child),
.form-group .form-field:not(:first-child):not(:last-child), .form-group > input:not(:first-child):not(:last-child), .form-group > select:not(:first-child):not(:last-child), .form-group > i:not(:first-child):not(:last-child), .form-group > textarea:not(:first-child):not(:last-child) {
  border-radius: 0;
}
.form-group > span:first-child, .form-group > label:first-child,
.form-group .form-field:first-child, .form-group > input:first-child, .form-group > select:first-child, .form-group > i:first-child, .form-group > textarea:first-child {
  border-radius: 6px 0 0 6px !important;
}
.form-group > span:last-child, .form-group > label:last-child,
.form-group .form-field:last-child, .form-group > input:last-child, .form-group > select:last-child, .form-group > i:last-child, .form-group > textarea:last-child {
  border-radius: 0 6px 6px 0 !important;
}
.form-group > span:not(:first-child), .form-group > label:not(:first-child),
.form-group .form-field:not(:first-child), .form-group > input:not(:first-child), .form-group > select:not(:first-child), .form-group > i:not(:first-child), .form-group > textarea:not(:first-child) {
  margin-left: -1px;
}
.form-group .form-field, .form-group > input, .form-group > select, .form-group > textarea {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  width: 1%;
  margin-top: 0;
}
.form-group > span, .form-group > i, .form-group > label {
  text-align: center;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 25px;
  letter-spacing: normal;
  color: var(--group-color);
  background: var(--group-background);
  border: 1px solid var(--group-border);
  transition: background 0.3s ease, border 0.3s ease, color 0.3s ease;
  cursor: default;
  margin-top: 0;
}
.form-group:focus-within > span, .form-group:focus-within > label {
  color: var(--group-color-focus);
  background: var(--group-background-focus);
  border-color: var(--group-border-focus);
}

.form-group:has(> label) {
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
}
.form-group:has(> label) > label:not(.checkbox-label) {
  display: block;
  text-align: left;
  white-space: normal;
  padding: 0;
  margin-top: 0;
  background: none;
  border: none;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  line-height: normal;
  color: #423d3d;
}
.form-group:has(> label):focus-within > label:not(.checkbox-label) {
  background: none;
  border: none;
  color: #423d3d;
}
.form-group:has(> label) > input, .form-group:has(> label) > select, .form-group:has(> label) .form-field {
  width: 100%;
  box-sizing: border-box;
  flex: none;
  height: 38px;
  border-radius: 8px !important;
  margin-left: 0 !important;
  white-space: normal;
  border: 1px solid #ddd;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 36px;
  color: #1a1a1a;
  padding: 0 11px;
}
.form-group:has(> label) > input:focus, .form-group:has(> label) > select:focus, .form-group:has(> label) .form-field:focus {
  border-color: #70061c;
}
.form-group:has(> label) > select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='5' viewBox='0 0 9 5'%3E%3Cpath d='M0 0L4.5 5L9 0Z' fill='%23423d3d'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 24px;
}
.form-group:has(> label) > textarea {
  width: 100%;
  box-sizing: border-box;
  flex: none;
  border-radius: 8px !important;
  margin-left: 0 !important;
  white-space: normal;
  border: 1px solid #ddd;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: #1a1a1a;
  padding: 9px 11px;
}
.form-group:has(> label) > textarea:focus {
  border-color: #70061c;
}

hr {
  border: none;
  border-top: 1px solid #f1e9d6;
  margin: 0.5em 0;
}

.modal-body hr {
  margin: 4px 0 18px;
}

.help-text {
  margin: 0 0 14px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  color: #8a8580;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12.5px;
  color: #423d3d;
  cursor: pointer;
}
.checkbox-label input[type=checkbox] {
  accent-color: #70061c;
  margin: 2px 0 0;
}

.checkbox-label-desc {
  font-weight: 400;
  color: #8a8580;
}

form input[type=checkbox],
form input[type=radio] {
  accent-color: #70061c;
}

form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #4a5568;
  margin-top: 8px;
  letter-spacing: 0.02em;
}
form input[type=submit]:not([class]) {
  margin-top: 10px;
  width: 100%;
}
form input.large-check[type=checkbox] {
  transform: scale(1.5); /* Enlarges the checkbox by 1.5 times */
  /* Add vendor prefixes for wider, though now less necessary, compatibility */
  -ms-transform: scale(1.5);
  -webkit-transform: scale(1.5);
  /* Add margin to prevent text overlap */
  margin: 10px;
}
form button.logout-submit {
  border: none;
}
form button.logout-submit:hover {
  cursor: pointer;
}

a {
  text-decoration: none;
  color: #2E2F30;
}

.nav-btn {
  border: 1px solid rgba(37, 36, 34, 0.8);
  border-radius: 8px;
  min-width: 30px;
  margin-top: 5px;
  padding: 8px 20px;
  background: #F7F7F7;
  background: linear-gradient(250deg, #EBEBEB 0%, #F7F7F7 33%, #EBEBEB 90%);
  border: 1px solid #DBDBDB;
  color: rgb(37, 36, 34);
}
.nav-btn:hover {
  background: rgb(255, 255, 255);
  background: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(247, 247, 247) 80%);
  box-shadow: 1px 1px 1px rgb(247, 247, 247);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 30px;
  margin-top: 5px;
  padding: 8px 20px;
  border-radius: 8px;
  border: 1px solid #70061c;
  background: rgba(112, 6, 28, 0.08);
  color: rgb(37, 36, 34);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn-accent:hover {
  background: #70061c;
  color: #fff;
}

.btn-nav-arrow {
  background: #fff;
  backface-visibility: hidden;
  border-radius: 0.375rem;
  border-style: solid;
  border-width: 0.125rem;
  border-color: #212121;
  box-sizing: border-box;
  color: #212121;
  cursor: pointer;
  display: inline-block;
  font-family: Circular, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  padding: 0.5rem 0.875rem;
  position: relative;
  text-align: center;
  text-decoration: none;
  transform: translateZ(0) scale(1);
  transition: transform 0.2s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.btn-nav-arrow:not(:disabled):hover {
  transform: scale(1.05);
}
.btn-nav-arrow:not(:disabled):hover:active {
  transform: scale(1.05) translateY(0.125rem);
}
.btn-nav-arrow:focus {
  outline: 0 solid transparent;
}
.btn-nav-arrow:focus::before {
  content: "";
  left: -0.375rem;
  pointer-events: none;
  position: absolute;
  top: -0.375rem;
  transition: border-radius;
  user-select: none;
}
.btn-nav-arrow:focus:not(:focus-visible) {
  outline: 0 solid transparent;
}
.btn-nav-arrow:focus:not(:focus-visible)::before {
  border-width: 0;
}
.btn-nav-arrow:not(:disabled):active {
  transform: translateY(0.125rem);
}

.btn-primary, form input[type=submit]:not([class]) {
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, 0.1) 0 2px 4px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  font-family: "Akzidenz Grotesk BQ Medium", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  outline: none;
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  transform: translateY(0);
  transition: transform 150ms, box-shadow 150ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  display: inline-block;
}
.btn-primary:hover, form input[type=submit]:hover:not([class]) {
  box-shadow: rgba(0, 0, 0, 0.15) 0 3px 9px 0;
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}
@media (min-width: 768px) {
  .btn-primary, form input[type=submit]:not([class]) {
    padding: 10px 30px;
  }
}
.btn-primary, form input[type=submit]:not([class]) {
  background-color: #70061c;
  border: 1px solid #70061c;
  border-radius: 8px;
  width: 100%;
}

.btn-secondary {
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, 0.1) 0 2px 4px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  font-family: "Akzidenz Grotesk BQ Medium", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  outline: none;
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  transform: translateY(0);
  transition: transform 150ms, box-shadow 150ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  display: inline-block;
}
.btn-secondary:hover {
  box-shadow: rgba(0, 0, 0, 0.15) 0 3px 9px 0;
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}
@media (min-width: 768px) {
  .btn-secondary {
    padding: 10px 30px;
  }
}
.btn-secondary {
  background-color: #296374;
  border: 1px solid #296374;
  width: 100%;
  margin-top: 8px;
}

.btn-tertiary {
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, 0.1) 0 2px 4px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  font-family: "Akzidenz Grotesk BQ Medium", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  outline: none;
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  transform: translateY(0);
  transition: transform 150ms, box-shadow 150ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  display: inline-block;
}
.btn-tertiary:hover {
  box-shadow: rgba(0, 0, 0, 0.15) 0 3px 9px 0;
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}
@media (min-width: 768px) {
  .btn-tertiary {
    padding: 10px 30px;
  }
}
.btn-tertiary {
  background-color: #dc2626;
  border: 1px solid #dc2626;
}

.btn-danger {
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, 0.1) 0 2px 4px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  font-family: "Akzidenz Grotesk BQ Medium", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  outline: none;
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  transform: translateY(0);
  transition: transform 150ms, box-shadow 150ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  display: inline-block;
}
.btn-danger:hover {
  box-shadow: rgba(0, 0, 0, 0.15) 0 3px 9px 0;
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}
@media (min-width: 768px) {
  .btn-danger {
    padding: 10px 30px;
  }
}
.btn-danger {
  background-color: #dc2626;
  border: 1px solid #dc2626;
}

.btn-confirm {
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, 0.1) 0 2px 4px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  font-family: "Akzidenz Grotesk BQ Medium", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  outline: none;
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  transform: translateY(0);
  transition: transform 150ms, box-shadow 150ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  display: inline-block;
}
.btn-confirm:hover {
  box-shadow: rgba(0, 0, 0, 0.15) 0 3px 9px 0;
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}
@media (min-width: 768px) {
  .btn-confirm {
    padding: 10px 30px;
  }
}
.btn-confirm {
  background-color: #16a34a;
  border: 1px solid #16a34a;
}

.bulk-skip-btn {
  background: none;
  border: none;
  color: #3d3b3b;
  cursor: pointer;
  font-size: 0.8rem;
  padding: 2px 4px;
}
.bulk-skip-btn:hover {
  color: #222;
  text-decoration: underline;
}

@media (max-width: 800px) {
  body {
    padding: 0 !important;
    padding-top: 70px !important;
    margin: 0 !important;
  }
  body.no-breadcrumbs {
    padding-top: 44px !important;
  }
  nav.app-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
  }
  nav.app-nav .nav-hamburger {
    display: block;
    margin-right: 12px;
  }
  nav.app-nav .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 6px 8px 10px;
    background: #70061c;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    z-index: 200;
  }
  nav.app-nav .nav-links.open {
    display: flex;
  }
  nav.app-nav .nav-links .nav-link-item {
    padding: 10px 12px;
    font-size: 15px;
    border-radius: 6px;
    gap: 10px;
  }
  .breadcrumbs {
    position: fixed;
    top: 44px;
    left: 0;
    right: 0;
    z-index: 299;
    font-size: 11px;
    padding: 4px 10px;
  }
}
.text-centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.toast {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9000;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 6px;
  font-size: 0.9em;
  line-height: 1.4;
  max-width: 420px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  animation: toast-in 0.22s ease-out;
}
.toast.toast--success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}
.toast.toast--error {
  background: #fff1f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}
.toast.toast--out {
  animation: toast-out 0.22s ease-in forwards;
}

.toast-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  opacity: 0.5;
  font-size: 0.85em;
  flex-shrink: 0;
  margin-top: 1px;
  color: inherit;
}
.toast-close:hover {
  opacity: 1;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes toast-out {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(16px);
  }
}
.panel {
  border: 1px solid #e8e9ed;
  border-radius: 3px;
  box-shadow: 1px 1px 1px #e8e9ed;
  background-color: #f9faf7;
  padding: 20px 10px;
  margin: 10px;
}
.panel.center {
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 800px) {
  .panel {
    margin: 0 0 10px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}

.panel.frosty {
  background-color: rgba(249, 250, 247, 0.5);
}

.alert-error {
  background: #b91c1c;
  color: #fff;
  font-weight: 600;
  font-size: 0.95em;
  border-left: 5px solid #7f1d1d;
  border-radius: 6px;
  padding: 12px 16px;
  margin: 0 0 14px;
  box-shadow: 0 3px 8px rgba(127, 29, 29, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  line-height: 1.5;
}
.alert-error > * + * {
  margin-top: 4px;
}

.highlighter {
  background: #ca7617;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95em;
  border-left: 5px solid #7f1d1d;
  border-radius: 6px;
  padding: 12px 16px;
  margin: 0 0 14px;
  box-shadow: 0 3px 8px rgba(127, 29, 29, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  line-height: 1.5;
}

.flash-notice {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 10px 14px;
  margin: 0 10px 10px;
  font-size: 0.9em;
}

.flash-alert {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  border-radius: 6px;
  padding: 10px 14px;
  margin: 0 10px 10px;
  font-size: 0.9em;
}

.empty-msg {
  color: #423d3d;
  font-style: italic;
  padding: 12px 4px;
}

.action-btn {
  padding: 2px 4px;
  color: #555;
  border-radius: 4px;
}
.action-btn:hover {
  color: #222;
  background: #EBEBEB;
}

.btn-action {
  background: none;
  border: none;
  padding: 2px 6px;
  cursor: pointer;
  color: #555;
  font-size: 1em;
  border-radius: 4px;
  line-height: 1;
}
.btn-action:hover {
  color: #222;
  background: #EBEBEB;
}
.btn-action.btn-action--confirm {
  color: #16a34a;
}
.btn-action.btn-action--confirm:hover {
  background: rgba(22, 163, 74, 0.1);
  color: rgb(15.9351351351, 118.0648648649, 53.6);
}
.btn-action.btn-action--danger {
  color: #dc2626;
}
.btn-action.btn-action--danger:hover {
  background: rgba(220, 38, 38, 0.1);
  color: rgb(178.25, 28.75, 28.75);
}
.btn-action.btn-action--disabled {
  color: #EBEBEB;
  cursor: not-allowed;
}
.btn-action.btn-action--disabled:hover {
  background: none;
  color: #EBEBEB;
}

table.object-list {
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  font-family: sans-serif;
  min-width: 400px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
table.object-list thead tr {
  background-color: #70061c;
  color: #ffffff;
  text-align: left;
}
table.object-list th, table.object-list td {
  padding: 12px 15px;
}
table.object-list tbody tr {
  border-bottom: 1px solid #ddd;
}
table.object-list tbody tr:nth-of-type(even) {
  background-color: #EEEBE7;
}
table.object-list tbody tr:nth-of-type(odd) {
  background-color: #FFFCF2;
}
table.object-list tbody tr:last-of-type {
  border-bottom: 2px solid #70061c;
}

.table-grid {
  display: grid;
  margin: 16px 0;
  font-size: 0.9em;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  overflow: hidden;
}
.table-grid .table-grid-header,
.table-grid .table-grid-row {
  display: contents;
}
.table-grid .table-grid-header > span,
.table-grid .table-grid-row > span {
  padding: 10px 15px;
  border-bottom: 1px solid #ddd;
}
.table-grid .table-grid-header > span {
  background-color: #70061c;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}
.table-grid .sortable-header {
  cursor: pointer;
  user-select: none;
}
.table-grid .sortable-header::after {
  content: "";
  margin-left: 6px;
  opacity: 0.4;
}
.table-grid .sortable-header:hover::after {
  opacity: 0.7;
}
.table-grid .sortable-header.sort-asc::after {
  content: "▲";
  opacity: 1;
}
.table-grid .sortable-header.sort-desc::after {
  content: "▼";
  opacity: 1;
}
.table-grid .table-grid-row:nth-child(even) > span {
  background-color: #EEEBE7;
}
.table-grid .table-grid-row:nth-child(odd) > span {
  background-color: #FFFCF2;
}
.table-grid .table-grid-row.row-even > span {
  background-color: #EEEBE7;
}
.table-grid .table-grid-row.row-odd > span {
  background-color: #FFFCF2;
}
.table-grid .table-grid-row:last-child > span {
  border-bottom: 2px solid #70061c;
}
.table-grid .table-grid-row > span:last-child {
  display: flex;
  align-items: center;
}
.table-grid .table-grid-row.row-cancelled > span, .table-grid .table-grid-row.row-deleted > span {
  color: #9ca3af;
  font-style: italic;
}

.available {
  background: rgba(120, 200, 65, 0.3);
}

.booked {
  background: rgba(255, 155, 47, 0.2);
}

.unavailable {
  background: rgba(251, 65, 65, 0.3);
}

.email-log-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82em;
  font-weight: 600;
  white-space: nowrap;
}
.email-log-status.email-log-status--sent {
  color: #16a34a;
}
.email-log-status.email-log-status--failed {
  color: #dc2626;
  cursor: help;
}

.change-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 5px;
}

.change-item {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 0.8em;
  color: #555;
  flex-wrap: wrap;
}

.change-field {
  font-weight: 600;
  color: #333;
  min-width: fit-content;
}
.change-field::after {
  content: ":";
}

.change-arrow {
  color: #aaa;
  font-size: 0.85em;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
}

.modal-window {
  width: min(720px, 92vw);
  max-height: 85vh;
  overflow: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #f1e9d6;
}

.modal-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  color: #1a1a1a;
}

.modal-body {
  padding: 22px 24px 6px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.modal-close {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: none;
  color: #8a8580;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
}
.modal-close:hover {
  background: #F7F7F7;
  color: #423d3d;
}

.modal-footer {
  display: flex;
  align-items: center;
  margin: 20px -24px -6px;
  padding: 16px 24px;
  border-top: 1px solid #f1e9d6;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
.modal-footer .btn-primary {
  width: auto;
  padding: 10px 26px;
  margin-left: auto;
}

.form-delete-link {
  background: none;
  border: none;
  color: #b3261e;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
}
.form-delete-link:hover {
  text-decoration: underline;
}

.bookings-panel {
  background: #f9faf7;
  border-bottom: 1px solid #e8e9ed;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 1px 1px #e8e9ed;
  margin: 0 auto 16px;
  width: 98%;
}
@media (max-width: 800px) {
  .bookings-panel {
    width: 100%;
    margin: 0 0 16px;
    border-radius: 0;
  }
}

.bookings-panel-body {
  padding: 16px;
}

.bookings-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  background: linear-gradient(90deg, #70061c, #ca7617, #70061c);
  padding: 14px 24px;
}
.bookings-nav-bar__brand {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  font-family: Georgia, "Times New Roman", serif;
}
.bookings-nav-bar__links {
  display: flex;
  gap: 18px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
}
.bookings-nav-bar__links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
.bookings-nav-bar__links a.active {
  color: #fff;
  font-weight: 700;
  border-bottom: 2px solid #fff;
  padding-bottom: 2px;
}
@media (max-width: 800px) {
  .bookings-nav-bar {
    position: sticky;
    top: 44px;
    z-index: 250;
  }
}

.btn-bookings-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #70061c;
  color: #fff;
  border: 1px solid #70061c;
  border-radius: 8px;
  padding: 7px 14px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}
.btn-bookings-primary:hover {
  opacity: 0.9;
  color: #fff;
}

.btn-bookings-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #70061c;
  border: 1px solid #70061c;
  border-radius: 8px;
  padding: 7px 14px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}
.btn-bookings-secondary:hover {
  background: rgba(112, 6, 28, 0.08);
}

.btn-nav-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #70061c;
  color: #fff;
  border: 1px solid #70061c;
  border-radius: 8px;
  padding: 7px 14px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}
.btn-nav-arrow:hover {
  opacity: 0.9;
  color: #fff;
}
.btn-nav-arrow {
  font-size: 12px;
  padding: 6px 12px;
}

.month-nav-buttons {
  display: flex;
  gap: 8px;
}

.filter-pill {
  position: relative;
  display: inline-flex;
}

.filter-pill-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #70061c;
  border-radius: 8px;
  padding: 8px 14px;
  background: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #70061c;
  cursor: pointer;
  white-space: nowrap;
}
.filter-pill-trigger:hover {
  background: rgba(112, 6, 28, 0.06);
}
.filter-pill-trigger .fa-chevron-down {
  font-size: 10px;
  opacity: 0.7;
  transition: transform 0.15s ease;
}

.filter-pill.is-open .filter-pill-trigger {
  background: #70061c;
  color: #fff;
}
.filter-pill.is-open .filter-pill-trigger:hover {
  background: #70061c;
}
.filter-pill.is-open .filter-pill-trigger .fa-chevron-down {
  transform: rotate(180deg);
}

.filter-pill-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 20;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
  padding: 8px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 16px;
  padding: 5px 13px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid #70061c;
  color: #70061c;
  background: transparent;
}
.filter-chip--active {
  background: #70061c;
  color: #fff;
  font-weight: 700;
}
.filter-chip-count {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 1px 7px;
  font-size: 0.85em;
}
.filter-chip--active .filter-chip-count {
  background: rgba(255, 255, 255, 0.25);
}
.filter-chip:has(.filter-chip-input:checked) {
  background: #70061c;
  color: #fff;
  font-weight: 700;
}

.filter-chip-input {
  accent-color: #70061c;
  margin: 0;
}

.booking-type-tag {
  display: inline-block;
  border-radius: 4px;
  padding: 0 5px;
  font-size: 10px;
  font-weight: 700;
}
.booking-type-tag--game {
  background: #e3b40a;
  color: #2a2100;
}
.booking-type-tag--practice {
  background: transparent;
  color: #555;
  border: 1px solid #ccc;
}

.division-rec {
  background: rgba(227, 180, 10, 0.24);
  border-left-color: #e3b40a;
  color: #7a5b06;
}

.division-traveling {
  background: rgba(112, 6, 28, 0.08);
  border-left-color: #70061c;
  color: #70061c;
}

.division-coach-pitch {
  background: rgba(202, 118, 23, 0.18);
  border-left-color: #ca7617;
  color: #7a4a0e;
}

.division-adaptive {
  background: rgba(0, 0, 0, 0.07);
  border-left-color: #b3aca3;
  color: #55504c;
}

.division-other {
  background: rgba(0, 0, 0, 0.07);
  border-left-color: #b3aca3;
  color: #55504c;
}

.slot-open {
  background: #e8f0e2;
  color: #3f6b3f;
}

@media (max-width: 800px) {
  .bookings-nav-bar {
    padding: 12px 16px;
  }
  .bookings-nav-bar__brand {
    font-size: 14px;
  }
  .bookings-nav-bar__links {
    gap: 12px;
    font-size: 11px;
  }
}
.calendar-controls {
  display: flex;
}

.stepper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  box-sizing: border-box;
  width: 100%;
  padding: 1rem 2rem;
}

.field-stepper,
.month-stepper {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #70061c;
  border-radius: 8px;
  background: #fff;
}

.stepper-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: #70061c;
  cursor: pointer;
  text-decoration: none;
  font-size: 12px;
}
.stepper-arrow:first-child {
  border-radius: 8px 0 0 8px;
}
.stepper-arrow:last-child {
  border-radius: 0 8px 8px 0;
}
.stepper-arrow:hover {
  background: rgba(112, 6, 28, 0.08);
}

.stepper-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-left: 1px solid #70061c;
  border-right: 1px solid #70061c;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #70061c;
  white-space: nowrap;
  background: none;
  border-top: none;
  border-bottom: none;
}

button.stepper-label {
  cursor: pointer;
}
button.stepper-label:hover {
  background: rgba(112, 6, 28, 0.06);
}
button.stepper-label .fa-chevron-down {
  font-size: 10px;
  opacity: 0.7;
  transition: transform 0.15s ease;
}

.field-stepper.is-open .stepper-label {
  background: #70061c;
  color: #fff;
}
.field-stepper.is-open .stepper-label:hover {
  background: #70061c;
}
.field-stepper.is-open .stepper-label .fa-chevron-down {
  transform: rotate(180deg);
}

.field-stepper-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 20;
  min-width: 220px;
  max-width: 280px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  padding: 8px;
}

.field-stepper-search {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 6px 10px;
  margin-bottom: 6px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
}
.field-stepper-search:focus {
  outline: none;
  border-color: #70061c;
}

.field-stepper-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 240px;
  overflow-y: auto;
}

.field-stepper-option {
  display: block;
  padding: 7px 10px;
  border-radius: 6px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12.5px;
  color: #2E2F30;
  text-decoration: none;
  cursor: pointer;
}
.field-stepper-option:hover {
  background: #F7F7F7;
}
.field-stepper-option--active {
  background: #70061c;
  color: #fff;
  font-weight: 700;
}
.field-stepper-option--active:hover {
  background: #70061c;
}

.month-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-left: 1px solid #787272;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.month-grid-header {
  padding: 8px;
  background: #70061c;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.day-cell {
  min-height: 150px;
  padding: 8px;
  border-right: 1px solid #787272;
  border-bottom: 1px solid #787272;
  position: relative;
  transition: background 0.2s ease;
  box-sizing: border-box;
}
.day-cell.available {
  background: rgba(120, 200, 65, 0.3);
}
.day-cell.booked {
  background: rgba(255, 155, 47, 0.2);
}
.day-cell.unavailable {
  background: rgba(251, 65, 65, 0.3);
}
.day-cell.out-month {
  opacity: 0.25;
}
.day-cell .day-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.day-cell .day-header .day-meta {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.day-cell .day-header .day-weekday {
  display: none;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.day-cell .day-header .day-number {
  font-weight: 600;
  font-size: 22px;
}
.day-cell .day-header .edit-calendar-link {
  font-size: 16px;
  padding: 2px 6px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.day-cell .day-header .edit-calendar-link:hover {
  font-size: 20px;
}
.day-cell .badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 18px;
  margin-bottom: 4px;
}
.day-cell .badge.badge-available {
  background: #e8f0e2;
  color: #3f6b3f;
}
.day-cell .badge.badge-booked {
  background: rgba(255, 155, 47, 0.2);
}
.day-cell .badge.badge-unavailable {
  background: rgba(251, 65, 65, 0.3);
}
.day-cell .booking-chip {
  display: block;
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #e2e5e8;
  border-left-width: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  text-decoration: none;
}
.day-cell .booking-chip.chip-cancelled {
  opacity: 0.6;
  border-left-color: #9ca3af;
  background: #f3f4f6;
}
.day-cell .booking-chip.chip-cancelled .chip-team {
  text-decoration: line-through;
  color: #6b7280;
}
.day-cell .booking-chip .chip-team {
  font-weight: 600;
  font-size: 0.85em;
  margin-bottom: 3px;
}
.day-cell .booking-chip .chip-meta {
  font-size: 0.78em;
  color: #666;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.day-cell .booking-chip .chip-meta .chip-sep {
  opacity: 0.4;
}
.day-cell .booking-chip .chip-umpire {
  margin-top: 4px;
  font-size: 0.75em;
}
.day-cell .booking-chip .chip-umpire .umpire-ok {
  color: #16a34a;
}
.day-cell .booking-chip .chip-umpire .umpire-needed-badge {
  color: #dc2626;
  font-weight: 500;
}
.day-cell .booking-chip .chip-cancelled-badge {
  margin-top: 4px;
  font-size: 0.75em;
  font-weight: 600;
  color: #6b7280;
}

.day-editor {
  margin-top: 8px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: white;
}
.day-editor input, .day-editor select {
  padding: 6px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.slot-card {
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fafafa;
  margin-bottom: 8px;
}
.slot-card:last-child {
  margin-bottom: 0;
}
.slot-card .slot-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.slot-card .slot-card-header .slot-label {
  font-weight: 600;
  font-size: 0.95em;
}
.slot-card .slot-remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #aaa;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 1em;
  line-height: 1;
}
.slot-card .slot-remove-btn:hover {
  color: #c33;
  background: #fff0f0;
}
.slot-card .field-size-alert {
  display: none;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  border-radius: 4px;
  padding: 6px 10px;
  margin: 6px 0 4px;
  font-size: 0.82em;
  font-weight: 500;
}
.slot-card .field-size-alert.active {
  display: block;
}
.slot-card .slot-approved-notice {
  margin-top: 6px;
  font-size: 0.75em;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 4px;
  padding: 4px 7px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.slot-card .slot-card-locked {
  padding: 6px 0 2px;
  opacity: 0.6;
}
.slot-card .slot-card-locked .slot-locked-team {
  font-weight: 600;
  font-size: 0.88em;
}
.slot-card .slot-card-locked .slot-locked-meta {
  font-size: 0.78em;
  color: #666;
  display: flex;
  gap: 4px;
  margin-top: 2px;
}
.slot-card.slot-card--blocked {
  background: #fefce8;
  border-color: #fde68a;
  opacity: 0.8;
}
.slot-card .slot-card-blocked {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0 2px;
  font-size: 0.85em;
  color: #92400e;
}
.slot-card .slot-card-blocked i {
  font-size: 0.9em;
  opacity: 0.75;
}
.slot-card .slot-card-fields {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.slot-card .field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: opacity 0.15s ease;
}
.slot-card .field-group label {
  font-size: 0.78em;
  color: #777;
  font-weight: 500;
  white-space: nowrap;
}
.slot-card .field-group.field-disabled {
  opacity: 0.35;
  pointer-events: none;
}

@media (max-width: 800px) {
  .month-grid {
    grid-template-columns: 1fr;
    border-top: none;
  }
  .month-grid-header {
    display: none;
  }
  .day-number {
    font-size: 18px !important;
  }
  .day-cell {
    min-height: unset;
    padding: 10px 12px;
  }
  .day-cell.out-month {
    display: none;
  }
  .day-cell .day-header .day-weekday {
    display: inline;
  }
  .stepper-row {
    gap: 8px;
  }
  .stepper-label span {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
.team-multiselect-dropdown {
  width: 320px;
}

.team-multiselect-search {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 6px;
  padding: 6px 9px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11.5px;
}
.team-multiselect-search:focus {
  outline: none;
  border-color: #70061c;
}

.team-multiselect-list {
  max-height: 230px;
  overflow-y: auto;
}

.team-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 4px 3px;
  gap: 8px;
}

.team-group + .team-group .team-group-header {
  border-top: 1px solid #f1e9d6;
  margin-top: 4px;
  padding-top: 8px;
}

.team-group-label {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8a8580;
}

.team-group-all {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  color: #70061c;
  cursor: pointer;
}
.team-group-all input[type=checkbox] {
  accent-color: #70061c;
  margin: 0;
}

.team-multiselect-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 6px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  color: #423d3d;
  cursor: pointer;
}
.team-multiselect-option:hover {
  background: #F7F7F7;
}
.team-multiselect-option input[type=checkbox] {
  accent-color: #70061c;
  margin: 0;
}

.team-multiselect-footer {
  margin: 6px -8px -8px;
  padding: 8px 10px;
  border-top: 1px solid #eee;
  border-radius: 0 0 8px 8px;
  display: flex;
  justify-content: flex-end;
}

.schedule-grid {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0;
}

.schedule-date-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 8px 12px 4px;
  border-bottom: 1px solid #e8e9ed;
  background: #f7f7f5;
}
.schedule-date-col .schedule-weekday {
  font-size: 0.7em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #423d3d;
  font-weight: 600;
}
.schedule-date-col .schedule-day-num {
  font-size: 1.5em;
  font-weight: 700;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.1;
  color: #222;
}
.schedule-date-col .schedule-month-lbl {
  font-size: 0.7em;
  color: #3d3b3b;
  font-weight: 500;
}

.schedule-bookings-col {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #e8e9ed;
  align-items: flex-start;
  align-content: flex-start;
}

.schedule-card {
  border: 1px solid #e2e5e8;
  border-radius: 8px;
  border-left-width: 4px;
  padding: 10px 14px;
  min-width: 200px;
  max-width: 300px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.schedule-card.division-rec, .schedule-card.division-traveling, .schedule-card.division-coach-pitch, .schedule-card.division-adaptive, .schedule-card.division-other {
  background: #fff;
  color: inherit;
}
.schedule-card .scard-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}
.schedule-card .scard-header .scard-team {
  font-weight: 600;
  font-size: 0.95em;
  font-family: Georgia, "Times New Roman", serif;
}
.schedule-card .scard-header .scard-edit-btn {
  font-size: 0.75em;
  padding: 2px 8px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  color: #555;
  white-space: nowrap;
}
.schedule-card .scard-header .scard-edit-btn:hover {
  background: #f3f4f6;
}
.schedule-card .scard-meta {
  font-size: 0.82em;
  color: #666;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.schedule-card .scard-meta .scard-sep {
  opacity: 0.4;
}
.schedule-card .scard-umpire {
  margin-top: 6px;
  font-size: 0.8em;
}
.schedule-card .scard-umpire .umpire-ok {
  color: #16a34a;
}
.schedule-card .scard-umpire .umpire-needed-badge {
  color: #dc2626;
  font-weight: 500;
}

.in-house-panel {
  background: #f9faf7;
  border-bottom: 1px solid #e8e9ed;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 1px 1px #e8e9ed;
  margin: 0 auto 16px;
  width: 98%;
}
@media (max-width: 800px) {
  .in-house-panel {
    width: 100%;
    margin: 0 0 16px;
    border-radius: 0;
  }
}

.in-house-panel-body {
  padding: 16px;
}

.in-house-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  background: linear-gradient(90deg, #70061c, #ca7617, #70061c);
  padding: 14px 24px;
}
.in-house-nav-bar__brand {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  font-family: Georgia, "Times New Roman", serif;
}
.in-house-nav-bar__links {
  display: flex;
  gap: 18px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
}
.in-house-nav-bar__links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
.in-house-nav-bar__links a.active {
  color: #fff;
  font-weight: 700;
  border-bottom: 2px solid #fff;
  padding-bottom: 2px;
}
@media (max-width: 800px) {
  .in-house-nav-bar {
    position: sticky;
    top: 44px;
    z-index: 250;
  }
}

.umpire-grouping-toggle {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.umpire-filter-divider {
  display: inline-block;
  width: 1px;
  height: 20px;
  background: #ccc;
  vertical-align: middle;
  margin: 0 4px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

.umpire-group-btn {
  padding: 5px 16px;
  border-radius: 20px;
  border: 1px solid #ccc;
  font-size: 0.85rem;
  font-weight: 500;
  color: #3d3b3b;
  text-decoration: none;
  background: #fff;
  transition: background 0.15s, color 0.15s;
}
.umpire-group-btn:hover {
  background: #EBEBEB;
}
.umpire-group-btn.active {
  background: #70061c;
  border-color: #70061c;
  color: #fff;
}

.umpire-period-heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: #70061c;
  margin: 28px 0 12px;
  padding-bottom: 6px;
  border-bottom: 3px solid #e3b40a;
  text-align: center;
}
.umpire-period-heading:first-of-type {
  margin-top: 4px;
}

.umpire-field-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #423d3d;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 18px 0 8px;
  padding: 4px 0;
  border-bottom: 1px solid #e2e5e8;
}

.umpire-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  padding: 4px 2px;
}

.umpire-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 2px solid #e2e5e8;
  transition: box-shadow 0.15s ease, transform 0.1s ease;
}
.umpire-card:hover {
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.13);
  transform: translateY(-1px);
}
.umpire-card.umpire-card--claimed {
  border-color: rgba(22, 163, 74, 0.4);
}
.umpire-card.umpire-card--claimed .umpire-card-date {
  background: #16a34a;
  border-bottom: none;
}
.umpire-card.umpire-card--claimed .umpire-card-date .umpire-weekday,
.umpire-card.umpire-card--claimed .umpire-card-date .umpire-month-lbl {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}
.umpire-card.umpire-card--claimed .umpire-card-date .umpire-day-num {
  color: #fff;
  font-size: 1.5em;
}
.umpire-card.umpire-card--claimed .umpire-name-badge {
  color: #16a34a;
  font-weight: 700;
  font-size: 0.9em;
}
.umpire-card.umpire-card--unclaimed {
  border-color: #e3b40a;
  box-shadow: 0 2px 14px rgba(227, 180, 10, 0.35);
}
.umpire-card.umpire-card--unclaimed .umpire-card-date {
  background: #e3b40a;
  border-bottom: none;
}
.umpire-card.umpire-card--unclaimed .umpire-card-date .umpire-weekday,
.umpire-card.umpire-card--unclaimed .umpire-card-date .umpire-month-lbl {
  color: rgba(34, 34, 34, 0.65);
  font-weight: 600;
}
.umpire-card.umpire-card--unclaimed .umpire-card-date .umpire-day-num {
  color: #222;
  font-size: 1.5em;
}
.umpire-card.umpire-card--unclaimed .umpire-open-badge {
  font-weight: 700;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #70061c;
  background: rgba(227, 180, 10, 0.25);
  border: 1px solid rgba(227, 180, 10, 0.6);
  border-radius: 20px;
  padding: 3px 12px;
}
.umpire-card.umpire-card--cancelled {
  opacity: 65%;
}

.umpire-card-date {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 10px 14px 9px;
}
.umpire-card-date .umpire-weekday,
.umpire-card-date .umpire-month-lbl {
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.umpire-card-date .umpire-day-num {
  font-weight: 700;
}

.umpire-card-body {
  padding: 10px 14px 6px;
  font-size: 0.9em;
  border-bottom: 1px solid #e8e9ed;
}
.umpire-card-body .umpire-team {
  font-weight: 600;
  color: #222;
}
.umpire-card-body .umpire-sep {
  opacity: 0.35;
  margin: 0 4px;
}

.umpire-card-status {
  padding: 8px 14px 10px;
}
.umpire-card-status .umpire-assigned .horizontal-grid,
.umpire-card-status .umpire-unclaimed .horizontal-grid {
  align-items: center;
}

.umpire-card-assign {
  background: #fafafa;
  padding: 8px 14px 10px;
  border-top: 1px solid #e8e9ed;
}
.umpire-card-assign .horizontal-grid {
  align-items: center;
  gap: 8px;
}
.umpire-card-assign select {
  flex: 1 1 auto;
  font-size: 0.85em;
  padding: 4px 6px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.umpire-btn {
  font-size: 0.82em;
  padding: 5px 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.15s, opacity 0.15s;
}
.umpire-btn.umpire-btn-claim {
  background: #70061c;
  border-color: #70061c;
  color: #fff;
}
.umpire-btn.umpire-btn-claim:hover {
  opacity: 0.88;
}
.umpire-btn.umpire-btn-release {
  background: transparent;
  border-color: #ccc;
  color: #555;
  font-weight: 500;
}
.umpire-btn.umpire-btn-release:hover {
  background: #EBEBEB;
}

.umpire-release-locked {
  font-size: 0.78em;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 6px;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.umpire-release-locked i {
  margin-right: 4px;
}
.umpire-release-locked .umpire-director-contacts {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 2px;
}
.umpire-release-locked .umpire-director-contact {
  font-weight: 500;
  font-size: 0.95em;
}

.umpire-assign-btn {
  font-size: 0.82em;
  padding: 5px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #F7F7F7;
  cursor: pointer;
  font-weight: 500;
}
.umpire-assign-btn:hover {
  background: #EBEBEB;
}

.matrix-scroll-wrapper {
  position: relative;
  margin-top: 12px;
}

.matrix-scroll-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
  margin-bottom: 6px;
}

.scroll-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  color: #555;
  font-size: 12px;
  cursor: pointer;
}
.scroll-nav-btn:hover:not(:disabled) {
  background: #F7F7F7;
}
.scroll-nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.matrix-scroll {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.availability-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 900px;
}
.availability-table th, .availability-table td {
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}
.availability-table thead th {
  border-top: 1px solid #ddd;
}
.availability-table .col-field {
  border-left: 1px solid #ddd;
}
.availability-table thead th {
  position: sticky;
  top: 0;
  background: #70061c;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  z-index: 2;
}
.availability-table thead th.col-field {
  left: 0;
  z-index: 4;
}
.availability-table thead th.col-slot {
  left: var(--field-col-width, 110px);
  z-index: 4;
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.15);
}
.availability-table tbody td.col-field {
  position: sticky;
  left: 0;
  background: #f9faf7;
  z-index: 1;
}
.availability-table tbody td.col-slot {
  position: sticky;
  left: var(--field-col-width, 110px);
  z-index: 1;
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.06);
}
.availability-table tbody tr.field-row-even {
  background: #f5f6f7;
}
.availability-table tbody tr.field-row-odd {
  background: #e2e4e8;
}
.availability-table tbody tr.field-row-even td.col-slot {
  background: #f5f6f7;
}
.availability-table tbody tr.field-row-odd td.col-slot {
  background: #e2e4e8;
}
.availability-table .col-field {
  min-width: 110px;
}
.availability-table .col-slot {
  min-width: 70px;
  white-space: nowrap;
}
@media (max-width: 800px) {
  .availability-table {
    font-size: 0.82em;
  }
  .availability-table th, .availability-table td {
    padding: 3px 5px;
  }
  .availability-table .col-field {
    min-width: 0;
    width: 56px;
    max-width: 56px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .availability-table .col-slot {
    min-width: 0;
    width: 42px;
    max-width: 42px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.slot-tooltip {
  position: fixed;
  z-index: 9999;
  background: rgba(30, 30, 30, 0.88);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 5px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.matrix-filters-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.date-range-dropdown {
  width: 260px;
  padding: 12px;
}

.field-multiselect-dropdown {
  width: 300px;
}

.field-multiselect-search {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 6px;
  padding: 6px 9px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11.5px;
}
.field-multiselect-search:focus {
  outline: none;
  border-color: #70061c;
}

.field-multiselect-all {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid #f1e9d6;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}
.field-multiselect-all input[type=checkbox] {
  accent-color: #70061c;
  margin: 0;
}

.field-multiselect-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 220px;
  overflow-y: auto;
}

.field-multiselect-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 6px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  cursor: pointer;
}
.field-multiselect-option:hover {
  background: #F7F7F7;
}
.field-multiselect-option:nth-child(even) {
  background: #FBF6EA;
}
.field-multiselect-option:nth-child(even):hover {
  background: rgb(247.736, 238.656, 216.864);
}
.field-multiselect-option input[type=checkbox] {
  accent-color: #70061c;
  margin: 0;
}

.field-multiselect-footer {
  margin: 6px -8px -8px;
  padding: 8px 10px;
  border-top: 1px solid #eee;
  border-radius: 0 0 8px 8px;
  display: flex;
  justify-content: flex-end;
}

.edit-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #8a8580;
  color: #423d3d;
  border-radius: 8px;
  padding: 8px 14px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  background: #fff;
  cursor: pointer;
  margin-left: auto;
}
.edit-mode-toggle:hover {
  background: #F7F7F7;
}

.edit-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0 12px;
  flex-wrap: wrap;
}

.edit-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.toolbar-divider {
  width: 1px;
  height: 24px;
  background: #ccc;
  flex-shrink: 0;
}

.selected-count {
  font-size: 0.85em;
  font-weight: 600;
  color: #555;
  white-space: nowrap;
}

.edit-mode td.cell-data {
  cursor: crosshair;
  user-select: none;
}
.edit-mode td.cell-data:hover {
  filter: brightness(0.92);
}

td.cell-selected {
  outline: 2px solid #70061c;
  outline-offset: -2px;
  filter: brightness(0.82) !important;
}

.range-selected {
  outline: 2px solid #70061c;
}

.availability-table td.available {
  background: #e8f0e2;
  color: #3f6b3f;
}

.availability-table td.col-weekend.available {
  background: rgb(221.3363636364, 233.0454545455, 212.5545454545);
}

.edit-toolbar-actions {
  background: #70061c;
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
}
.edit-toolbar-actions .selected-count {
  color: #fff;
}
.edit-toolbar-actions .toolbar-divider {
  background: rgba(255, 255, 255, 0.3);
}
.edit-toolbar-actions input[type=submit].btn-primary {
  background: #fff;
  color: #70061c;
  border-color: #fff;
  font-weight: 700;
}

.games-grid {
  grid-template-columns: auto auto 1fr 1fr auto auto;
}
@media (max-width: 768px) {
  .games-grid {
    grid-template-columns: auto auto 1fr 1fr auto;
  }
  .games-grid .col-umpire {
    display: none;
  }
}

.game-actions-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

.game-actions-secondary {
  display: flex;
  gap: 2px;
  align-items: center;
}

.btn-game-approve {
  padding: 7px 14px;
  background: #16a34a;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.85em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  line-height: 1;
}
.btn-game-approve:hover {
  background: #15803d;
}

.btn-game-unapprove {
  padding: 7px 12px;
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fecdd3;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.85em;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  line-height: 1;
}
.btn-game-unapprove:hover {
  background: #ffe4e6;
}

.table-grid-row.row-approved > span {
  background-color: #f0fdf4 !important;
}

@media (max-width: 768px) {
  .game-actions-cell {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .game-actions-secondary {
    justify-content: flex-end;
  }
  .btn-game-approve,
  .btn-game-unapprove {
    width: 100%;
    justify-content: center;
  }
}
.admin-panel {
  background: #f9faf7;
  border-bottom: 1px solid #e8e9ed;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 1px 1px #e8e9ed;
  margin: 0 auto 16px;
  width: 98%;
}
@media (max-width: 800px) {
  .admin-panel {
    width: 100%;
    margin: 0 0 16px;
    border-radius: 0;
  }
}

.admin-panel-body {
  padding: 16px;
}

.admin-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  background: linear-gradient(90deg, #70061c, #ca7617, #70061c);
  padding: 14px 24px;
}
.admin-nav-bar__brand {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  font-family: Georgia, "Times New Roman", serif;
}
.admin-nav-bar__links {
  display: flex;
  gap: 18px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
}
.admin-nav-bar__links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
.admin-nav-bar__links a.active {
  color: #fff;
  font-weight: 700;
  border-bottom: 2px solid #fff;
  padding-bottom: 2px;
}
@media (max-width: 800px) {
  .admin-nav-bar {
    position: sticky;
    top: 44px;
    z-index: 250;
  }
}

.admin-subnav {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  color: #8a8580;
  margin-bottom: 12px;
}
.admin-subnav a {
  color: inherit;
  text-decoration: none;
}
.admin-subnav a.active {
  color: #70061c;
  font-weight: 700;
}
.admin-subnav__sep {
  margin: 0 6px;
}

.stat-tiles {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.stat-tile {
  display: block;
  border-radius: 10px;
  padding: 14px;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.stat-tile[href]:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}
.stat-tile--clickable {
  cursor: pointer;
}
.stat-tile--clickable:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}
.stat-tile--selected {
  box-shadow: 0 0 0 2px #70061c, 0 3px 10px rgba(0, 0, 0, 0.18);
}
.stat-tile-number {
  font-size: 24px;
  font-weight: 800;
  font-family: Georgia, "Times New Roman", serif;
}
.stat-tile-label {
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
}
.stat-tile--gold {
  background: #e3b40a;
  color: #2a2100;
}
.stat-tile--orange {
  background: #ca7617;
  color: #fff;
}
.stat-tile--outline {
  background: #FFFCF2;
  border: 1px solid #70061c;
  color: #70061c;
}
.stat-tile--maroon {
  background: #70061c;
  color: #fff;
}

.tag {
  display: inline-block;
  border-radius: 10px;
  padding: 2px 9px;
  font-size: 10.5px;
  font-weight: 700;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
.tag-admin {
  background: rgba(112, 6, 28, 0.1);
  color: #70061c;
}
.tag-standard {
  background: rgba(0, 0, 0, 0.07);
  color: #55504c;
}
.tag-super {
  background: rgba(227, 180, 10, 0.24);
  color: #7a5b06;
}
.tag-game {
  background: rgba(227, 180, 10, 0.2);
  color: #7a5b06;
}
.tag-practice {
  background: rgba(0, 0, 0, 0.07);
  color: #55504c;
}
.tag-both {
  background: rgba(112, 6, 28, 0.08);
  color: #70061c;
}

.btn-admin-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #70061c;
  color: #fff;
  border: 1px solid #70061c;
  border-radius: 8px;
  padding: 7px 14px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}
.btn-admin-primary:hover {
  opacity: 0.9;
  color: #fff;
}

.btn-admin-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #70061c;
  border: 1px solid #70061c;
  border-radius: 8px;
  padding: 7px 14px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}
.btn-admin-secondary:hover {
  background: rgba(112, 6, 28, 0.08);
}

.report-card {
  border: 1px solid #e8e0cf;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #fff;
}

.report-card-head {
  background: #70061c;
  color: #fff;
  padding: 10px 16px;
  font-weight: 700;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.report-card-body {
  padding: 14px 16px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.btn-game-no-umpire {
  color: #dc2626;
}
