body {
  font-family: 'Segoe UI', sans-serif;
  padding: 20px;
  background-color: #f0f2f5;
  text-align: center;
}

.button-group {
  margin-bottom: 20px;
}

button {
  margin: 5px;
  padding: 10px 20px;
  font-size: 15px;
  border: none;
  border-radius: 6px;
  background-color: #2c3e50;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background-color: #34495e;
}

button.active {
  background-color: #27ae60;
  box-shadow: 0 0 10px rgba(39, 174, 96, 0.3);
}

table {
  width: 95%;
  margin: 20px auto;
  border-collapse: collapse;
  background-color: white;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: center;
}

th {
  background-color: #27ae60;
  color: white;
}

th select {
  margin-top: 8px;
  padding: 6px;
  border-radius: 4px;
  border: 1px solid #fff;
  background-color: white;
  font-size: 14px;
  width: 90%;
  cursor: pointer;
}

th select:hover {
  border-color: #45a049;
}

th select:focus {
  outline: none;
  border-color: #45a049;
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.2);
}

#playerSearch {
  margin-top: 8px;
  padding: 6px;
  border-radius: 4px;
  border: 1px solid #fff;
  background-color: white;
  font-size: 14px;
  width: 90%;
}

#playerSearch:hover {
  border-color: #45a049;
}

#playerSearch:focus {
  outline: none;
  border-color: #45a049;
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.2);
}

.hidden {
  display: none;
}

.topper {
  background: linear-gradient(90deg, #ffe066, #ffdd57);
  color: black;
  font-weight: bold;
  box-shadow: 0 0 12px 5px rgba(255, 217, 0, 0.6);
  animation: pulseGlow 1.6s infinite alternate;
}

.bottom {
  background: linear-gradient(90deg, #ff4e4e, #ff8c42);
  color: white;
  font-weight: bold;
  animation: shake 0.5s infinite alternate;
}

.topper a, .bottom a,
.topper a:link, .bottom a:link,
.topper a:visited, .bottom a:visited,
.topper a:hover, .bottom a:hover,
.topper a:active, .bottom a:active {
  color: inherit;
}

@keyframes pulseGlow {
  from { box-shadow: 0 0 8px rgba(255, 223, 0, 0.3); }
  to { box-shadow: 0 0 20px rgba(255, 223, 0, 0.8); }
}

@keyframes shake {
  from { transform: translateX(-1.5px); }
  to { transform: translateX(1.5px); }
}

.clickable {
  color: #1a73e8;
  cursor: pointer;
  text-decoration: underline;
}

.feed-time {
  margin-top: 20px;
  padding: 10px;
  color: #666;
  font-size: 14px;
  font-style: italic;
}

/* Fixtures Styles */
.fixtures {
  margin: 10px auto 20px;
  font-size: 15px;
  color: #2c3e50;
  font-style: italic;
  background-color: #e8f5e9;
  padding: 10px;
  border-radius: 8px;
  max-width: 700px;
  box-shadow: 0 0 8px rgba(39, 174, 96, 0.1);
}

.fixture-item {
  margin-bottom: 8px;
}

.fixture-match {
  font-weight: bold;
}

.fixture-venue {
  color: #2e7d32;
  font-size: 14px;
}

.match-teams {
  display: none;
}

.match-header {
  background-color: #27ae60;
  color: white;
  padding: 10px;
  margin: 10px 0;
  border-radius: 6px;
  font-weight: bold;
  font-size: 18px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#todays-players-section table td {
  padding: 8px 12px;
  color: #2c3e50;
}

#todays-players-section table tr:hover {
  background-color: #f8f9fa;
  transition: background-color 0.2s ease;
}

/* Add styles for achiever column */
#todays-players-section table td:nth-child(3) {
  color: #000;
}

#todays-players-section table td:nth-child(3) small {
  display: block;
  font-size: 0.85em;
  color: #000;
  margin-top: 2px;
}

/* Style the dropdown in table header */
#todays-players-section table th select {
  margin-top: 8px;
  padding: 6px;
  border-radius: 4px;
  border: 1px solid #fff;
  background-color: white;
  font-size: 14px;
  width: 90%;
  cursor: pointer;
  color: #000;
}

#todays-players-section table th select:hover {
  border-color: #45a049;
}

#todays-players-section table th select:focus {
  outline: none;
  border-color: #45a049;
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.2);
}

/* Remove background colors from table cells */
#todays-players-section table td {
  background-color: transparent;
  color: #000;
  font-weight: normal;
}

#todays-players-section table tr:hover td {
  background-color: #f5f5f5;
}

#todays-players-section table tr:hover td:nth-child(3) {
  background-color: #f5f5f5;
}

/* Fixtures Dropdown Styles */
.fixtures-dropdown {
  margin: 20px auto;
  text-align: center;
}

.fixtures-dropdown select {
  padding: 8px 16px;
  font-size: 16px;
  border: 1px solid #27ae60;
  border-radius: 4px;
  background-color: white;
  color: #2c3e50;
  cursor: pointer;
  min-width: 200px;
}

.fixtures-dropdown select:hover {
  border-color: #219a52;
}

.fixtures-dropdown select:focus {
  outline: none;
  border-color: #219a52;
  box-shadow: 0 0 5px rgba(39, 174, 96, 0.2);
}