.vote-box-container {
    width: 100%;
    min-height: 80px;
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #ffffff;
    position: relative;
    margin-bottom: 5px;
}


.vote-inner-panel {
    width: 100%;
    margin-top: 10px;
}

.vote-buttons {
    text-align: center;
    margin: 0.5em 0px 0.5em 0px;
}
.vote-buttons-multi, .vote-step-group { 
    display: flex;
    justify-content: center;
}
.vote-step-group {
    margin-top: 0.5em;
    flex-wrap: wrap;
 }
.vote-btn {
    margin: 0 5px;
    font-size: 1em;
    cursor: pointer;
    border: 1px solid #ddd;
    width: 110px;
}
.vote-btn-multi {
    background-color: #f5f5f5;
}
.yes-vote-btn, .vote-buttons-multi div:last-child button.vote-btn-multi {
    background-color: #27AE601A;
    margin-bottom: 5px;
    /* color: #27AE60; */
}
.vote-step-group div:last-child button.vote-step-btn {
    background-color: #27AE601A;
    /* color: #27AE60; */
}
.vote-step-group div:nth-child(2) button.vote-step-btn {
    /* color: #f16262; */
    background-color: #f494941a;
}
.vote-step-group div:nth-child(4) button.vote-step-btn {
    /* color: #52be80; */
    background-color: #71c6961a;
}
.yes-vote-btn-span {
    color: #27AE60;
    font-weight: bold;
    font-size: 1.2em;
}

.no-vote-btn, .vote-buttons-multi div:first-child button.vote-btn-multi{
    /* color: #E64800; */
    background-color: #EB57571A;
}
.vote-step-group div:first-child button.vote-step-btn {
    /* color: #E64800; */
    background-color: #EB57571A;
}
.no-vote-btn-span {
    color: #E64800;
    font-weight: bold;
    font-size: 1.2em;
}

.yes-vote-btn:hover, .vote-buttons-multi div:last-child button.vote-btn-multi:hover {
    background-color: #27ae5fd5;
    /* color: #fff; */
}
.vote-step-group div:last-child button.vote-step-btn:hover {
    background-color: #27ae5fd5;
    /* color: #fff; */
}
.no-vote-btn:hover, .vote-buttons-multi div:first-child button.vote-btn-multi:hover {
    /* color: #fff; */
    background-color: #ed3b3b;
}
.vote-step-group div:first-child button.vote-step-btn:hover {
    /* color: #fff; */
    background-color: #ed3b3b;
}
.vote-step-group div:nth-child(2) button.vote-step-btn:hover {
    background-color: #f16262d5;
    /* color: #fff; */
}
.vote-step-group div:nth-child(4) button.vote-step-btn:hover {
    background-color: #52be80d5;
    /* color: #fff; */
}
.vote-step-group div:nth-child(3) button.vote-step-btn:hover,
.vote-buttons-multi div:nth-child(2) button.vote-btn-multi:hover {
    background-color: #cbd4a0d5;
}
.vote-bar-combined {
    display: flex;
    width: 100%;
    height: 24px;
    border-radius: 5px;
    overflow: hidden;
    background-color: #eee;
    margin: 5px 0px;
}

.vote-bar {
    height: 100%;
    text-align: right;
    line-height: 24px;
    color: white;
    /*font-weight: bold;*/
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
}
.vote-bar-multi, .vote-bar-step {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    min-width: 40px;
}
.yes-bar {
    background-color: #27AE60;
    text-align: right;
    padding-right:10px;
}

.no-bar {
    background-color: #ed3b3b;
    text-align: left;
    padding-left:10px;
}

.label-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    /*font-weight: bold;*/
    margin: 10px 10px 0 10px;
}

.question-label {
    display: block;
    text-align: center;
}

.extra-vote-label {
    font-size: 12px;
    display: block;
    text-align: center;
}

.vote-modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.vote-modal-content {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    text-align: center;
    width: 90%;
    max-width: 320px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.vote-modal-actions {
    margin-top: 15px;
}

.vote-modal-btn {
    padding: 8px 16px;
    margin: 0 5px;
    border: none;
    font-size: 14px;
    cursor: pointer;
}

.vote-modal-btn.login {
    background-color: #007bff;
    color: white;
}

.vote-modal-btn.cancel {
    background-color: #ccc;
    color: #333;
}

.bi-arrow-up-circle {
    color: green;
}

.bi-arrow-down-circle {
    color: red;
}

.vote-feedback-icon {
    position: absolute;
    bottom: 5px;
    right: 8px;
    text-decoration: none;
    font-size: 11px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.vote-feedback-icon:hover {
    opacity: 1;
    color: #111;
    cursor: pointer;
}

body.dark-theme #voteBox{
    background-color: #222;
    border-color: #000;
}

body.dark-theme .vote-btn{
    background-color: #333;
    border-color: #000;
}

body.dark-theme .vote-feedback-icon:hover {
    color: #999;
}

body.dark-theme .vote-bar-combined {
    background-color: #333;
}

body.dark-theme .vote-modal-content {
    background-color: #222;
}

body.dark-theme .yes-vote-btn, body.dark-theme .vote-buttons-multi div:last-child button.vote-btn-multi,
body.dark-theme .vote-step-group div:last-child button.vote-step-btn {
    background-color: #27AE607b;
    color: #fff;
}

body.dark-theme .no-vote-btn, body.dark-theme .vote-buttons-multi div:first-child button.vote-btn-multi,
body.dark-theme .vote-step-group div:first-child button.vote-step-btn {
    color: #fff;
    background-color: #EB57577b;
}
body.dark-theme .vote-step-group div:nth-child(2) button.vote-step-btn {
    color: #fff;
    background-color: #ee75757b;
}
body.dark-theme .yes-vote-btn:hover, body.dark-theme .vote-buttons-multi div:last-child button.vote-btn-multi:hover,
body.dark-theme .vote-step-group div:last-child button.vote-step-btn:hover {
    background-color: #27AE609b;
}
body.dark-theme .vote-step-group div:nth-child(4) button.vote-step-btn {
    color: #fff;
    background-color: #69b7899b;
}
body.dark-theme .vote-step-group div:nth-child(4) button.vote-step-btn:hover {
    background-color: #53ba7e9b;
}
body.dark-theme .no-vote-btn:hover, body.dark-theme .vote-buttons-multi div:first-child button.vote-btn-multi:hover,
body.dark-theme .vote-step-group div:first-child button.vote-step-btn:hover {
    background-color: #e61d009b;
}
body.dark-theme .vote-step-group div:nth-child(2) button.vote-step-btn:hover {
    background-color: #f162629b;
}
body.dark-theme .vote-step-group div:nth-child(3) button.vote-step-btn:hover,
body.dark-theme .vote-buttons-multi div:nth-child(2) button.vote-btn-multi:hover {
    background-color: #898e6ed4;
}
.vote-box-container-table .vote-buttons .previous-value {
    margin: auto 10px;
}
.vote-box-container-table .vote-buttons .vote-btn-table {
    cursor: pointer;
}
.vote-box-container-table .vote-buttons .bi-caret-down-square-fill {
    color: #ed3b3b;
}
.vote-box-container-table .vote-buttons .bi-caret-up-square-fill {
    color: #27AE60;
}
.vote-info {
    text-align: center;
}
.previous-value {
    font-weight: bold;
}
.vote-btn-multi:hover {
    background-color: #e6e6e6;
}
.vote-bar-combined {
    color: white;
    margin-top: 1.5rem;
}
.vote-options-label {
    position: absolute;
    transform: translateY(-135%);
    color: rgb(33, 37, 41);
    font-size: 12px;
}
body.dark-theme .vote-options-label {
    color: #eee;
}
.vote-feedback-link-container {
    padding: 5px;
}
.vote-results-step-result-label, .vote-results-mult-bin-label {
    font-size: 14px;
    width: 50px;
    display: inline-block;
    margin-left: 4px;
}
.vote-step-btn {
    width: 76px;
    padding: 1px 6px 1px 6px;
    border-radius: 0px !important;
    margin: 0;
}
@media only screen and (max-width: 600px) {
    .vote-step-btn {
        width: 60px;
        font-size: 12px;
        font-weight: bold;
    }
    .vote-step-btn svg {
        width: 12px;
        height: 12px;
    }
    .vote-bar-step {
        font-size: 14px;
    }
}
.vote-step {
    display: flex;
    align-items: center;
}
.vote-mult-bin {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3px auto;
}
.vote-mult-bin-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 10px auto;
}
.vote-mult-bin-label {
    margin-right: 20px;
}
.vote-mult-bin-btn-voted-no, .vote-mult-bin-btn-voted-yes, .vote-step-btn-voted {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
}
.vote-mult-bin-btn {
    border-radius: 0.375rem !important;
    width: 51px;
}
.extra-polls-link a {
    text-decoration: none !important;
    color: #111;
}
.extra-polls-link {
    transform: translateY(4px);
}
.vote-step:not(:first-child) button {
    border-left: none !important;
}
.vote-options-label .bi-arrow-up, .vote-options-label .bi-arrow-down {
    height: 12px;
}
.vote-label-highest {
    font-weight: bold;
}
.bi-arrow-up, .bi-arrow-down {
    transform: translateY(-2px);
}
.vote-results-title {
    text-align: center;
    margin-top: 0.5em;
}
.vote-next-event-container {
    display: flex;
    justify-content: center;
    margin-top: 0.5em;
    font-size: 14px;
}
.vote-btn-next {
    position: absolute;
    bottom: 8px;
}