.results-controls {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  button {
    padding: 0.5rem 1rem;
    border: none;
    color: white;
    background-color: var(--blue-light);
  }
  button:disabled {
    color: var(--white-hover);
    background-color: #1a365d;
  }

  input {
    margin-left: auto;
    border-radius: 0;
    border: 2px solid var(--gray-border);
    padding: 0.5rem;
  }
}

.judo-results {
  max-width: 800px;
}

.judo-results__category {
  margin-bottom: 2rem;
}

.judo-results__category-title {
  background: #1a365d;
  color: #fff;
  padding: 0.5rem 1rem;
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.judo-results__table {
  width: 100%;
  border-collapse: collapse;
}

.judo-results__table th,
.judo-results__table td {
  padding: 0.5rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.judo-results__table th {
  background: #f7fafc;
  font-weight: 600;
  font-size: 0.875rem;
  color: #4a5568;
}

.judo-results__position {
  width: 80px;
  text-align: center;
}

.judo-results__row--position-1 {
  background: #fffff0;
}

.judo-results__row--position-2 {
  background: #f7fafc;
}

.judo-results__row--position-3 {
  background: #fffaf0;
}

/* Matches display */
.judo-matches {
  max-width: 900px;
}

.judo-matches__category {
  margin-bottom: 2rem;
}

.judo-matches__category-title {
  background: #1a365d;
  color: #fff;
  padding: 0.5rem 1rem;
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.judo-matches__table {
  width: 100%;
  border-collapse: collapse;
}

.judo-matches__table th,
.judo-matches__table td {
  padding: 0.5rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.judo-matches__table th {
  background: #f7fafc;
  font-weight: 600;
  font-size: 0.875rem;
  color: #4a5568;
}

.judo-matches__competitor {
  width: 35%;
}

.judo-matches__competitor--winner {
  font-weight: 600;
}

.judo-matches__name {
  display: block;
}

.judo-matches__club {
  display: block;
  font-size: 0.8rem;
  color: #718096;
}

.judo-matches__score {
  width: 15%;
  text-align: center;
  white-space: nowrap;
}

.judo-matches__points {
  display: inline-block;
  min-width: 1.5rem;
  text-align: center;
}

.judo-matches__points--winner {
  font-weight: 700;
  color: #276749;
}

.judo-matches__separator {
  margin: 0 0.25rem;
}

.judo-matches__time {
  width: 15%;
  text-align: center;
  color: #718096;
}
