body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #222222; /* Dark gray background */
  color: white; /* Set text color to white */
}
h2 {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #009879;
}
.container {
  width: 80%;
  margin: 0 auto; /* Center the container */
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 0.9em;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15); /* Change shadow color to white */
  background-color: #222222; /* Dark gray background */
}
th {
  background-color: #444444; /* Dark gray header background */
  color: white;
  text-transform: uppercase;
  text-align: left;
}
td {
  border-bottom: 1px solid #333333; /* Darker border color */
  color: white; /* Table text color */
}
tr:nth-of-type(even) {
  background-color: #333333; /* Darker row background color */
}

nav ul li {
  display: inline;
  margin: 0 10px;
  color: #999999; /* Light grey color for non-active items */
}

a {
  color: #009879;
  text-decoration: none;
}

nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
}

a:hover {
  text-decoration: underline;
}
.dollar-amount {
  font-weight: bold;
  color: #007bff; /* Blue color */
  font-size: 1.1em; /* Increased font size */
}
.dollar-amount-true {
  font-weight: bold;
  color: #28a745; /* Green color */
  font-size: 1.1em; /* Increased font size */
}
.crisp-white {
  font-weight: bold;
  color: #ffffff; /* Blue color */
  font-size: 1.1em; /* Increased font size */
}

/* Navbar styles */
nav {
  background-color: #333333;
  padding: 10px 0;
  font-weight: bold;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* Green text treatment for active page */
.active {
  color: green;
}

/* Enhanced Navigation Styles */
.enhanced-nav {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  padding: 15px 0;
  border-bottom: 1px solid #333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.nav-buttons .btn {
  padding: 10px 20px;
  background: #2a2a2a;
  color: #ccc;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid #444;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-block;
}

.nav-buttons .btn:hover {
  background: #333;
  border-color: #0066cc;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.nav-buttons .btn.active {
  background: #0066cc;
  border-color: #0066cc;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.4);
}

/* Theatre and User Header Styles */
.theatre-header {
  background: #1a1a1a;
  margin-bottom: 30px;
}

.user-header {
  text-align: center;
  margin-bottom: 30px;
}

.user-title {
  color: #e0e0e0;
  font-size: 2.2em;
  font-weight: 600;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .nav-buttons {
    gap: 10px;
  }
  
  .nav-buttons .btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .nav-buttons {
    gap: 8px;
  }
  
  .nav-buttons .btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}

#player-search {
  width: 200px; /* Change to fit content */
  padding: 8px; /* Add padding for better appearance */
  margin-bottom: 10px; /* Add some space between input fields and table */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  background-color: #e0e0e0;
}
#account-search-form {
  display: flex;
  align-items: center;
}

#account-search {
  width: 400px;
  padding: 8px;
  box-sizing: border-box;
  background-color: #e0e0e0;
}

.search-button {
  padding: 8px 30px;
  background-color: #009879;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-button:hover {
  background-color: #007a6d;
}

.offer-amount {
  font-weight: bold;
  color: #ffffff; /* white */
  font-size: 1.3em; /* Increased font size */
}

.highlighted-row {
  background-color: #f0f8ff; /* Light blue background */
}

.highlighted-row-one {
  border: 2px solid #ffc300; /* Darker gold background */
}

.highlighted-row-jersey {
  border: 2px solid #ffffff; /* white */
}

.highlighted-row-69 {
  border: 2px solid #6a0dad; /* Purple */
}

.moment-info {
  background-color: #333333; /* Dark gray background */
  color: white; /* Text color */
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.moment-info img {
  margin-bottom: -3px; /* Apply margin directly to the images */
}

.user-info h2,
.moment-info h2 {
  color: #009879;
  margin-top: 0;
}

.user-info p,
.moment-info p {
  margin: 5px 0;
}

#owner-search {
  width: 500px; /* Adjust the width as needed */
  padding: 8px; /* Add padding for better appearance */
  margin-bottom: 10px; /* Add some space between input fields and table */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  background-color: #e0e0e0;
}

.jersey-icon {
  width: auto; /* Adjust the width of the icon as needed */
  height: 28px; /* Maintain aspect ratio */
  vertical-align: middle; /* Align icon vertically */
}
.badge-group {
  display: flex;
  justify-content: center;
}
.badge-group img {
  margin-right: 10px; /* Adjust spacing between badges */
}

.boolean-icon {
  width: auto; /* Adjust the width of the icon as needed */
  height: 32px; /* Maintain aspect ratio */
  vertical-align: middle; /* Align icon vertically */
  margin-right: 5px; /* Adjust spacing between icons */
}

.check-icon,
.x-icon {
  width: 16px; /* Adjust the width of the icon as needed */
  height: auto; /* Maintain aspect ratio */
  vertical-align: middle; /* Align icon vertically */
  margin-left: 5px; /* Adjust spacing between icons */
}

.user-info,
.moment-info {
  background-color: #333333; /* Dark gray background */
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); /* White shadow */
}

.moment-info h2 {
  color: #009879;
  margin-top: 0;
}

.moment-info .info {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.moment-info .info-item {
  flex: 0 0 30%; /* Adjust the width of info items as needed */
}

.moment-info .label {
  font-weight: bold;
  color: white;
}

.moment-info .value {
  color: #28a745; /* Green color */
  font-weight: bold;
}

.set-container {
  margin-top: 20px;
  border: 1px solid #333333; /* Darker border color */
  padding: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15); /* White shadow */
}

.set-aggregate {
  margin-bottom: 10px;
  cursor: pointer; /* Change cursor to pointer for clickable effect */
}

table.collapsible-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 0.9em;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15); /* White shadow */
  background-color: #222222; /* Dark gray background */
  display: none; /* Hide the table by default */
}

th,
td {
  padding: 12px 15px;
  text-align: left;
  color: white; /* Text color */
}

td.editions {
  white-space: pre-wrap; /* Wrap the text to the next line if it exceeds the width of the cell */
}

.edition-amount {
  font-weight: bold;
  color: #28a745; /* Blue color */
  font-size: 1.1em; /* Increased font size */
}

.count-amount {
  font-weight: bold;
  color: #ffffff; /* white */
  font-size: 1.1em; /* Increased font size */
}

.set-complete-message {
  color: #28a745; /* Green color */
  font-weight: bold;
}

.theatre-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.video-player {
  width: 800px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  margin-bottom: 20px;
}

.next-moment-button {
  background-color: #333333;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.next-moment-button:hover {
  background-color: #555555;
}

footer {
  text-align: center;
  padding: 20px 0;
}

footer .container {
  display: inline-block;
}

.container_trader {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 80%;
  margin: 0 auto; /* Center the container */
}
.player-list {
  width: 45%;
}
.player-list select {
  width: 100%;
  height: 300px;
}
.selected-players-table {
  width: 100%;
}
.selected-players-table td,
.selected-players-table th {
  padding: 8px;
  border-bottom: 1px solid #dddddd;
  text-align: left;
  color: white;
}
.selected-players-table th {
  background-color: #333333;
  color: white;
}
#evaluate-deal {
  margin: 20px auto;
  display: block;
  padding: 10px 20px;
  font-size: 16px;
  background-color: #4caf50;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
#evaluate-deal:hover {
  background-color: #45a049;
}
#results {
  text-align: center;
  margin-top: 20px;
  width: 100%;
  color: white;
  font-weight: bold;
}
#results-table {
  border-collapse: collapse;
  width: 50%;
  text-align: center;
  margin: auto;
}
#results-table th,
#results-table td {
  border: 1px solid #dddddd;
  padding: 8px;
  background-color: #333333;
  color: white;
}
.add-button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}
.add-button:hover {
  background-color: #0056b3;
}
#result-message {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: white;
  margin-top: 20px;
}
#direction-indicator {
  font-size: 24px;
  color: white;
  margin-top: 20px;
  text-align: center;
}
.positive {
  color: green;
}
.negative {
  color: red;
}
.remove-button {
  background-color: red;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 5px;
  cursor: pointer;
}

tr.even {
  background-color: #333333; /* Darker row background color */
}

tr.odd {
  background-color: #222222; /* Slightly lighter row background color */
}

.search-series-container {
    display: flex;
    justify-content: space-between; /* Space between search and buttons */
    align-items: center; /* Aligns both vertically */
    margin-bottom: 20px; /* Adds spacing below */
}

#account-search-form {
    display: flex;
    align-items: center; /* Vertically centers the search bar and button */
}

#account-search {
    width: 300px; /* Adjust the width as needed */
    padding: 8px;
    box-sizing: border-box;
    background-color: #e0e0e0;
    margin-right: 10px; /* Adds space between input and button */
}

.series-nav {
    display: flex;
    justify-content: center;
}

.series-nav .series-link {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 10px;
    background-color: #444444;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.series-nav .series-link:hover {
    background-color: #555555;
}

.series-nav .series-link.active {
    background-color: #009879;
    color: #ffffff;
}

.series-btn {
    background-color: #444444; /* Default button color */
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.series-btn.active {
    background-color: #009879; /* Change color for active button to green */
}

.series-btn:hover {
    background-color: #555555; /* Hover color for all buttons */
}


