/* ================= TABLES ================= */

.table-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

table {
  user-select: none;
  width: min(900px, 95%);
  border-collapse: collapse;
  background: var(--bg-panel);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--table-border),
    0 25px 50px var(--table-shadow);
}

/* Header */
thead {
  background: linear-gradient(
    135deg,
    var(--table-head-start),
    var(--table-head-end)
  );
}

thead td {
  padding: 14px 16px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: .85rem;
  letter-spacing: .04em;
  color: var(--text-main);
}

/* Rows */
td {
  padding: 14px 16px;
  text-align: center;
  color: var(--text-soft);
  font-size: .95rem;
}

/* Odd / Even */
tbody tr:nth-child(odd) {
  background: var(--table-row-odd);
}

tbody tr:nth-child(even) {
  background: var(--table-row-even);
}

/* Hover */
tbody tr:hover {
  background: var(--table-row-hover);
  color: var(--text-main);
}

/* First column (Position) */
/*
tbody td:first-child {
  font-weight: 600;
  color: var(--accent);
}*/

/* Joueur *//*
tbody td:nth-child(2) {
  color: var(--text-main);
}*/

/* Votes *//*
tbody td:last-child {
  font-weight: 600;
}
*/

tbody td img {
  width: 24px;
  height: 24px;
  border-radius: 10%;
  vertical-align: middle;
  background-color: var(--white);
}

table td:nth-child(2) {
  float: right;
  padding: 14px 0px;
}

table td:nth-child(3) {
  text-align: start;
  width: 20%;
}

table td:nth-child(4) {
  width: 37%;
}

#user-top-data {
  text-align: center;
}

#user-top-data h3 {
  font-weight: unset;
}