.live-poll-block {
    border: 1px solid #ddd;
    padding: 15px;
    margin: 15px 0;
}

.live-poll-history {
    margin-top: 20px;
}

.live-poll-history h4 {
    cursor: pointer;
    background: #f7f7f7;
    padding: 10px;
    border: 1px solid #ddd;
}

.poll-history-item {
    margin-bottom: 15px;
    border: 1px solid #ccc;
    padding: 10px;
}

.poll-history-item table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.poll-history-item table th,
.poll-history-item table td {
    border: 1px solid #ddd;
    padding: 5px;
    text-align: center;
}


.poll-vote-options {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 1rem;
}

.chart-legend {
    margin-top: 10px;
    text-align: center;
}

.chart-legend .legend-btn {
    cursor: default;
    opacity: 0.8;
}



/* Die nativen Radio-Buttons ausblenden */
.poll-vote-options input[type="radio"] {
    display: none;
}

/* Die Labels als Buttons stylen */
.poll-vote-options .vote-option {
    display: flex;
    align-items: center;
}

.poll-vote-options .vote-option label {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.5rem;
    border-radius: 100%;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.poll-vote-options .vote-option label.vote-yes {
    background-color: #9BCE3F;
}

.poll-vote-options .vote-option label.vote-no {
    background-color: #D42D94;
}

.poll-vote-options .vote-option label.vote-abstain {
    background-color: #999999;
}

/* Hover-Effekt */
.poll-vote-options .vote-option label:hover {
    background-color: #e2e6ea;
}

/* Wenn ein Radio-Button ausgewählt ist, Label hervorheben */
/* .poll-vote-options input[type="radio"]:checked+label {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
} */







#live-poll-chart {
    display: flex;
    align-content: center;
    justify-content: center;
}

#live-poll-canvas {
    max-width: 50vh;
    max-height: 50vh;
}

.chart-legend {
    display: none;
}

.live-poll-frontend h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.live-poll-frontend {}

#vote-feedback {
    height: 40px;
    overflow: hidden;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 8px;
}