/* ===== HulakiOnline-style Election UI ===== */

.nel-container {
  max-width: 1200px;
  margin: auto;
  padding: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial;
}

.nel-title {
  border-left: 6px solid #d32f2f;
  padding-left: 10px;
  margin: 20px 0;
  font-size: 22px;
  font-weight: 700;
}

/* Cards */
.nel-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.nel-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-left: 5px solid #d32f2f;
  padding: 12px;
}

.nel-card h3 {
  margin: 0;
  font-size: 16px;
}

.nel-card span {
  font-size: 13px;
  color: #555;
}

/* Tables */
.nel-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}

.nel-table th {
  background: #d32f2f;
  color: #fff;
  padding: 10px;
  text-align: left;
}

.nel-table td {
  padding: 8px;
  border-bottom: 1px solid #e0e0e0;
}

.nel-table tr:nth-child(even) {
  background: #fafafa;
}

/* Winner / Leading */
.nel-winner {
  font-weight: bold;
  color: #b71c1c;
}

.nel-badge {
  display: inline-block;
  background: #d32f2f;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
}

/* Mobile */
@media (max-width: 768px) {
  .nel-table th, .nel-table td {
    font-size: 12px;
    padding: 6px;
  }
}
.nel-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.nel-gallery-item {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 6px;
  text-align: center;
}

.nel-gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.nel-gallery-name {
  font-size: 13px;
  margin-top: 6px;
  font-weight: 600;
}

