/* Estilos para el listado de asambleas */
.sb-asambleas-listado {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.asamblea-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.asamblea-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.asamblea-abierta {
    border-left: 4px solid #4CAF50;
}

.asamblea-cerrada {
    border-left: 4px solid #f44336;
    opacity: 0.8;
}

.asamblea-item h3 {
    margin: 0 0 15px;
    color: #333;
    font-size: 1.4em;
}

.asamblea-fechas {
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9em;
}

.asamblea-fechas p {
    margin: 5px 0;
}

.asamblea-estado {
    margin-bottom: 15px;
    font-weight: bold;
}

.asamblea-abierta .asamblea-estado {
    color: #4CAF50;
}

.asamblea-cerrada .asamblea-estado {
    color: #f44336;
}

.btn-ver-asamblea {
    display: inline-block;
    padding: 8px 16px;
    background: #2196F3;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.btn-ver-asamblea:hover {
    background: #1976D2;
    color: white;
}

/* Estilos para el formulario de votación */
.sb-formulario-votacion {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.punto-votacion {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.punto-votacion h3 {
    margin: 0 0 15px;
    color: #333;
    font-size: 1.3em;
}

.punto-descripcion {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.5;
}

.opciones-voto {
    display: flex;
    gap: 20px;
}

.opciones-voto label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.btn-guardar-votacion {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 20px auto;
    padding: 12px 24px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background 0.2s ease;
}

.btn-guardar-votacion:hover {
    background: #388E3C;
}

.btn-guardar-votacion:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Estilos para los resultados */
.sb-resultados-votacion {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.resultado-punto {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.resultado-punto h3 {
    margin: 0 0 15px;
    color: #333;
    font-size: 1.3em;
}

.barra-resultados {
    display: flex;
    height: 30px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.votos-si {
    background: #4CAF50;
    color: white;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    transition: width 0.3s ease;
}

.votos-no {
    background: #f44336;
    color: white;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    transition: width 0.3s ease;
}

.total-votos {
    text-align: right;
    color: #666;
    font-size: 0.9em;
    margin: 5px 0 0;
}

.punto-votacion.punto-cerrado {
    opacity: 0.8;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
}

.punto-votacion .estado-punto {
    font-size: 0.8em;
    color: #666;
    font-weight: normal;
    margin-left: 10px;
}

.punto-votacion .mensaje-cerrado {
    color: #666;
    font-style: italic;
    margin: 10px 0;
}

.resultado-punto.punto-cerrado {
    opacity: 0.8;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
}

.resultado-punto .estado-punto {
    font-size: 0.8em;
    color: #666;
    font-weight: normal;
    margin-left: 10px;
} 