html {
  --theme-color: #1493ff;
  --theme-color-link: #1493ff;
  --theme-color-dark: #1e88e5;
  --theme-color-accent: #008a63;
  --theme-color-green: #008a63;
  --theme-color-red: #d9534f;
  --theme-background-color: #282d3a;
  --font-bold: 'Figtree Bold';
  --font-medium: 'Figtree Medium';
  --font-regular: 'Figtree Regular';
  --font-light: 'Figtree Light';
}
.font-bold {
  font-family: 'Figtree Bold';
}
.font-medium {
  font-family: 'Figtree Medium';
}
.font-regular {
  font-family: 'Figtree Regular';
}
.font-light {
  font-family: 'Figtree Light';
}
.league-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  align-items: center;
}
.league-buttons .id-toggle {
  margin-left: 16px;
  font-size: 13px;
  color: #555555;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  user-select: none;
}
.league-buttons .id-toggle input[type="checkbox"] {
  cursor: pointer;
}
.league-buttons button {
  padding: 4px 12px;
  border: 1px solid #cccccc;
  background: white;
  color: #555555;
  font-size: 13px;
  font-family: 'Figtree Medium';
  cursor: pointer;
  transition: all 0.15s;
  border-radius: 4px;
}
.league-buttons button:hover {
  background: #eeeeee;
}
.league-buttons button.active {
  background: #4e9ae2;
  border-color: #006ccb;
  color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.market-section {
  margin-bottom: 24px;
}
.market-section .market-header {
  font-size: 1em;
  color: white;
  background: #4e9ae2;
  border: 1px solid #006ccb;
  padding: 10px 16px;
  font-family: 'Figtree Medium';
  height: 40px;
  align-items: center;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
}
.market-section .market-body {
  background: white;
  border: 1px solid #cccccc;
  border-top: none;
}
.market-section .market-body .bet-row {
  padding: 10px 16px;
  border-bottom: 1px solid #cccccc;
}
.market-section .market-body .bet-row:last-child {
  border-bottom: none;
}
.market-section .market-body .bet-row .bet-name {
  font-size: 13px;
  color: #333333;
  font-family: 'Figtree Medium';
  margin-bottom: 6px;
  height: 20px;
  display: grid;
  align-items: center;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
}
.market-section .market-body .bet-row .period-types {
  margin-bottom: 5px;
  font-size: 12px;
  color: #555555;
  font-family: 'Figtree Medium';
}
.market-section .market-body .bet-row .period-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.market-section .market-body .bet-row .period-tags .period-tag {
  display: inline-block;
  padding: 3px 14px;
  border-radius: 4px;
  background: #e8eef6;
  color: #2c4f83;
  font-size: 12px;
  font-family: 'Figtree Medium';
  border: 1px solid #afc4e3;
  height: 30px;
  display: grid;
  align-items: center;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
}
.sd-badge {
  display: inline-block;
  padding: 4px 6px;
  font-size: 11px;
}
.sd-badge.sd-badge-mt {
  border: 1px solid #004f47;
  background: #0f877c;
  color: white;
  margin-right: 5px;
  border-radius: 4px;
  letter-spacing: 0.8px;
}
.sd-badge.sd-badge-bt {
  border: 1px solid #004f47;
  background: #0f877c;
  color: white;
  margin-right: 5px;
  border-radius: 4px;
  letter-spacing: 0.8px;
}
code {
  display: inline-grid;
  place-items: center;
  border: 1px solid;
  color: #607d8b;
  background-color: #f3f3f3;
  border-radius: 3px;
  margin-left: 5px;
  font-size: 11px;
}
.toggle-switch {
  display: inline-grid;
  grid-auto-flow: column;
  grid-gap: 10px;
  height: max-content;
  align-items: center;
  font-size: 12px;
  margin: 3px 0px;
  font-weight: normal;
  justify-items: left;
  grid-template-columns: max-content 1fr;
  cursor: pointer;
}
.toggle-switch .switch {
  line-height: 0;
  font-size: 0;
  display: inline-block;
  margin: 0;
  vertical-align: middle;
}
.toggle-switch .switch > span {
  display: inline-block;
  position: relative;
  background-image: -webkit-linear-gradient(left, #848484 0%, #848484 50%, #9bcdf7 50%, #9bcdf7 100%);
  background-image: linear-gradient(to right, #848484 0%, #848484 50%, #9bcdf7 50%, #9bcdf7 100%);
  background-size: 64px 12px;
  background-position: 0%;
  border-radius: 32px;
  width: 32px;
  height: 12px;
  cursor: pointer;
  -webkit-transition: background-position 0.2s ease-in;
  transition: background-position 0.2s ease-in;
}
.toggle-switch .switch > span:after {
  content: "";
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  background: #f1f1f1;
  -webkit-align-self: center;
  -ms-flex-item-align: center;
  align-self: center;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  border-radius: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  -webkit-transition: left 0.2s ease-in, background-color 0.2s ease-in, -webkit-transform 0.3s ease;
  transition: left 0.2s ease-in, background-color 0.2s ease-in, -webkit-transform 0.3s ease;
  transition: left 0.2s ease-in, background-color 0.2s ease-in, transform 0.3s ease;
  transition: left 0.2s ease-in, background-color 0.2s ease-in, transform 0.3s ease, -webkit-transform 0.3s ease;
}
.toggle-switch .switch > span:after:after {
  -webkit-transform: translateY(-50%) scale3d(1.15, 0.85, 1);
  transform: translateY(-50%) scale3d(1.15, 0.85, 1);
}
.toggle-switch .switch > input {
  display: block;
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-switch .switch > input:checked + span {
  background-position: -100%;
}
.toggle-switch .switch > input:checked + span:after {
  left: calc(100% - 16px);
  background-color: #1493ff;
}
.toggle-switch .switch > input:disabled + span {
  cursor: not-allowed;
  opacity: 0.5;
}
.toggle-switch .switch > input:disabled + span:active:after {
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.toggle-switch .description {
  font-size: 13px;
  font-family: var(--font-medium);
}
.resulting-header {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: 1fr max-content;
  align-items: center;
  margin-bottom: 10px;
}
.betting-metadata {
  padding: 10px 10px;
  background-color: #fefaf6;
  border: 1px solid #e19200;
  border-left: 5px solid #ff7300;
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  grid-gap: 5px;
  font-size: 13px;
  color: #333333;
  box-shadow: 2px 2px 4px #f1f1f1;
  margin-bottom: 10px;
}
.betting-metadata a {
  font-family: var(--font-medium);
}
.betting-metadata i {
  font-size: 16px;
  color: #ff7300;
  text-align: center;
}
