/* =========================
   VOTES RANKING
========================= */

.votes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.votes-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  overflow-x: auto;
}

.votes-table {
  width: 100%;
  border-collapse: collapse;
}

.votes-table thead th {
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.75rem 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-transform: uppercase;
}

.votes-table tbody td {
  padding: 0.8rem 0.6rem;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.votes-table tbody tr:hover {
  background: var(--bg-card-hover);
}

/* RANGS */
.rank {
  font-weight: 700;
  color: var(--text-muted);
}

/* PODIUM */
.rank-1 {
  color: #f5c16c; /* GOLD */
  text-shadow: 0 0 6px rgba(245,193,108,0.4);
}

.rank-2 {
  color: #cfd6df; /* SILVER */
  text-shadow: 0 0 6px rgba(207,214,223,0.3);
}

.rank-3 {
  color: #cd7f32; /* BRONZE */
  text-shadow: 0 0 6px rgba(205,127,50,0.35);
}

.username {
  font-weight: 600;
}

.votes-empty {
  text-align: center;
  padding: 1.2rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .votes-table thead {
    display: none;
  }

  .votes-table tr {
    display: block;
    margin-bottom: 0.8rem;
    background: var(--bg-card-hover);
    border-radius: 12px;
    padding: 0.6rem;
  }

  .votes-table td {
    display: flex;
    justify-content: space-between;
    border: none;
  }

  .votes-table td::before {
    content: attr(data-label);
    color: var(--text-muted);
    font-size: 0.8rem;
  }
}
