.glx-poll-container {
  max-width: 900px;
  margin: 40px auto;
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.glx-title {
  font-size: 28px;
  margin-bottom: 25px;
  font-weight: 700;
}

.glx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.glx-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform .25s ease, box-shadow .25s ease;
}

.glx-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.glx-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid rgba(255,255,255,0.6);
}

.glx-vote-btn {
  background: #0078ff;
  color: white;
  border: none;
  padding: 12px 22px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: background .2s ease;
}

.glx-vote-btn:hover {
  background: #005fcc;
}

.glx-result {
  margin-top: 25px;
  font-size: 18px;
  font-weight: 600;
}

.glx-results-bars {
  margin-top: 30px;
  text-align: left;
}

.glx-bar-row {
  display: grid;
  grid-template-columns: 120px 1fr 60px;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.glx-bar-label {
  font-weight: 600;
}

.glx-bar-track {
  background: rgba(255,255,255,0.2);
  border-radius: 999px;
  overflow: hidden;
  height: 14px;
}

.glx-bar-fill {
  background: linear-gradient(90deg, #0078ff, #00c6ff);
  height: 100%;
  width: 0;
  transition: width 0.7s ease-out;
}

.glx-bar-pct {
  text-align: right;
  font-weight: 600;
}

/* Contenedor general */
.glx-poll-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Tarjeta del candidato */
.glx-poll-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glx-poll-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Foto circular más pequeña */
.glx-poll-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 2px solid #e5e5e5;
}

/* Nombre del candidato */
.glx-poll-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Botón votar */
.glx-vote-btn {
    background: #0073aa;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease;
}

.glx-vote-btn:hover {
    background: #005f8d;
}

/* Resultados */
.glx-result-bar {
    height: 6px;
    border-radius: 4px;
    background: #0073aa;
    margin-top: 6px;
}

.glx-result-number {
    font-size: 13px;
    margin-top: 4px;
    color: #444;
}
