.matches-table {
  width: 80%;
  border-collapse: collapse;
  margin: 30px auto;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 10px;
  overflow: hidden;
  font-size: 15px;
}

.matches-table thead {
  background-color: rgba(255, 255, 255, 0.1);
  font-weight: bold;
}

.matches-table th,
.matches-table td {
  padding: 12px 12px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.matches-table tr th {
  font-size: 20px;
}

.matches-table tr td {
  font-size: 16px;
}

.matches-table tr:last-child td {
  border-bottom: none;
}

/* Score Inputs */
.matches-table input[type="number"].score-input {
  width: 60px;
  padding: 6px;
  border-radius: 6px;
  border: none;
  text-align: center;
  background-color: #808080;
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: bold;
  font-size: 15px;
}

.matches-table input[type="number"].score-input:disabled {
  background-color: #222;
  opacity: 0.6;
}

.score-input::-webkit-outer-spin-button,
.score-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Remove number spinners for Firefox */
.score-input[type="number"] {
  -moz-appearance: textfield;
}

/* Dropdowns */
.matches-table select.user-dropdown {
  padding: 6px 10px;
  border-radius: 6px;
  background-color: #333;
  color: #fff;
  border: none;
  width: 220px;
}

.matches-table select.user-dropdown:disabled {
  opacity: 0.6;
  background-color: #222;
}

.matches-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
}

  .user-dropdown {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 6px;
    font-size: 12px;
    width: 140px;
    min-width: 140px;
    max-width: 140px;
  }

@media (max-width: 480px) {
  .matches-row-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 6px;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    border-radius: 8px;
  }

  .match-block {
    /* background: #1a1a1a; */
    padding: 5px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  }

  .match-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }

  .user-dropdown {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 6px;
    font-size: 10px;
    width: 110px;
    min-width: 110px;
    max-width: 110px;
  }

  .team-name {
    font-weight: bold;
    flex-grow: 1;
    text-align: center;
    color: white;
    font-size: 11px;
  }

  .score-input {
    width: 16px;
    padding: 6px;
    text-align: center;
    background: #333333b6;
    color: white;
    border: none;
    border-radius: 6px;
  }
}