﻿.poll-container {
    max-width: 100%;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.poll-header {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.poll-expiration {
    font-size: 11px;
    color: #666;
}

.poll-closed {
    color: red;
    font-weight: bold;
}

.poll-options {
    margin-top: 10px;
}



.poll-checkbox,
.poll-radio {
    margin-right: 10px;
}

.poll-label {
    font-size: 16px;
    flex-grow: 1;
}

.poll-voted-icon {
    color: #ff007f;
    font-size: 18px;
    margin-left: 10px;
}

.poll-button {
    width: 100%;
    padding: 10px;
    background: #ff007f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

    .poll-button:disabled {
        background: #ccc;
        cursor: not-allowed;
    }

    .poll-button:hover:not(:disabled) {
        background: #b00074;
    }

.poll-change-vote {
    margin-top: 10px;
    text-align: center;
    color: #007bff;
    cursor: pointer;
}

    .poll-change-vote:hover {
        text-decoration: underline;
    }



.poll-option.selected {
    background-color: #ffdde1; /* Světle růžové zvýraznění */
    border-radius: 5px;
    padding: 5px;
}

.vote-check {
    color: #ff007f;
    font-weight: bold;
    margin-left: 8px;
}


.poll-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s;
}

.voted-option {
    background: #ffe6f2; /* Světle růžové podbarvení pro vybrané odpovědi */
}

.poll-option input {
    margin-right: 10px; /* Mezera mezi checkboxem a textem */
}

.poll-option-text {
    flex-grow: 1; /* Zajistí, že text zabere místo mezi checkboxem a ikonou */
}

.vote-check-icon {
    color: #ff007f; /* Růžová barva pro ikonu hlasování */
    font-weight: bold;
    margin-left: 15px;
}





.poll-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 15px;
}



.poll-input {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

.poll-options {
    list-style-type: none;
    padding: 0;
}

.poll-option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    background: #fff;
    border-radius: 5px;
    margin-bottom: 5px;
    border: 1px solid #ddd;
}

.poll-remove-btn {

    color: white;
    border: none;
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
}



.poll-submit {
    background: #28a745;
}

