.my-standing-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
  padding: 20px 22px;
  border-radius: 18px;
  background: #173d2c;
  color: #fff;
}

.my-standing-card small,
.my-standing-card strong {
  display: block;
}

.my-standing-card small {
  margin-bottom: 4px;
  opacity: 0.78;
}

.my-standing-card strong {
  font-size: 1.3rem;
}

.my-standing-card dl {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin: 0;
}

.my-standing-card dl div {
  min-width: 82px;
}

.my-standing-card dt {
  margin-bottom: 3px;
  font-size: 0.78rem;
  opacity: 0.72;
}

.my-standing-card dd {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 900;
}

.standings-section {
  padding: 22px;
  border: 1px solid rgba(23, 61, 44, 0.1);
  border-radius: 18px;
  background: #fff;
}

.standings-section__heading {
  margin-bottom: 18px;
}

.standings-section__heading h2 {
  margin: 0 0 5px;
  color: #173d2c;
}

.standings-section__heading p {
  margin: 0;
  color: #65736b;
  line-height: 1.5;
}

.standings-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(23, 61, 44, 0.1);
  border-radius: 14px;
}

.standings-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.standings-table th,
.standings-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(23, 61, 44, 0.08);
  text-align: center;
  white-space: nowrap;
}

.standings-table th {
  background: #f2f7f4;
  color: #345644;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.standings-table th:nth-child(2),
.standings-table td:nth-child(2) {
  text-align: left;
}

.standings-table tbody tr:last-child td {
  border-bottom: 0;
}

.standings-table tbody tr.is-current-user {
  background: #ebf8f0;
}

.standings-table td small {
  display: inline-flex;
  margin-left: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #1a7549;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
}

.standings-empty {
  padding: 24px;
  border-radius: 14px;
  background: #f4f8f5;
  color: #5d6c64;
  text-align: center;
}

.standings-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
}

.standings-pagination a {
  color: #176c43;
  font-weight: 800;
}

.standings-pagination span {
  color: #67746d;
}

@media (max-width: 760px) {
  .my-standing-card {
    align-items: stretch;
    flex-direction: column;
  }

  .my-standing-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .standings-section {
    padding: 16px;
  }

  .standings-pagination {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }
}


/* Clasament compact și paginare extinsă */
.standings-table th {
  line-height: 1.25;
  white-space: normal;
}

.standings-navigation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.standings-pagination {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
}

.standings-pagination a,
.standings-pagination .pagination-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 7px 11px;
  border: 1px solid rgba(23, 61, 44, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #174c43;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.standings-pagination a:hover,
.standings-pagination a:focus-visible {
  border-color: #1a7549;
  background: #e8f5ed;
  color: #135d39;
}

.standings-pagination .pagination-current {
  border-color: #173d2c;
  background: #173d2c;
  color: #fff;
}

.standings-pagination .pagination-arrow {
  font-size: 1.35rem;
}

.standings-pagination .pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  color: #67746d;
  font-weight: 800;
}

.standings-my-position {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid rgba(23, 61, 44, 0.18);
  border-radius: 999px;
  background: #eef5f1;
  color: #174c43;
  font-weight: 800;
  text-decoration: none;
}

.standings-my-position:hover,
.standings-my-position:focus-visible {
  border-color: #1a7549;
  background: #e8f5ed;
  color: #135d39;
}

@media (max-width: 760px) {
  .standings-pagination {
    flex-direction: row;
    align-items: center;
    gap: 6px;
  }

  .standings-pagination a,
  .standings-pagination .pagination-current {
    min-width: 36px;
    min-height: 36px;
    padding: 6px 9px;
  }

  .standings-my-position {
    width: 100%;
  }
}
