/* Container principal */
.vd-enquete-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Pergunta */
.vd-pergunta {
    margin-bottom: 25px;
    color: #333;
    font-size: 1.4em;
    text-align: center;
}

/* Lista de opções */
.vd-opcoes-lista {
    margin-bottom: 30px;
}

.vd-opcao-item {
    margin-bottom: 15px;
}

/* Botões de votação */
.vd-botao-votar {
    width: 100%;
    padding: 12px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-align: left;
    transition: background 0.3s;
}

.vd-botao-votar:hover {
    background: #45a049;
}

/* Barras de resultado */
.vd-barra-resultado {
    position: relative;
    height: 30px;
    background: #e0e0e0;
    border-radius: 4px;
    margin-top: 5px;
    overflow: hidden;
}

.vd-barra-preenchimento {
    height: 100%;
    background: #4CAF50;
    transition: width 0.5s ease;
}

.vd-porcentagem, .vd-contador {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #333;
    font-weight: bold;
    font-size: 14px;
}

.vd-porcentagem {
    left: 10px;
}

.vd-contador {
    right: 10px;
}

/* Seção de sugestão */
.vd-sugestao-container {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.vd-sugestao-container h4 {
    margin-top: 0;
    color: #333;
}

.vd-form-sugestao {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.vd-input-sugestao {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.vd-botao-sugerir {
    padding: 10px 20px;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.vd-botao-sugerir:hover {
    background: #0b7dda;
}

.vd-info-sugestao {
    font-size: 12px;
    color: #666;
    margin: 0;
}

/* Modal WhatsApp */
.vd-modal-whatsapp {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vd-modal-conteudo {
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
}

.vd-modal-conteudo h4 {
    margin-top: 0;
    color: #333;
}

.vd-whatsapp-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.vd-input-whatsapp {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.vd-botao-confirmar {
    padding: 12px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.vd-botao-confirmar:hover {
    background: #1da851;
}

.vd-botao-cancelar {
    padding: 10px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Resultados */
.vd-resultados-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
}

.vd-total-votos {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.vd-lista-resultados {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.vd-resultado-item {
    margin-bottom: 20px;
}

.vd-resultado-cabecalho {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.vd-opcao-texto {
    font-weight: bold;
    color: #333;
}

.vd-opcao-stats {
    color: #4CAF50;
    font-weight: bold;
}

/* Responsivo */
@media (max-width: 600px) {
    .vd-form-sugestao {
        flex-direction: column;
    }
    
    .vd-resultado-cabecalho {
        flex-direction: column;
    }
}