/****************************************************************************************************/
/* Fixtures Table
/****************************************************************************************************/
.fixtures-table {
  width: 100%;
  background: #ffffff;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: clamp(0.75rem, 2vw, 1.125rem);
  color: #111827; /* gray-900 */
}

/* Override default table cell alignment */
.fixtures-table td {
  text-align: left;          /* baseline */
  vertical-align: middle;
  padding: 0.5rem;
  white-space: nowrap;
}

/* Center column override */
.fixtures-table .fixture-cell--center {
  text-align: center !important;   /* ensures override */
}

/* Left and right alignment */
.fixtures-table .fixture-cell--left {
  text-align: right !important;
  position: relative;
}

.fixtures-table .fixture-cell--right {
  text-align: left !important;
}

/* Score block */
.fixtures-table .fixture-score {
  display: flex;
  align-items: center;
  justify-content: center;   /* CRITICAL */
  gap: 0.5rem;
  line-height: 1;
}

.fixtures-table .fixture-score-separator {
  width: 0.25rem;
  height: 1.2em;
  background-color: #facc15; /* yellow-400 */
  border-radius: 2px;
  display: inline-block;
}

/* Accent bar */
.fixtures-table .fixture-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0.25rem;
  background-color: #000;
}

.fixtures-table .fixture-accent--win {
  background-color: #34d399; /* emerald-400 */
}

.fixtures-table .fixture-accent--lost {
  background-color: #f87171; /* red-400 */
}

.fixtures-table .fixture-accent--draw {
  background-color: #d1d5db; /* border-gray-300 */
}


/* Row behaviour */
.fixtures-table .fixture-row {
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.15s ease;
}

.fixtures-table .fixture-row:hover {
  background-color: #f9fafb;
}

.fixtures-table .fixture-row--clickable {
  cursor: pointer;
}

.fixtures-table .fixture-row--clickable:active {
  background-color: #f3f4f6;
}

.fixtures-table .fixture-row--clickable:focus-visible {
  outline: 2px solid #059669;
  outline-offset: 2px;
}

/* Spacer row */
.fixtures-table .fixture-spacer {
  height: 0.15rem;
  background-color: #f9fafb;
}
