/* =========================
   Global Reset & Body
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0e0e0e;
  color: #f1f1f1;
  padding: 0;
  margin: 0;
}

/* =========================
   Header & Navigation
========================= */

.main-header {
  background-color: #1c1c1c;
  padding: 20px;
  border-bottom: 2px solid #2e86de;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}

.nav-link {
  color: #2e86de;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.nav-link:hover {
  background-color: #9accff;
  color: white;
}

/* Dropdown Styling */
.dropdown {
  position: relative;
}

.dropbtn {
  color: #2e86de;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  font-size: 19px; /* Match .nav-links a */
  font-weight: 600; /* Match nav link weight */
  cursor: pointer;
  background-color: transparent;
}

.dropbtn:hover {
  background-color: #9accff;
  color: white;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 38px;
  left: 0;
  background-color: #333;
  min-width: 180px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.4);
  z-index: 101;
}

.dropdown-content a {
  padding: 12px 16px;
  display: block;
  color: white;
  text-decoration: none;
}

.dropdown-content a:hover {
  background-color: #444;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Title */
.page-title {
  font-size: 34px;
  font-weight: 700;
  color: #2e86de;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

/* =========================
   Main Table Section
========================= */
main {
  margin-top: 140px;
  padding: 20px;
  display: flex;
  justify-content: center;
}

table {
  border-collapse: collapse;
  width: 700px;
  background-color: #1e1e1e;
  border-radius: 8px;
  overflow: hidden;
  font-size: 18px;
}

.round-header td {
  background-color: #2e86de;
  color: white;
  font-weight: bold;
  font-size: 22px;
  text-align: center;
  padding: 12px;
}

.pick-row td {
  border: 1px solid #444;
  padding: 14px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.pick-row td:hover {
  background-color: #2e2e2e;
}

.pick-row.selected td {
  background-color: #2e86de;
  color: white;
  font-weight: bold;
}

.panel-row td {
  background-color: #111;
  border-top: 1px solid #2e86de;
  padding: 10px 16px;
}

.player-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.player-list li {
  border-bottom: 1px solid #333;
  padding: 8px 4px;
  color: #ccc;
  font-size: 18px;
}

.player-list li:last-child {
  border-bottom: none;
}
