/*------------------------  General page styles ------------------------*/
body {
  background-color: white;
  color: black;
  font-family: 'Trebuchet MS', sans-serif;
  height: 100%;
}

html {
  height: 100%
}

main {
  padding: 6rem 0 0 0;
}

p {
  font-size: 18px;
  margin: 0 0 0 0;
}

/*------------------------ Footer styles ------------------------*/
footer {
  background-color: #5A1414;
  text-align: center;
  padding: 1rem;
  border-top: 1px solid #21262d;
  font-size: large;
  font-style: italic;
  color: white
}

/*------------------------ Navbar styles ------------------------*/
.navbar-custom {
  background-color: #5A1414;
  color: white
}

.navbar-custom .navbar-brand {
  color: white;
  font-size: xx-large;
}

.navbar-custom .navbar-brand:hover {
  color: #FFB612;
}

.navbar-custom .navbar-toggler:focus {
  box-shadow: 0 0 0 0;
}

.navbar-custom .nav-link {
  color: white;
  font-size: large;
}

.navbar-custom .nav-link:focus-visible {
  box-shadow: none;
}

.navbar-custom .nav-link.show {
  color: #FFB612;
  font-size: large;
}

.navbar-custom .nav-link:hover {
  text-decoration: underline;
  color: #FFB612;
}

.custom-dropdown:hover {
  background-color: #FFB612;
}

.custom-dropdown-menu {
  max-height: 250px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/*-------------------- Single Team Card Styles ---------------------*/

.single-team-card {
  padding: 0;
  max-width: 500px;
  margin: 0 auto;
}

.single-team-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.single-team-logo-small {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.single-team-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: black;
}

/*-------------------- Two Team Card Styles ---------------------*/

.team-section {
  flex: 1;
  text-align: center;
}

.score-section {
  flex: 1;
  text-align: center;
  max-width: 250px;
}

.two-team-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: black;
}

/*------------------------ DataTable styles ------------------------*/
tfoot input {
  width: 100%;
  padding: 3px;
  box-sizing: border-box;
  text-align: center;
}

tfoot input::placeholder {
  text-align: center;
}

.bordered-column {
  border-left: 1px dashed darkgrey;
}

li.dt-paging-button {
  padding: 0 !important;
  margin: 0 !important;
}

li.dt-paging-button:hover {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  cursor: auto !important;
}

button.page-link {
  color: black;
}

button.page-link:focus {
  box-shadow: none;
  background-color: #e69523;
  color: white;
}

button.page-link:hover {
  background-color: #e69523;
  color: white;
}

button.page-link.ellipsis {
  pointer-events: none;
  background: transparent;
  border: none;
  box-shadow: none;
}

.page-item.active > .page-link {
  background-color: #5A1414;
  border: 0;
}

/*------------------------ Select styles ------------------------*/
.custom-select {
  max-width: 300px;
}

.form-select:focus {
  border-color: #e69523;
  box-shadow: 0 0 0 0.25rem #e6952340;
}

/*------------------------ Roster styles ------------------------*/
.image-overlay-card {
  max-width: 200px;
  margin-bottom: 2rem;
}

.multi-image-container {
  position: relative;
  display: inline-block;
}

.team-owner-image {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #FFB612;
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: white;
}

/*------------------------ Results Accordion ------------------------*/
.scrollable-accordion {
  max-height: 450px;
  overflow-y: auto;
  overscroll-behavior-y: contain;
}

.custom-accordion-button:hover {
  background-color: #FFB612;
}

.custom-accordion-button:focus {
  box-shadow: none;
  background-color: white;
}

.custom-accordion-button:not(.collapsed) {
  background-color: #e69523;
}