:root {
  --bg: #01523C;
  --accent: #12A37C;
  --highlight: #C5F02D;
  --text: #000000;
  --text-muted: #B2B3B3;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.start-container {
  text-align: center;
  color: var(--text);
  align-items: center;
}

.start-logo {
  width: 200px;
  margin-bottom: 30px;
}

.start-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 40px;
}

.start-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.start-btn {
  font-size: 1.3rem;
  padding: 16px 32px;
  font-weight: bold;
  color: var(--bg);
  background: var(--highlight);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  color: #000000;
}

.start-btn:hover {
  background: #b8e927;
}






/* МОДАЛКА */
/* модалка пароля под фирменный стиль */
.modal-window.modal-password {
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
  min-width: 350px;
  max-width: 90%;
}

.modal-title {
  font-size: 1.5rem;
  color: #26211E;
  font-weight: 600;
  margin-bottom: 25px;
}

.modal-password input {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  outline: none;
  margin-bottom: 25px;
  box-sizing: border-box;
  transition: border 0.2s;
}

.modal-password input:focus {
  border: 1px solid var(--accent);
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.modal-actions .confirm {
  background: #12A37C; /* фирменный зелёный */
  color: white;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-actions .confirm:hover {
  background: #10976c;
}

.modal-actions .cancel {
  background: #f1f1f1;
  color: #26211E;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-actions .cancel:hover {
  background: #ddd;
}



/* МОДАЛКА ПОДТВЕРЖДЕНИЯ ВХОДА */
/* Стили для модалки выбора действия */
.modal-window .modal-judge {
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
  min-width: 350px;
  max-width: 90%;
  flex-direction: column;
}

.modal-window.modal-judge .modal-title {
  font-size: 1.5rem;
  color: #26211E;
  font-weight: 600;
  margin-bottom: 20px;
}

.modal-window.modal-judge .modal-actions.vertical {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: stretch;
}

.modal-window.modal-judge .modal-actions .confirm {
  background: var(--accent);
  color: white;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  text-align: center;
}

.modal-window.modal-judge .modal-actions .confirm:hover {
  background: #10976c;
}

.modal-window.modal-judge .modal-actions .cancel {
  background: #f1f1f1;
  color: #26211E;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-window.modal-judge .modal-actions .cancel:hover {
  background: #ddd;
}

.modal-window.modal-judge .active-match-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0;
}

.modal-window.modal-judge .active-match-list .match-link {
  background: #f9f9f9;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  color: #26211E;
  text-decoration: none;
  transition: background 0.2s;
  border: 1px solid #ddd;
}

.modal-window.modal-judge .active-match-list .match-link:hover {
  background: #f0f0f0;
}










@media (max-width: 768px) {

  body {
    background-color: white;
  }

  .start-container {
    display: flex;
    justify-content: center;
  }

  .start-buttons {
    flex-direction: column;
  }

  .modal-window.modal-password {
    max-width: 80%;
  }

  .modal-actions {
    gap: 10px;
  }


}