/*
Theme Name: Lunch Madness
Author: the Kevin
Version: 1.0
*/
body {
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
      background-color: #2f3e50;
      color: white;
}

.bebas-neue-regular {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.top-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
  
.main-layout {
  display: flex;
  height: calc(100vh); /* Adjust for header */
  padding: 10px;
  gap: 20px;
  box-sizing: border-box;
}

.left-panel,
.right-panel {
  width: 10%;
  min-width: 190px;
  background-color: #3a4a5a;
  padding: 20px;
  border-radius: 8px;
  overflow-y: auto;
}

.center-panel {
  flex: 1;
  overflow-x: auto;
  padding: 10px;
}

textarea {
  width: 100%;
  height: 500px;
  font-size: 12px;
  padding: 10px;
  margin-bottom: 20px;
  border: none;
  border-radius: 4px;
  resize: vertical;
  box-sizing: border-box;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #4caf50;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: white;
}

button:hover {
  background-color: #45a049;
}

#bracket-container {
  display: grid;
  overflow-x: auto;
  margin-top: 0px;
  gap: 8px;
  justify-content: center;
}

.team-btn {
  height: 30px;
  line-height: 1;
  padding: 6px;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: #5a6c7e;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  color: white;
  min-width: 120px;
  transition: background-color 0.2s;
}

.team-btn:hover {
  background-color: #7b8c9e;
}

.team-btn.selected {
  background-color: #87cefa;
  border: 2px solid #fff;
}

.winner-box {
  background-color: #4caf50;
  padding: 20px;
  border-radius: 10px;
  color: white;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.round-label {
  font-weight: bold;
  text-align: center;
  padding: 4px;
}

#missed-cut-container {
  border-radius: 4px;
}

ul {
  list-style-type: square;
  font-size: 14px;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  background-color: #4caf50;
  color: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  max-width: 80%;
}

.close-button {
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

.hidden {
  display: none;
}
