/* ===== Modal de Voto - Estilo Sandbeds ===== */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-family: "Playfair Display", serif;
}

.modal-content {
  background: #fff;
  padding: 30px 25px;
  border-radius: 16px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  animation: fadeInScale 0.3s ease;
}

.modal-content h3 {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
}

.modal-content input {
  width: 100%;
  padding: 12px 14px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 15px;
  font-family: "Inter", sans-serif;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.modal-content input:focus {
  border-color: #bca176;
  box-shadow: 0 0 6px rgba(188,161,118,0.4);
  outline: none;
}

.submit-btn {
  background: #bca176;
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  margin-top: 10px;
}

.submit-btn:hover {
  background: #a58961;
}

.close {
  float: right;
  font-size: 22px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
  transition: color 0.2s ease;
}

.close:hover {
  color: #000;
}

/* Animación elegante */
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

/* ===== Mensaje de confirmación de voto ===== */
.vote-success {
  font-size: 14px;          /* más pequeño */
  color: #28a745;           /* verde éxito */
  font-weight: 600;         /* negrita */
  margin-top: 8px;          /* espacio respecto al botón */
  text-align: center;       /* centrado */
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

