body {
      font-family: sans-serif;
      margin: 0;
      font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
      background-color: #8a1014;
    }
    .container {
      max-width: 400px;
      margin: 0 auto;
      width: 90%;
      background: #DE1B22;
      padding: 1rem;
      border-radius: 10px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.02);
      margin-bottom: 1rem;
      margin-top: 2rem;
    }

.predictor {
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
  background-color: #ebebeb;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

    .matchday-title, .date {
      font-weight: bold;
      font-size: 0.8rem;
      margin-bottom: 1.5rem;
    }
    .month-divider {
      text-align: center;
      font-size: 1.2rem;
      font-weight: bolder;
      margin: 1.5rem 0 1.5rem;
      color: white;
    }
    .team {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 1rem;
    }
    .team img {
      width: 40px;
      height: 40px;
      object-fit: contain;
    }
    .team-info {
      flex-grow: 1;
      margin-left: 0.5rem;
    }
    .team-name {
      font-size: 1rem;
      font-weight: bold;
    }
    .score-control {
      display: flex;
      align-items: center;
    }
    .score-control button {
      width: 26px;
      height: 26px;
      font-size: 1.1rem;
      margin: 0 4px;
      cursor: pointer;
      border-radius: 100%;
      border: none;
    }
    .score {
      font-size: 1.5rem;
      width: 22px;
      text-align: center;
    }
    .submit-button {
      display: block;
      width: 100%;
      max-width: 300px;
      padding: 0.75rem;
      background-color: #DE1B22;
      color: white;
      font-size: 1rem;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      margin-top: 2rem;
    }
    .submit-button:hover {
      background-color: white;
      color: #DE1B22;
      font-weight: bold;
    }

    .predictor.win {
  background-color: #d4edda;
}

.predictor.loss {
  background-color: #f8d7da;
}

.points-button {
  margin-top: 20px;
  padding: 10px 15px;
  font-size: 16px;
  background-color: #222;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.points-display {
  margin-top: 10px;
  font-size: 18px;
  font-weight: bold;
}

#records-list li {
  margin-bottom: 20px;
}

.logo {
  max-height: 50px;
  margin: 50px;
}

.copy {
  margin-bottom: 50px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #DE1B22;
  color: #fff;
  padding: 12px 20px;
  font-size: 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 2px -2px rgba(0,0,0,0.02);
  height: 80px;
}

.spacer {
  width: 24px; /* roughly the width of the ❓ icon */
}

.nav-title {
  flex: 1;
  text-align: center;
  font-weight: bold;
  font-size: 24px;
}

.help-icon {
  cursor: pointer;
}

/* Modal styling */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.2s ease;
  margin-left: -8px;
}

/* When active */
.modal.show {
  visibility: visible;
  opacity: 1;
}

.modal-content {
  background-color: #DE1B22;
  color: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  max-height: 70vh;
  overflow-y: auto;
  box-sizing: border-box;
  border: 2px white solid;
}

.change-score {
    touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .modal-content {
    max-height: 70vh;
  }
}

.close-button {
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.button-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* centers horizontally */
  margin-top: 40px; /* optional spacing from top */
}

footer  {
  height: 50px;
}

.report-button  {
       display: block;
      width: 100%;
      max-width: 300px;
      padding: 0.75rem;
      background-color: #8a1014;
      color: white;
      font-size: 1rem;
      border: 2px white solid;
      border-radius: 8px;
      cursor: pointer;
      margin-top: 2rem;
}

    .report-button:hover {
      background-color: white;
      color: #DE1B22;
      font-weight: bold;
    }

    h2  {
      margin-top: 40px;
      margin-bottom: 40px;
    }

.score-control button {
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  margin: 0 10px;
  cursor: pointer;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.05);
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.score-control button:hover {
  color: black;
  font-weight: bold;
}

button  {
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

footer {
  text-align: center;
  padding: 1rem 0;
  color: white; /* Optional: for visibility against your red background */
}



