.field {
  margin-bottom: 0.5rem;
}

.field label {
  display: block;
  font-weight: 600;
}

.field input {
  width: 100%;
}

fieldset {
  margin-bottom: 1rem;
  margin-trim: 5%;
}

.player {
  border: 1px solid #ccc;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  border-radius: 6px;
  background-color: #ccc;
}

summary {
  font-weight: bold;
  cursor: pointer;
}

label {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
}

button[type="submit"] {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn {
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

button[type="submit"] {
  background-color: #4CAF50;
}

.btn-add {
  background-color: #2196F3;
}

.btn-add::before {
  content: "+";
  font-size: 1.2em;
  line-height: 1;
}


input {
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}


ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #333333;
}

ul li {
  float: left;
}

ul li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

ul li a:hover {
  background-color: #111111;
}

.btn-remove {
  background-color: #f44336;
  margin:auto;
  display:block;
}

.btn-remove::before {
  content: "−";
  font-size: 1.2em;
  line-height: 1;
}

.autocomplete {
  position: relative;
}

.autocomplete-results {
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  width: 100%;
  z-index: 100;
}

.autocomplete-item {
  padding: 6px 10px;
  cursor: pointer;
}

.autocomplete-item:hover {
  background-color: #eee;
}

.game {
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.game-table {
    width: 100%;
    border-collapse: collapse;
}

.game-table th, .game-table td {
    border: 1px solid #ddd;
    padding: 8px;
}

.game-table th {
    background-color: #f4f4f4;
    text-align: left;
}
