:root {
  --gray-50: #f5f6f8;
  --gray-100: #edeef2;
  --gray-200: #dfdfe6;
  --gray-300: #cccdd8;
  --gray-400: #b4b4c5;
  --gray-500: #a2a0b4;
  --gray-600: #8d8aa1;
  --gray-700: #7a778b;
  --gray-800: #646172;
  --gray-900: #53525d;
  --gray-950: #313036;
  --purple-300: #6e228e;
}

* {
  margin: 0;
  padding: 0;
}

html *,
html:after,
html:before {
  box-sizing: inherit;
}

html {
  -webkit-overflow-scrolling: touch;
}

body {
  /* position: fixed; */
  margin: 0 auto;
  width: 100%;
  display: inline-block;
  box-sizing: border-box;
  font-size: 15px;
  font-family: "Roboto", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
}

.container {
  position: relative;
  width: 100%;
  height: 550px;
  overflow-y: scroll;
  max-width: 660px;
  min-width: 290px;
  margin: 0 auto 0 auto;
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Prevents scrollbars on the container itself */
}

.header {
  background-color: var(--gray-50);
  padding: 8px 16px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 3;
}
.header-info {
  display: flex;
  flex-direction: row;
}
.header-info {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.logo {
  width: 70px;
  margin-right: 20px;
}
.title {
  width: 100%;
  font-size: 18px;
  font-family: "Merriweather", sans-serif;
  color: var(--gray-950);
  font-weight: 600;
  margin-bottom: 2px;
}

.subtitle {
  position: relative;
  margin-top: 0px;
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-800);
}

.graphic {
  flex-grow: 1;
  overflow: auto;
}
.graphic::-webkit-scrollbar {
  width: 10px;
}

.graphic::-webkit-scrollbar-thumb {
  background-color: var(--gray-300);
  border: 3px solid transparent;
  background-clip: content-box;
  border-radius: 10px;
}
.choices__inner {
  background-color: #fff !important;
  border-radius: 8px !important;
}

.is-open.is-focused .choices__inner {
  border-radius: 8px 8px 0 0 !important;
}
.sport-select {
  z-index: 2;
  position: relative;
  padding: 12px;
  background-color: var(--gray-50);
}
/* Style for the tab list */
.nav {
  display: flex;
  justify-content: start;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  list-style-type: none;
  background-color: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
/* Style for each tab item */

.nav::-webkit-scrollbar {
  display: none;
}
.nav-link {
  border-radius: 8px 8px 0 0;
  display: flex;
  padding: 10px 12px;
  text-decoration: none;
  color: var(--gray-300);
  border: 1px solid transparent;
  border-bottom: none;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  flex-shrink: 0;
  flex-grow: 1;
}
.nav-link:hover {
  background-color: var(--gray-100);
}
/* Style for active tab item */
.nav-link.active {
  color: var(--purple-300);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  border-radius: 2px 2px 0px 0px;
  height: 3px; /* Adjust as needed */
  transition: all 0.3s ease;
  background-color: var(--purple-300); /* Adjust color as needed */
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
}

.number-class {
  background-color: var(--gray-200);
  padding: 2px 6px 2px 5px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-left: 4px;
  letter-spacing: -1px;
  text-align: center;
}

.nav-link.active .number-class {
  color: #fff;
  background-color: var(--purple-300);
}
.nav-wrap {
  position: relative;
}
.scroll-btn {
  position: absolute;
  top: 0;
  z-index: 1;
  height: 100%;
  background-color: var(--gray-50);
  border: none;
  border-bottom: 1px solid var(--gray-200);
  width: 40px;
  padding: 12px;
}
.scroll-btn img {
  opacity: 0.3;
}
.scroll-btn:hover {
  background-color: var(--gray-100);
}
.scroll-btn:hover img {
  opacity: 0.7;
}
.scroll-btn.right {
  right: 0;
}
@media (pointer: coarse) {
  .scroll-btn {
    display: none;
  }
}
.table thead th {
  color: var(--gray-700); /* White text */
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
  padding-top: 16px;
  border-bottom: 3px solid var(--gray-800);
}

.link {
  max-width: 660px;
  margin: auto;
  padding: 10px;
  display: flex;
  background: var(--gray-50);
  border-radius: 12px 12px 0 0;
}
.link-button {
  flex: 1;
  background-color: var(--gray-100);
  padding: 10px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
}
.link-button:hover {
  background-color: var(--gray-200);
  color: var(--gray-900);
  transition: all 0.1s ease-in;
}
.link-button:active {
  transform: scale(0.95);
  background-color: var(--gray-200);
  transition: all 0.1s ease-in;
}
.link-button:nth-child(2) {
  margin: auto 8px;
}
.link-button.active {
  background: #fff;
  color: var(--purple-300);
  box-shadow: 1px 2px 6px -3px var(--gray-600);
  -webkit-box-shadow: 1px 2px 6px -3px var(--gray-600);
  -moz-box-shadow: 1px 2px 6px -3px var(--gray-600);
}
.footer {
  position: sticky;
  bottom: 0;
  margin-top: 1px;
  box-shadow: -1px -5px 0px -4px var(--gray-400);
  -webkit-box-shadow: -1px -5px 0px -4px var(--gray-400);
  -moz-box-shadow: -1px -5px 0px -4px var(--gray-400);
  padding: 3px 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.source {
  font-size: 12px;
  color: #757170;
}
.scmp {
  flex: 0;
}
.scmp a {
  text-decoration: none;
  color: #848484;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #848484;
  text-transform: uppercase;
}

.message {
  display: flex;
  flex-direction: column;
  max-width: 320px;
  margin: 60px auto;
  align-items: start;
}
.message-text {
  margin-top: 20px;
  color: var(--gray-500);
  padding: 0 3px;
}
.message-sport {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}
.message-sport-text {
  text-transform: capitalize;
}
.choices[data-type*="select-one"] .choices__button {
  background-color: #53525d23;
  height: 25px !important;
  width: 25px !important;
  margin-top: -12.5px !important;
}

@media (max-width: 400px) {
  .message {
    padding-left: 12px;
  }
}
.hidden {
  opacity: 0;
}
#loading-overlay,
#loading-overlay-1,
#loading-overlay-2 {
  position: absolute;
  padding-top: 100px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-message {
  font-size: 16px;
  max-width: 100px;
  color: var(--gray-600);
}
