.teamSection {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  width: 100%;
  max-width: 960px;
  gap: 32px;
}

.teamContainer {
  display: flex;
  align-items: flex-start;
  justify-content: start;
  background: white;
  padding: 24px;
  filter: drop-shadow(#0000001a 0rem 0rem 10px);
  border-radius: 8px;
  gap: 32px;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
}

.teamImage {
  width: 200px;
  height: 200px;
  background: #edeff2;
  border-radius: 100%;
  overflow: hidden;
  flex-shrink: 0;
  padding: 16px;
}

.teamImage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.teamInfo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
  height: auto;
  width: 100%;
}

.teamInfo h1 {
  width: 100%;
  text-align: start;
}

@media (min-width: 769px) {
  .teamInfo {
    height: 200px; /* Altura fixa apenas em desktop */
  }
}

.teamInfoDetails {
  display: flex;
  gap: 16px;
  width: 100%;
  justify-content: space-between;
}

.teamInfoDetailsLeft,
.teamInfoDetailsRight {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}


.teamInfoDetails table {
  width: 100%;
  border-spacing: 0;
}


.teamInfoDetails tr {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  max-height: 32px;
}


.teamInfoDetails td {
  padding: 8px 4px;
  height: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Desktop */
.teamInfoDetails td:nth-child(2n-1) {
  width: 20%;
  padding-right: 0;
}

.teamInfoDetails td:nth-child(2n) {
  width: 30%;
  padding-left: 2px;
}

/* Mobile */
@media (max-width: 768px) {
  .teamContainer {
    flex-direction: column;
    align-items: center;
    padding: 16px;
    gap: 24px;
  }

  .teamInfo {
    align-items: center;
    text-align: center;
  }

  .teamInfoDetails table {
    width: 100%;
  }

  .teamInfoDetails tr {
    flex-direction: row;
    width: 100%;
    margin-bottom: 16px;
  }

  .teamInfoDetails td {
    padding: 4px;
  }

  /* Sobrescreve as regras do desktop para mobile */
  .teamInfoDetails td:nth-child(2n-1),
  .teamInfoDetails td:first-child {
    width: 35%;
  }

  .teamInfoDetails td:nth-child(2n),
  .teamInfoDetails td:last-child {
    width: 65%;
  }
}

.teamInfoDetails .columnTitle {
  color: #677081;
}

.teamInfoDetails a {
  text-decoration: none;
}

.teamInfoDetails td>a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.teamInfoDetails td>span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.teamInfoImage {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.playerTeam {
  display: flex;
  align-items: center;
  gap: 32px;
}

.playerTeam span {
  color: #677081;
}

.playerTeam a {
  text-decoration: none;
}

.playerCountryImage {
  height: 16px;
  vertical-align: middle;
  border-radius: 4px;
  overflow: hidden;
}

.separator {
  width: 100% !important;
  height: 1px !important;
  background: #edeff2 !important;
  padding: 0 2px !important;
  margin: 3px 0 !important;
}

.titleSection {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  white-space: nowrap;
}

.titleSection h2 {
  white-space: nowrap;
}

.titleSeparator {
  height: 1px;
  background-color: #E5E7EB;
  width: 100%;
}

.playersContainer {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  background: white;
  padding: 24px;
  filter: drop-shadow(#0000001a 0rem 0rem 10px);
  border-radius: 8px;
  gap: 24px;
  width: 100%;
  flex-wrap: wrap;
}

.playersContainer > * {
  flex: 1 1 200px; /* Para 4 cards */
  max-width: calc(25% - 18px); /* 4 colunas em desktop */
}

@media (max-width: 1024px) {
  .playersContainer > * {
    flex: 1 1 250px;
    max-width: calc(33.333% - 16px); /* 3 colunas em telas médias */
    padding: 16px;
  }
}

@media (max-width: 768px) {
  .playersContainer > * {
    flex: 1 1 160px;
    max-width: calc(50% - 12px); /* 2 colunas em mobile */
  }
}

/* Celulares */
@media (max-width: 480px) {
  
  .playersContainer {
    padding: 12px;
  }

  .titleSection h2 {
    white-space: wrap;
    text-align: center;
    font-size: 16px;
  }


  .playerImage {
    width: 160px;
    height: 160px;
  }

  .playerImage img {
    width: 160px;
    height: 160px;
  }

  .playerInfoDescription {
    font-size: 14px;
  }
}


@media (prefers-color-scheme: dark) {
  .playersContainer{
    background: #181818 !important;
  }

  .productName {
    color: #ededed !important;
  }

  .product

  .productDetails {
    color: #ededed !important;
  }	

  .teamContainer{
    background: #181818 !important;
  }
}


