
/* MTG-themed styling */
body {
  background-color: #1b1a1f;
  color: #e4dfd8;
  font-family: 'Cinzel', serif;
  margin: 0;
  padding: 2rem;
}
h1 {
  text-align: center;
  color: #d4af37;
  font-size: 2.5rem;
  text-shadow: 1px 1px 2px #000;
}
label {
  font-weight: bold;
  display: block;
  margin-top: 1rem;
  color: #ddd;
}
textarea,
input[type="number"],
select {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.25rem;
  background-color: #2b1e3f;
  color: #e4dfd8;
  border: 1px solid #d4af37;
  border-radius: 4px;
}
button {
  margin-top: 1rem;
  background-color: #9c1f1f;
  color: #fff;
  border: 2px solid #d4af37;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}
button:hover {
  background-color: #b32828;
}
.pairings {
  margin-top: 2rem;
}
.round {
  background-color: rgba(44, 21, 40, 0.8);
  border: 2px solid #d4af37;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.round h2 {
  margin-top: 0;
  color: #d4af37;
  font-size: 1.5rem;
}
.match {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}
.match span {
  flex: 1;
}
.score-input {
  width: 60px;
  margin: 0 0.5rem;
}
#results-table, #stats-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background-color: #2b1e3f;
  color: #e4dfd8;
}
#results-table th, #stats-table th {
  background-color: #3c2338;
  color: #d4af37;
  padding: 0.5rem;
  border: 1px solid #d4af37;
  cursor: pointer;
}
#results-table td, #stats-table td {
  padding: 0.5rem;
  border: 1px solid #4a2c58;
}
#results-table tr:nth-child(even), #stats-table tr:nth-child(even) {
  background-color: rgba(44, 21, 40, 0.6);
}
#round-stats {
  margin-top: 2rem;
}
#pairing-method {
  margin-top: 0.5rem;
  background-color: #2b1e3f;
  color: #e4dfd8;
  border: 1px solid #d4af37;
  border-radius: 4px;
  padding: 0.5rem;
}
