/* ─── rcVotersModal — стили ───────────────────────────────── */

.rc-voters-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10500;
    animation: rc-voters-fade 0.18s ease;
}

.rc-voters-dialog {
    background: #1a1f2e;
    border: 1px solid var(--ac-border, rgba(34, 85, 238, .38));
    border-radius: 12px;
    padding: 0;
    max-width: 540px;
    width: 90%;
    max-height: 80vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: rc-voters-pop 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
[data-theme="light"] .rc-voters-dialog {
    background: #fff;
    color: var(--rc-black, #020A0A);
}

.rc-voters-head {
    display: flex;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
[data-theme="light"] .rc-voters-head { border-bottom-color: rgba(0, 0, 0, .08); }

.rc-voters-title {
    flex: 1;
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: inherit;
}
.rc-voters-close {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 28px; height: 28px;
    border-radius: 6px;
    opacity: .65;
}
.rc-voters-close:hover { opacity: 1; background: var(--ac-dim, rgba(34, 85, 238, .15)); }

.rc-voters-superadmin-banner {
    background: #fff3cd;
    color: #664d03;
    padding: 10px 22px;
    font-size: 13px;
    line-height: 1.4;
    border-bottom: 1px solid #ffe69c;
}
[data-theme="dark"] .rc-voters-superadmin-banner {
    background: #3d2f00;
    color: #ffd66b;
    border-bottom-color: #5a4500;
}

.rc-voters-body {
    overflow-y: auto;
    padding: 16px 22px 22px;
    flex: 1;
}

.rc-voters-question {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.rc-voters-question:last-child { border-bottom: none; margin-bottom: 0; }
[data-theme="light"] .rc-voters-question { border-bottom-color: rgba(0, 0, 0, .06); }

.rc-voters-q-text {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 4px;
}
.rc-voters-q-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 8px;
}
[data-theme="light"] .rc-voters-q-meta { color: rgba(0, 0, 0, .5); }

.rc-voters-options {
    list-style: none;
    padding: 0;
    margin: 0;
}
.rc-voters-option {
    margin-bottom: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
}
[data-theme="light"] .rc-voters-option {
    background: #f7f8fa;
    border-color: rgba(0, 0, 0, .06);
}
.rc-voters-option-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
}
.rc-voters-option-text {
    font-weight: 600;
    font-size: 14px;
}
.rc-voters-option-count {
    font-weight: 700;
    color: var(--ac, #2255EE);
    font-variant-numeric: tabular-nums;
}

.rc-voters-list {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.rc-voters-list li {
    display: inline-block;
    padding: 3px 10px;
    background: var(--ac-dim, rgba(34, 85, 238, .15));
    border: 1px solid var(--ac-border, rgba(34, 85, 238, .38));
    border-radius: 12px;
    font-size: 12px;
}
.rc-voters-list-empty {
    font-size: 12px;
    color: rgba(255, 255, 255, .45);
    font-style: italic;
}
[data-theme="light"] .rc-voters-list-empty { color: rgba(0, 0, 0, .5); }

.rc-voters-empty {
    text-align: center;
    color: rgba(255, 255, 255, .5);
    padding: 24px 0;
    font-size: 14px;
}
[data-theme="light"] .rc-voters-empty { color: rgba(0, 0, 0, .5); }

@keyframes rc-voters-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes rc-voters-pop {
    from { transform: scale(0.94); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

/* btn-show-voters — кнопка под результатами */
.btn-show-voters {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: .8rem;
    padding: .35rem .9rem;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--ac-border, rgba(34, 85, 238, .38));
    color: var(--ac, #2255EE);
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.btn-show-voters:hover {
    background: var(--ac-dim, rgba(34, 85, 238, .15));
    border-color: var(--ac, #2255EE);
}
[data-theme="light"] .btn-show-voters {
    background: rgba(34, 85, 238, .06);
}
