/* ============================================================
   ESTILOS DEL SISTEMA DE VOTACIONES
   Unidad Educativa Particular Efrata
   Diseñado para integrarse con Bootstrap 5
   ============================================================ */

/* ----------- Contenedor principal ----------- */
.votaciones-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 25px;
}

/* ----------- Títulos ----------- */
.vot-title {
    font-size: 2rem;
    font-weight: 700;
    color: #103f2f; /* Verde institucional */
    margin-bottom: 20px;
    text-align: center;
}

.vot-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
    text-align: center;
}

/* ============================================================
   TARJETAS DE OPCIÓN DE VOTO
   ============================================================ */

.vote-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
}

.vote-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.14);
}

/* Cuando el usuario selecciona una opción */
.vote-card.selected {
    border-color: #0d6efd; /* Azul institucional */
    background: #e8f2ff;
}

/* Imagen de la lista */
.vote-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #ddd;
    flex-shrink: 0;
}

/* Ocultar el radio original */
.vote-card input[type="radio"] {
    display: none;
}

/* Radio personalizado */
.vote-radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #0d6efd;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}

.vote-card.selected .vote-radio-custom::after {
    content: "";
    width: 12px;
    height: 12px;
    background: #0d6efd;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Texto principal */
.vote-label {
    font-size: 1.3rem;
    font-weight: 600;
    color: #222;
}

/* Descripción opcional */
.vote-desc {
    color: #777;
    font-size: 0.9rem;
}

/* Separación vertical entre tarjetas */
.vote-space {
    margin-top: 15px;
}

/* ============================================================
   BOTÓN ENVIAR
   ============================================================ */

.btn-votar {
    background: #103f2f;
    color: #fff;
    font-size: 1.2rem;
    padding: 12px 25px;
    border-radius: 10px;
    width: 100%;
    transition: background 0.2s ease;
}

.btn-votar:hover {
    background: #0b2e22;
}

/* ============================================================
   ALERTAS / MENSAJES
   ============================================================ */

.alert-voto {
    border-left: 5px solid #0d6efd;
    background: #eef6ff;
    padding: 15px;
    border-radius: 10px;
    color: #0d3d6f;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 576px) {
    .vote-card {
        flex-direction: column;
        text-align: center;
        padding: 22px;
    }
    .vote-card img {
        width: 120px;
        height: 120px;
    }
}
/* Tarjetas solo informativas (no clicables) */
.no-select {
    cursor: default !important;
    pointer-events: none;
}

/* Preview de opciones en cuadrícula */
.vote-card.preview {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.vote-card.preview img {
    margin-bottom: 8px;
}
.table-responsive {
    overflow-x: auto;
}