
.charts-page {
  padding: 24px;
  color: #e5e7eb;
  background: #020617;
}

/* Header */
.charts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.charts-header h1 {
  font-size: 22px;
}

.muted {
  color: #64748b;
  font-size: 13px;
}

/* Actions */
.charts-actions {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 10px 14px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid #1e293b;
  color: #e5e7eb;
  cursor: pointer;
}

.btn.primary {
  background: #22c55e;
  color: #020617;
  border: none;
}

/* Metrics */
.charts-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.metric {
  padding: 16px;
  border: 1px solid #1e293b;
  border-radius: 14px;
  background: #020617f2;
}

.metric-label {
  font-size: 12px;
  color: #64748b;
}

.metric-value {
  font-size: 20px;
  margin-top: 6px;
}

/* List */
.list-header {
  margin-bottom: 12px;
}

.entries {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Entry */
.entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border: 1px solid #1e293b;
  border-radius: 12px;
  background: #020617f2;
}

.entry-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.entry-left img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
}

.title {
  font-size: 14px;
}

.meta {
  font-size: 12px;
  color: #64748b;
}

.entry-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.votes {
  font-size: 13px;
}

.entry-btn {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #1e293b;
  background: transparent;
  color: #e5e7eb;
  cursor: pointer;
}

.loading{
    width: 100%;
    height: 100%;
    background-color: #0f0f0f;
}

@keyframes shimmer {
  0% { opacity: 0.4; }
  50% { opacity: 0.8; }
  100% { opacity: 0.4; }
}

.shimmer {
  animation: shimmer 1.4s ease-in-out infinite;
}
