/* =========================
   Page
========================= */

.referee-data-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 16px 60px;
}

.referee-header h1 {
  font-size: 28px;
  color: #5ba5d1;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.referee-header p {
  font-size: 12px;
  color: #666;
  margin-bottom: 20px;
}


/* =========================
   Table Wrapper
========================= */

.referee-table-wrapper {
  overflow-x: auto;
}


/* =========================
   Table Base
========================= */

.referee-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  background: #f5fbff;

  font-size: 14px;
  line-height: 1.45;
}

.referee-table th,
.referee-table td {
  border: 1px solid #cfe6f3;
  padding: 8px 10px;
  text-align: center;
  white-space: nowrap;
}


/* =========================
   Header
========================= */

.referee-table thead th {
  background: #d6edf9;
  color: #123;
  font-size: 13px;
  font-weight: 600;

  position: sticky;
  top: 0;
  z-index: 2;
}

.referee-table thead tr:first-child th {
  background: #5ba5d1;
  color: #fff;
}


/* =========================
   Sticky Columns (Left)
========================= */

.referee-table th:nth-child(1),
.referee-table td:nth-child(1) {
  position: sticky;
  left: 0;
  z-index: 3;
  background: #e9f6ff;
  font-weight: 600;
}

.referee-table th:nth-child(2),
.referee-table td:nth-child(2) {
  position: sticky;
  left: 160px;
  z-index: 2;
  background: #e9f6ff;
}

.referee-table th:nth-child(3),
.referee-table td:nth-child(3) {
  position: sticky;
  left: 260px;
  z-index: 2;
  background: #f8fcff;
}


/* =========================
   Column Emphasis
========================= */

/* Referee name */
.referee-table td.ref-name {
  font-size: 15px;
  font-weight: 600;
}

/* Win% emphasis */
.referee-table td:nth-child(7),
.referee-table td:nth-child(14),
.referee-table td:nth-child(19) {
  font-size: 14.5px;
  font-weight: 600;
}


/* =========================
   Group Borders
========================= */


.referee-table thead tr:nth-child(2) th {
  background: #5ba5d1;
  color: #fff;
}

