.mainList {
  background: #fff;
  width: 100%;
  border-radius: 16px;
  padding: 16px;  
  filter: drop-shadow(#0000001a 0rem 0rem 10px);
  border-collapse: collapse;
  table-layout: fixed;
}

.mainList tr th {
  font-size: 18px;
}

.mainList tr td ul li {
  list-style: none;
}

.mainList tr td {
  height: 72px;
  padding: 12px 16px;
}

.mainList tr td a {
  text-decoration: none;
  color: #282828;
}

.subheader {
  margin-top: 8px;
  display: flex;
  gap: 8px;
}


.listHeaderContainer th {
  padding: 16px;
  vertical-align: top;
}

.listHeader {
  width: 100%;
}

.listHeader .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.subheader {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  color: #677081;
  font-size: 14px;
}

.listHeader {
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.rank {
  width: 48px;
  display: inline-block;
  text-align: center;
}

.header-link {
  color: #0047FF;
  text-decoration: none;
}

.player-image {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #edeff2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-image {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #edeff2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-image-img {
  width: 32px !important;
  height: 32px !important;
  background-color: none !important;
  object-fit: contain;
}

/* Tabs para mobile */
.tab-buttons {
  display: none;
  gap: 8px;
  margin-bottom: 16px;
}

.tab-button {
  padding: 8px 16px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  color: #677081;
}

.tab-button.active {
  background: #0047FF;
  color: white;
  border-color: #0047FF;
}

@media (max-width: 1200px) {
  .tab-buttons {
    display: flex;
  }

  .mainList th:not(.active-tab),
  .mainList td:not(.active-tab) {
    display: none;
  }

  .mainList {
    width: 100%;
  }

  .mainList th,
  .mainList td {
    width: 100%;
    display: block;
  }

  .mainList tr {
    display: block;
  }
}


@media (prefers-color-scheme: dark) {
  .mainList {
    background: #181818 !important;
  }
  .listHeader .subheader {
    color: #ededed !important ;
  }
  .mainList tr td a {
    color: #ededed !important;
  }
}

