/* Reset and Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  opacity: 1;
}
/* Reset and Global Styles */
body {
  font-family: Arial, sans-serif;
  /*background-color: #c24e00;*/
  background-image: url('../images/CoreScoutingWallpaper.jpg') !important;
  background-repeat: repeat;
}


/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  padding: 10px 20px;
}
.nav-links {
  list-style: none;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
.nav-left, .nav-right {
  display: flex;
  align-items: center;
}
.nav-left {
  margin-right: auto;
}
.nav-left li, .nav-right li {
  margin: 0 7.5px;
  position: relative;
}
.nav-links a {
  color: #FFEBCD;
  text-decoration: none;
  padding: 5px 7.5px;
  display: block;
  transition: background-color 0.3s ease, opacity 0.5s;
}
.nav-links a:hover {
  background-color: #575757;
  border-radius: 4px;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #333;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.dropdown-content a {
  color: #FFEBCD;
  text-decoration: none;
  padding: 6px 8px;
  display: block;
}
.dropdown-content a:hover {
  background-color: #575757;
}
.dropdown:hover .dropdown-content {
  display: block;
}

/* Logo Section */
.logo {
  display: flex;
  align-items: center;
  margin-right: 20px;
  width: 150px;
  height: 50px;
  overflow: hidden;
  position: relative;
}
.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo-img, .logo-img-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease;
}
.logo-img-hover {
  opacity: 0;
}
.logo:hover .logo-img-hover {
  opacity: 1;
}
.logo:hover .logo-img {
  opacity: 0;
}

/* FlexBox */
.flexBox {
  display: flex;
}

/* Countdown Section */
.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  font-family: 'Courier New', Courier, monospace;
  margin-top: 20px;
}
.countdown div {
  margin: 0 10px;
  padding: 10px;
  background: #333;
  color: #fff;
  border-radius: 5px;
  text-align: center;
}

/* Hidden Class */
.hidden {
  display: none;
}

/* Switch Styles */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ff0000;
  transition: 0.4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
}
input:checked + .slider {
  background-color: #2196F3;
}
input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}
input:checked + .slider:before {
  transform: translateX(26px);
}
.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
}

/* Match List and Table Styles */
#matchListContainer {
  width: 30%;
  max-height: 80vh;
  overflow-y: auto;
  background-color: #f2f2f2;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
#matchList {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}
#matchList li {
  cursor: pointer;
  margin: 5px 0;
  padding: 5px;
  background-color: #f0f0f0;
  border-radius: 3px;
  word-break: break-word;
  transition: background-color 0.3s ease;
}
#matchList li:hover {
  background-color: #ddd;
}
#matchDataTableContainer {
  width: 65%;
  padding: 10px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
}
#matchDataTable {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin-top: 10px;
  display: none;
}
th, td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
  text-align: center;
}
td {
  background-color: #f2f2f2;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
th {
  background-color: #c1bfbf;
}
/* Table Row Hover Effect */
tr:hover td {
  background-color: #ffc973 !important; /* Soft orange background */
  box-shadow: 0 0 15px rgba(255, 165, 0, 0.8) !important; /* Orange glow */
  transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}
h1{
  text-align: center;
  color: #00215e;
  
}
/* Button Styles */
#clearButton {
  background-color: #f44336;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 3px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background-color 0.3s ease;
}
#clearButton:hover {
  background-color: #575555;
}
/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
      flex-direction: column;
  }
  .nav-links {
      flex-direction: column;
      gap: 5px;
  }
  .logo {
      margin-bottom: 10px;
  }
  .nav-links a.active {
    border-bottom: 2px solid #ffc973; /* Highlight active link */
}

}
h1, h2, h3{
  text-shadow: 2px 2px 5px rgb(255, 255, 255);
  color: rgb(0, 14, 92);
  }

  .backbox {
    width: auto;
    border: 15px solid rgb(255, 255, 255);
    padding: 1%;
    margin: 1%;
    background-color: rgba(255, 115, 0, 0.603); /* Light transparent grey */


}

.center{
  display: flex;
  justify-content: center;
  align-items: center;
}