.league_table_wrapper {
  border: 2px solid #adccf9;
}

.league_table_wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.league_table_wrap::-webkit-scrollbar {
  height: 4px;
}

.league_table_wrap::-webkit-scrollbar-thumb {
  background-color: #fc0307;
}

.league_table_wrap::-webkit-scrollbar-track {
  background-color: #fcfcfc;
}

.league_table {
  width: 630px;
  table-layout: fixed;
}

.league_table_head_line {
  background-color: #adccf9;
}

.league_table_head_point {
  padding: 8px;
}

.league_name_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.league_name_img {
  height: 25px;
  width: 25px;
  object-fit: contain;
  filter: invert(100%);
}

.league_name_text {
  display: none;
}

.league_table_head_point_text {
  font-size: 16px;
  font-weight: 600;
  color: #040113;
  text-align: center;
}

.league_table_point_position {
  display: none;
}

.league_table_body_line {
  background-color: #ffffff;
  border-bottom: 2px solid #adccf9;
  transition: all 0.5s ease;
}

.league_table_body_line:last-child {
  border: none;
}

.league_table_body_line:hover {
  background-color: #d6e7ff;
}

.league_table_body_line_active {
  background-color: #d6e7ff;
}

.league_table_body_point {
  padding: 8px;
}

.team_name_wrap {
  display: flex;
  align-items: center;
  gap: 24px;
}

.team_name_text {
  font-size: 16px;
  font-weight: 500;
  color: #5b5a5f;
  width: 6%;
  text-align: center;
}

.team_name_link {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #5b5a5f;
  text-transform: capitalize;
  transition: all 0.5s ease;
}

.team_name_link:hover {
  color: #fc0307;
}

.team_name_link_active {
  color: #fc0307;
}

.league_table_body_line:hover .team_name_link {
  color: #fc0307;
}

.team_name_link_img {
  height: 25px;
  width: 25px;
  object-fit: contain;
}

.team_name_link_title {
  display: none;
}

.league_table_body_point_text {
  font-size: 16px;
  font-weight: 500;
  color: #5b5a5f;
  text-align: center;
}

.league_table_head td:first-child {
  background: #adccf9;
}

.league_table_body td:first-child {
  background: #ffffff;
  transition: all 0.5s ease;
}

.league_table_body_line:hover td:first-child {
  background-color: #d6e7ff;
}

.league_table_head td:first-child,
.league_table_body td:first-child {
  position: sticky;
  left: 0;
  z-index: 5;
  width: 75px;
}

@media screen and (min-width: 768px) {
  .league_table {
    width: 930px;
  }

  .league_name_wrap {
    justify-content: flex-start;
  }

  .league_name_text {
    display: flex;
    font-size: 16px;
    font-weight: 600;
    color: #040113;
  }

  .team_name_wrap {
    gap: 16px;
    justify-content: flex-start;
  }

  .team_name_link_title {
    font-size: 16px;
    font-weight: 700;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .league_table_head td:first-child,
  .league_table_body td:first-child {
    width: 225px;
  }
}

@media screen and (min-width: 1024px) {
  .league_name_img {
    width: 30px;
    height: 30px;
  }

  .league_name_text {
    font-size: 18px;
  }

  .league_table_head_point_text {
    font-size: 18px;
  }

  .team_name_text {
    font-size: 18px;
  }

  .team_name_link_img {
    width: 30px;
    height: 30px;
  }

  .team_name_link_title {
    font-size: 18px;
  }

  .league_table_body_point_text {
    font-size: 18px;
  }

  .league_table_head td:first-child,
  .league_table_body td:first-child {
    width: 325px;
  }
}

@media screen and (min-width: 1200px) {
  .league_table {
    width: 100%;
  }

  .league_table_head_point {
    padding: 16px;
  }

  .league_name_wrap {
    gap: 24px;
  }

  .league_table_body_point {
    padding: 16px;
  }

  .team_name_wrap {
    gap: 24px;
  }

  .league_table_point_position {
    display: table-cell;
  }

  :root {
    --form-size: 25px;
    --form-gap: 8px;
    --form-count: 5;
    --cell-pad-x: 32px;
    --form-col-w: calc(
      var(--form-count) * var(--form-size) + (var(--form-count) - 1) *
        var(--form-gap) + var(--cell-pad-x)
    );
  }

  .league_table_head .league_table_head_line > td:nth-child(10),
  .league_table_body tr > td:nth-child(10) {
    width: var(--form-col-w);
    min-width: var(--form-col-w);
  }

  .point_result_link_wrap {
    display: flex;
    justify-content: center;
    gap: var(--form-gap);
  }

  .point_result_link {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: #fcfcfc;
    flex: 0 0 auto;
    width: var(--form-size);
    height: var(--form-size);
  }

  .league_table_body tr > td:nth-child(10) {
    overflow: hidden;
  }
}
