.all-group-wrapper {
  padding: 0 220px;
}
.single-group-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 16px 0;
}

.group-title h1 {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.38;
  text-align: left;
  color: #000;
}

.table-group-label {
  color: #8a1538;
}

.points-table {
  width: 100%;
  border: 1px solid #ead8dd;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.table-header,
.table-row {
  display: grid;
  grid-template-columns:
    minmax(260px, 2fr)
    repeat(8, minmax(50px, 1fr));
  align-items: center;
}

.table-header {
  background-color: #f5eaee;
  color: #8a1538;
  font-size: 16px;
  line-height: 1.38;
  padding: 6px 16px;
}

.header-left {
  text-align: left;
}

.table-row {
  padding: 14px 16px;
  position: relative;
}

.table-row.qualified::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 1px;
  height: 2px;
  background: #8a1538;

  /* border-bottom: 2px solid #8a1538; */
}

.qualified .team {
  font-weight: bold;
}

.team {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  color: #333;
}

.team img {
  width: 30px;
  height: 22px;
  object-fit: cover;
  border-radius: 2px;
}

.table-row > div:not(.header-left),
.table-header > div:not(.header-left) {
  text-align: center;
  white-space: nowrap;
}

/* mobile */
.group-mobile-wrapper {
  display: none;
  flex-direction: column;
  gap: 16px;
}
.group-mobile {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.group-title-mobile {
  padding-bottom: 8px;
  border-bottom: solid 1px rgba(0, 0, 0, 0.12);
}

.team-card {
  border: solid 1px #8a1538;
  border-radius: 8px;
}

.team-header {
  display: flex;
  justify-content: space-between;
  padding: 14px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  align-items: center;
  background-color: #f7ecea;
}

.team-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.flag {
  width: 30px;
  height: 22px;
  border-radius: 2px;
}

.team-name {
  font-size: 14px;
  font-weight: bold;
  color: #001246;
}

.points {
  font-size: 14px;
  color: #304ffe;
}

.stats {
  display: flex;
  padding: 4px 8px 8px;
  text-align: center;
  width: 100%;
  justify-content: space-between;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.label {
  font-size: 18px;
  color: #333;
}

.value {
  font-size: 24px;
  font-weight: 700;
  color: #333;
}

@media (max-width: 1180px) {
  .group-mobile-wrapper {
    display: flex;
  }
  .all-group-wrapper {
    padding: 16px;
  }

  .single-group-wrapper {
    display: none;
  }
}
