html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .dropdown-container {
    width: 100% !important;
    margin-bottom: 0 !important;
    flex-direction: column !important;
    align-items: flex-end !important;
  }
  .reset {
    margin-top: 10px;
    width: 130px;
  }
}

@media (max-width: 380px) {
  .dropdown-container {
    width: 100% !important;
    flex-direction: column !important;
    align-items: flex-end !important;
  }
  .reset {
    margin-top: 10px;
    width: 130px;
  }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #24157c;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #24157c;
}

thead {
  background-color: #24157c;
  color: white;
}

/* Ensure proper spacing and styling for list items */
.new-section ul {
  list-style-type: disc !important;
  /* Ensure disc bullets */
  padding-left: 40px !important;
  /* Add padding for better indentation */
}

.new-section li {
  margin-bottom: 10px !important;
  /* Add some spacing between list items */
  list-style-position: inside !important;
  /* Ensure bullets are inside the padding area */
}

/* Custom class to reduce margin-top */
.mt-custom {
  margin-top: 30px;
  /* Adjust the value as needed */
  margin-bottom: 30px;
  /* Adjust the value as needed */

}

/* Ensure proper sizing for the slider */
.custom-slider-container {
  position: relative;
  width: 100% !important;
  max-width: 1300px !important;
  /* Ensure the width is 1300px */
  height: 614px !important;
  /* Ensure the height is 614px */
  margin: 0 auto !important;
  /* Center the slider horizontally */
  padding: 0 !important;
  /* Ensure no extra padding */
  margin-bottom: 75px !important;
  /* Add space below the slider */
}

.custom-slider {
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  border: 2px solid #ddd !important;
  background-color: #fff !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
  position: relative !important;
}

.custom-slides {
  display: flex !important;
  transition: transform 0.5s ease-in-out !important;
}

.custom-slide {
  min-width: 100% !important;
  height: 100% !important;
  box-sizing: border-box !important;
  position: relative !important;
}

.custom-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.custom-prev,
.custom-next {
  position: absolute !important;
  top: calc(50% - 30px) !important;
  /* Ensure the arrows are centered vertically relative to the image */
  color: #FFD32E !important;
  border: none !important;
  background: none !important;
  cursor: pointer !important;
  font-size: 72px !important;
  padding: 0 !important;
  /* Remove extra padding */
  z-index: 20 !important;
}

.custom-prev {
  left: -70px !important;
  /* Adjust for further away on desktop */
}

.custom-next {
  right: -70px !important;
  /* Adjust for further away on desktop */
}

.custom-prev:hover,
.custom-next:hover,
.custom-prev:active,
.custom-next:active,
.custom-prev:focus,
.custom-next:focus {
  color: #24157c !important;
  /* Purple color on hover, active, and focus */
}

.custom-indicators-container {
  position: relative !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  /* Ensure the indicators are centered vertically */
  text-align: center !important;
  margin-top: 10px !important;
}

.custom-indicators {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  /* Ensure the indicators are centered vertically */
}

.custom-indicator {
  display: inline-block !important;
  width: 12px !important;
  /* Default size for inactive dots */
  height: 12px !important;
  /* Default size for inactive dots */
  margin: 0 6px !important;
  background-color: #201570 !important;
  border-radius: 50% !important;
  cursor: pointer !important;
}

.custom-indicator.active {
  width: 16px !important;
  /* Size for the active dot */
  height: 16px !important;
  /* Size for the active dot */
  background-color: #9370DB !important;
  transform: scale(1.2) !important;
  /* Optional: Adjust the scale if needed */
}

@media (max-width: 800px) {
  .custom-slider-container {
    height: auto !important;
    /* Adjust the height for mobile */
    margin-bottom: 20px !important;
    /* Adjust space below the slider */
  }

  .custom-slider {
    width: 85% !important;
    /* Shrink the slider width for mobile */
    height: auto !important;
    /* Adjust the height for mobile */
    margin: 0 auto !important;
    /* Center the slider horizontally */
  }

  .custom-slide {
    height: auto !important;
    /* Ensure the slide height is auto for mobile */
  }

  .custom-slide img {
    height: auto !important;
    /* Ensure the image height is auto for mobile */
  }

  .custom-prev,
  .custom-next {
    font-size: 36px !important;
    padding: 10px !important;
    top: calc(50% - 18px) !important;
    /* Ensure the arrows are centered vertically relative to the image */
  }

  .custom-prev {
    left: -10px !important;
    /* Ensure arrows are visible within viewport */
  }

  .custom-next {
    right: -10px !important;
    /* Ensure arrows are visible within viewport */
  }

  .custom-indicators-container {
    margin-top: 10px !important;
    /* Adjust spacing for mobile */
  }

  .custom-text {
    font-size: 3vw !important;
    padding: 10px !important;
  }
}

/* Default navbar link colors */
.navbar-nav .nav-link,
.navbar-nav .dropdown-item {
  color: #6c757d !important; /* Default gray text */
}

/* Dark purple hover effect for all navbar links */
.navbar-nav .nav-link:hover,
.navbar-nav .dropdown-item:hover {
  color: #24157c !important; /* Dark purple text */
  background-color: transparent !important; /* No background */
}

/* Ensure the active page stays dark purple */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link[aria-current="page"] {
  color: #24157c !important; /* Stay dark purple */
  font-weight: bold;
}

/* Ensure dropdown items keep light gray background on hover */
.navbar-nav .dropdown-menu .dropdown-item:hover {
  background-color: #f8f9fa !important; /* Light gray background */
  color: #24157c !important; /* Dark purple text */
}

/* Ensure dropdown active state also keeps dark purple text */
.navbar-nav .dropdown-menu .dropdown-item.active,
.navbar-nav .dropdown-menu .dropdown-item[aria-current="page"] {
  background-color: #f8f9fa !important; /* Light gray background */
  color: #24157c !important; /* Dark purple text */
  font-weight: bold;
}

/* Ensure consistency on mobile */
@media (max-width: 768px) {
  .navbar-nav .nav-link,
  .navbar-nav .dropdown-item {
    color: #6c757d !important; /* Default gray */
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .dropdown-item:hover {
    color: #24157c !important; /* Dark purple on hover */
  }

  .navbar-nav .nav-link.active,
  .navbar-nav .nav-link[aria-current="page"],
  .navbar-nav .dropdown-item.active,
  .navbar-nav .dropdown-item[aria-current="page"] {
    color: #24157c !important; /* Dark purple when selected */
    font-weight: bold;
  }

  /* Keep dropdown light gray background on mobile hover */
  .navbar-nav .dropdown-menu .dropdown-item:hover {
    background-color: #f8f9fa !important;
  }
}

/* Keep season text styled */
.navbar-season {
  position: absolute;
  bottom: -2px;
  font-size: 20px;
  font-weight: bold;
  color: #24157c;
  font-style: italic;
  text-decoration-line: none;
}

.navbar-season:hover {
  color: #24157c;
}

/* Remove unwanted opacity change on hover */
.navbar-light .navbar-nav .nav-link:hover {
  color: #24157c !important;
  opacity: 1 !important;
}


.archive-link {
  font-weight: 500; 
  font-size: 18px; 
  text-decoration: underline;

  span {
    font-style: italic;
  }
}

.archive-link:hover {
  opacity: 0.7;
}

.form-control.search-input {
  border-radius: 0px;
}

.form-control.search-input:focus {
  border-color: #24157c;
  box-shadow: 0 0 0 0.25rem rgba(36, 21, 124, 0.5)
}

.dropdown-container {
  margin-top: 10px;
  margin-bottom: -48px;

  .dropdown-wrapper {
    width: 350px;
    display: flex;
    justify-content: space-between;
  }

  .reset {
    height: 38px;
    color: #24157c;
    border-radius: 0;
    border: 1px solid #24157c;
  }

  .reset:hover {
    color: white;
    background-color: #24157c;
  }

  .reset:active {
    transform: scale(0.97);
  }
}

.form-select:active {
  box-shadow: 0 0 0 0.25rem rgba(36, 21, 124, 0.5);
}

.form-select:focus {
  box-shadow: 0 0 0 0.25rem rgba(36, 21, 124, 0.5);
}

label {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  color: #24157c;
  display: flex;
  flex-direction: row;
  align-items: center;
}

select {
  width: 100px;
  margin-left: 10px;
  border-color: #24157c !important;
}

#ageCode {
  width: 130px;
}

option {
  box-sizing: border-box;
  border-radius: 2px;
}

option:active {
  color: white;
  background-color: #24157c;
}

option:focus {
  color: white;
  background-color: #24157c;
}

.page-link {
  color: #24157c;
}

.page-link:hover {
  color: #24157c;
}

.page-item.active .page-link {
  background-color: #24157c;
  border-color: #24157c;
}

/* Ensure logos are centered and properly sized */
.tournament-logo {
  max-width: 100%;
  max-height: 200px; /* Adjust to make logos larger */
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto; /* Center the logos horizontally */
}

/* Wide logos like SuperSeries and NGHL */
.tournament-logo.wide {
  max-width: 375px; /* Adjust width for wide logos */
  max-height: 275px; /* Adjust height for wide logos */
}

/* Square logos like Defender and The Show */
.tournament-logo.square {
  max-width: 200px; /* Adjust width for square logos */
  max-height: 200px; /* Adjust height for square logos */
}

/* Base styles for the button */
.custom-button {
  background-color: #24157c; /* Purple */
  color: #fff; /* White text */
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover effect */
.custom-button:hover {
  background-color: #FFD32E; /* Yellow */
  color: #24157c; /* Purple text */
}

/* Larger titles for each section */
.tournament-title {
  font-size: 1.8rem; /* Increased font size for the tournament titles */
  font-weight: bold;
  color: #24157c;
}

/* Spacing between sections */
.mb-5 {
  margin-bottom: 7rem !important;
}

/* General HTML and Body Settings */
html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin-bottom: 60px;
}

/* Gray Background for the entire section */
.gray-background {
  background-color: #f8f9fa; /* Light gray background */
  padding: 40px;
  border-radius: 10px;
}

/* Main Title */
.new-section-title-main {
  font-size: 2.2em; /* Larger size */
  color: #24157c;
  font-weight: bold;
  margin-bottom: 10px; /* Reduce margin for closer spacing */
}

/* Subtitle, closer to the main title */
.new-section-subtitle {
  font-size: 1.4em;
  color: #24157c;
  margin-top: 0; /* Remove top margin for closer spacing */
  margin-bottom: 20px; /* Add some bottom margin */
}

/* Single Zoom Call Info Styling */
.zoom-call-info-single {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.zoom-date-single {
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  background-color: #ffffff;
  width: calc(2 * 500px + 40px); /* Same total width as before */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center; /* Center the content horizontally */
  align-items: center; /* Center the content vertically */
  text-align: left; /* Keep the text left aligned within the block */
}

/* Details Inside Zoom Date */
.zoom-details {
  margin-right: 20px; /* Space between text and button */
  text-align: left;
}

/* Zoom Button Styling */
.zoom-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #007bff;
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1rem;
  white-space: nowrap; /* Prevent text wrapping */
  margin-left: 20px; /* Add margin to space it from the text */
}

.zoom-date {
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  background-color: #ffffff; /* White background for contrast */
  width: 500px; /* Make the rectangles longer horizontally */
  display: flex; /* Use flex to align content and button */
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px; /* Add margin at the bottom for spacing */
}

/* Details Inside Zoom Date */
.zoom-details {
  margin-right: 20px; /* Add some space between text and button */
}

/* Zoom Button Styling */
.zoom-button {
  display: inline-flex; /* Align icon and text properly */
  align-items: center;
  justify-content: center;
  background-color: #007bff; /* Zoom blue */
  color: #fff; /* White text */
  padding: 12px 20px; /* Adjust padding for button size */
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1rem;
  white-space: nowrap; /* Prevent text wrapping */
}

.zoom-button i {
  margin-right: 8px; /* Space between icon and text */
}

/* Fix hover issue where text becomes unreadable */
.zoom-button:hover {
  background-color: #24157c; /* Purple on hover */
  color: #fff; /* Keep text white */
}

/* Separator Line */
.section-divider {
  margin: 20px 0; /* Reduced spacing around the line */
  border: none;
  border-top: 1px solid #ddd;
}

/* Score Section */
.score-section {
  display: flex;
  flex-direction: column; /* Stack the boxes vertically */
  align-items: center; /* Center the boxes */
  gap: 15px; /* Closer spacing between Score Reporter and Score Approver */
  margin-top: 20px; /* Increase space from separator line */
  width: 100%; /* Make section full width */
}

/* Score Card Styling */
.score-card {
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  background-color: #ffffff; /* Consistent white background */
  width: 100%; /* Full width for mobile */
  max-width: 1040px; /* Keep max width for larger screens */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: left; /* Paragraph left */
  padding: 20px; /* Center content horizontally */
  margin: 0 auto; /* Center align in parent */
}

/* Score Title Without Underline */
.score-title {
  font-size: 1.5em;
  color: #24157c;
  margin-bottom: 15px;
  text-align: center;
}

/* Styled Score Info */
.score-info {
  padding: 0;
  margin: 0;
  text-align: left; /* Align text left */
  margin-left: 10px; /* Indent to match centered content */
}

.score-item {
  margin-bottom: 15px; /* Increase space between items */
  font-size: 1.1em; /* Slightly larger font for readability */
  line-height: 1.5;
  display: flex; /* Use flex to align items */
  align-items: center; /* Center items vertically */
  padding-left: 30px; /* Add padding for indentation */
  position: relative; /* Position for the check mark */
}

/* Checkmark Styling */
.score-item::before {
  content: '✔'; /* Checkmark symbol */
  color: #24157c; /* Purple color for checkmark */
  font-size: 1.2em; /* Slightly larger for emphasis */
  margin-right: 15px; /* Add space between checkmark and text */
  position: absolute; /* Position checkmark to the left */
  left: 0; /* Align checkmark on the left */
}

/* Media Queries for Mobile */
@media (max-width: 767px) {
  .zoom-call-info {
    flex-direction: column; /* Stack vertically on smaller screens */
    align-items: center; /* Center-align for smaller screens */
  }

  .zoom-date {
    width: 90%; /* Reduce width for better fit */
    max-width: 100%; /* Ensure it doesn't overflow */
    flex-direction: column; /* Stack items vertically */
    text-align: center; /* Center-align text */
    padding: 20px 10px; /* Adjust padding for smaller screens */
  }

  .zoom-button {
    margin-top: 10px; /* Add space above button */
  }

  .score-card {
    width: 90%; /* Reduce width for better fit */
    max-width: 100%; /* Ensure it doesn't overflow */
    padding: 15px; /* Adjust padding for smaller screens */
  }

  .score-title {
    font-size: 1.3em; /* Smaller font size for titles on mobile */
  }

  .score-item {
    font-size: 1em; /* Smaller font size for readability on mobile */
  }
}

/* Button group styling for side-by-side alignment */
.button-group {
  display: flex; /* Use flexbox to align buttons */
  gap: 10px; /* Add some space between buttons */
  margin-top: 15px; /* Add some space above the button group */
}

/* Base styles for the Fall/Winter Schedule button */
.custom-button {
  background-color: #24157c; /* Purple background */
  color: #fff; /* White text */
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  padding: 10px 20px; /* Ensure consistent padding */
}

/* Hover effect for Fall/Winter Schedule button */
.custom-button:hover {
  background-color: #fff; /* White background */
  color: #24157c; /* Purple text */
  border: 2px solid #24157c; /* Purple border */
}

/* Inverted button styles for Homepage */
.inverted-button {
  background-color: #fff; /* White background */
  color: #24157c; /* Purple text */
  border: 2px solid #24157c; /* Purple border */
  transition: background-color 0.3s ease, color 0.3s ease;
  padding: 10px 20px; /* Ensure consistent padding */
}

/* Hover effect for Homepage button */
.inverted-button:hover {
  background-color: #24157c; /* Purple background */
  color: #fff; /* White text */
  border-color: #24157c; /* Purple border */
}

/* Adjust paragraph and list spacing within the tournament sections */
.tournament-details {
  margin-top: 0; /* Remove margin between paragraph and list */
  padding-left: 20px; /* Keep some padding for bullets */
  list-style-type: disc; /* Ensure disc bullets */
}

/* Specific adjustment for paragraph spacing to remove extra space */
.col-md-8 p {
  margin-bottom: 5px; /* Reduce bottom margin of the paragraph */
}

/* Adjust list styles to control spacing */
.col-md-8 ul {
  margin-top: 5px; /* Small margin between paragraph and list */
  margin-bottom: 0; /* Remove default bottom margin */
  padding-left: 20px; /* Indent for bullet points */
}

/* List items styling for reduced space between each item */
.col-md-8 ul li {
  margin-bottom: 5px; /* Adjust spacing between list items */
  list-style-position: inside; /* Keep bullets inside the padding area */
}


/* General button styling to ensure both buttons have consistent padding */
.btn {
  display: inline-block; /* Ensure buttons are inline */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  font-size: 1rem; /* Ensure consistent font size */
  cursor: pointer; /* Pointer cursor for buttons */
  text-align: center; /* Center text in buttons */
}

/* Alignment and spacing for flex items to prevent stacking */
.button-group .btn {
  flex: 0 0 auto; /* Prevent buttons from stretching */
}

/* Show dropdown on hover */
.navbar-nav .nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

/* Optional: Adjust the dropdown menu position */
.navbar-nav .dropdown-menu {
  margin-top: 0;
}

