.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: 10px 0px 5px 0px;
}
.vote-buttons-multi { 
    display: flex;
    justify-content: center;
}
.vote-btn {
    margin: 0 5px;
    font-size: 1.2em;
    cursor: pointer;
    border: 1px solid #ddd;
    width: 90px;
}
.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;
}

.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;
}

.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;
}

.no-vote-btn:hover, .vote-buttons-multi div:first-child button.vote-btn-multi:hover {
    color: #fff;
    background-color: #ed3b3b;
}

.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 {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.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 {
    background-color: #27AE607b;
    color: #fff;
}

body.dark-theme .no-vote-btn, body.dark-theme .vote-buttons-multi div:first-child button.vote-btn-multi {
    color: #fff;
    background-color: #EB57577b;
}

body.dark-theme .yes-vote-btn:hover, body.dark-theme .vote-buttons-multi div:last-child button.vote-btn-multi:hover {
    background-color: #27AE609b;
}

body.dark-theme .no-vote-btn:hover, body.dark-theme .vote-buttons-multi div:first-child button.vote-btn-multi:hover {
    background-color: #e61d009b;
}

.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: 2rem;
}
.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;
}