@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

* {
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #e8ecf1;
    color: #333;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.top-bar {
    background: #f0f2f5;
    border-bottom: 1px solid #d5d9de;
    padding: 14px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
}

.top-bar-left .logo-text {
    font-weight: 700;
    font-size: 20px;
    color: #4a5568;
    letter-spacing: -0.5px;
}

.server-switch-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.server-switch-buttons {
    display: flex;
    gap: 6px;
    background: #d5d9de;
    padding: 4px;
    border-radius: 10px;
}

.server-btn {
    text-decoration: none;
    padding: 7px 18px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 13px;
    color: #6b7280;
    transition: all 0.2s;
    background: transparent;
}

.server-btn.active {
    background: #ffffff;
    color: #4a5568;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.server-btn:hover:not(.active) {
    background: rgba(255,255,255,0.5);
    color: #4a5568;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.user-nick {
    font-weight: 600;
    font-size: 15px;
}

.role-badge {
    background: #555;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: white;
}
        
.server-status {
    font-weight: 600;
    font-size: 14px;
}

.main-nav {
    background: #f5f6f8;
    border-bottom: 1px solid #d5d9de;
    padding: 0;
}

.nav-container {
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
    gap: 8px;
}

.nav-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-group-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9ca3af;
    padding: 9px 0;
    white-space: nowrap;
    min-width: fit-content;
}

.nav-group-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    flex: 1;
}

.nav-link {
    display: inline-block;
    padding: 9px 16px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    font-size: 13.5px;
    border-radius: 8px;
    transition: all 0.2s;
    white-space: nowrap;
    background: transparent;
}

.nav-link:hover {
    background: #e2e6eb;
    color: #4a5568;
}

.nav-link.active {
    background: #dde3ea;
    color: #3b4252;
    font-weight: 600;
}

.page-title {
    text-align: center;
    margin: 24px 0 10px;
    font-size: 22px;
    font-weight: 700;
    color: #4a5568;
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
}

.login-card {
    background: #ffffff;
    padding: 32px 36px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    width: 100%;
    max-width: 390px;
    text-align: center;
    border: 1px solid #e2e6eb;
}

.login-card h2 {
    margin-bottom: 24px;
    font-size: 22px;
    font-weight: 700;
    color: #4a5568;
}

.form-group {
    margin-bottom: 16px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #6b7280;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d5d9de;
    border-radius: 8px;
    font-size: 14px;
    background: #f9fafb;
    color: #333;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #9ca3af;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(156,163,175,0.15);
}

.btn-login {
    display: block;
    width: 100%;
    padding: 11px;
    background-color: #6b7280;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 18px;
    transition: background 0.2s;
}

.btn-login:hover {
    background-color: #4b5563;
}

.error-message {
    background: #fee2e2;
    color: #b91c1c;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 14px;
    text-align: center;
    border: 1px solid #fecaca;
}

.filter-form {
    background-color: #ffffff;
    padding: 24px 26px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    width: 100%;
    max-width: 460px;
    margin: 24px auto;
    border: 1px solid #e2e6eb;
}

.filter-form h2 {
    text-align: center;
    margin-bottom: 18px;
    font-weight: 700;
    color: #4a5568;
    font-size: 18px;
}

.filter-form .form-group {
    margin-bottom: 14px;
}

.filter-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    color: #6b7280;
    font-size: 13.5px;
}

.filter-form .form-control {
    width: 100%;
    padding: 9px 12px;
    border-radius: 7px;
    border: 1px solid #d5d9de;
    background: #f9fafb;
    color: #333;
    font-size: 14px;
}

.filter-form .form-control:focus {
    outline: none;
    border-color: #9ca3af;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(156,163,175,0.15);
}

.filter-form .btn-submit {
    display: block;
    width: 100%;
    padding: 11px;
    background-color: #7c8a9a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    margin-top: 14px;
    transition: background 0.2s;
}

.filter-form .btn-submit:hover {
    background-color: #5a6978;
}

/* ========== РАСШИРЕННАЯ ТАБЛИЦА ДЛЯ УПРАВЛЕНИЯ ПОЛЬЗОВАТЕЛЯМИ ========== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e6eb;
}

.table-wrapper {
    overflow-x: auto;
    width: 100%;
    margin: 20px 0;
}

.table-wrapper table {
    margin: 0;
    min-width: 1200px; /* Фиксированная минимальная ширина для широкой таблицы */
}

table th, 
table td {
    border: 1px solid #e2e6eb;
    padding: 15px;
    text-align: left;
    vertical-align: middle;
}

/* Специфические стили для таблицы пользователей */
.users-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.users-table td {
    background: white;
}

.users-table tr:hover td {
    background: #f8f9ff;
}

/* Ширина колонок */
.users-table th:nth-child(1),
.users-table td:nth-child(1) {
    width: 25%;
}

.users-table th:nth-child(2),
.users-table td:nth-child(2) {
    width: 15%;
}

.users-table th:nth-child(3),
.users-table td:nth-child(3) {
    width: 12%;
    text-align: center;
}

.users-table th:nth-child(4),
.users-table td:nth-child(4) {
    width: 18%;
}

.users-table th:nth-child(5),
.users-table td:nth-child(5) {
    width: 30%;
}

/* Центрирование чекбокса */
.users-table td:nth-child(3) {
    text-align: center;
}

/* Стили для input в таблице */
.users-table input[type="text"],
.users-table select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d5d9de;
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.2s;
}

.users-table input[type="text"]:focus,
.users-table select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.users-table input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    transform: scale(1.1);
}

/* Кнопки в таблице */
.users-table button {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    margin: 0 4px;
}

.users-table .btn-save {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.users-table .btn-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.4);
}

.users-table .btn-delete {
    background: #ff4757;
    color: white;
}

.users-table .btn-delete:hover {
    background: #ff3838;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,71,87,0.4);
}

/* ========== КОНЕЦ РАСШИРЕННОЙ ТАБЛИЦЫ ========== */

table td.number-cell,
table th.number-cell {
    text-align: right;
}

table td.center-cell,
table th.center-cell {
    text-align: center;
}

table thead tr {
    background-color: #f0f2f5;
    font-weight: 600;
    color: #4a5568;
}

table tbody tr:hover {
    background-color: #f5f7fa;
    transition: background 0.2s;
}

table tr:nth-child(even) {
    background-color: #fafbfc;
}

td table {
    width: 100%;
    margin: 0;
    box-shadow: none;
    border: none;
}

td table th,
td table td {
    padding: 8px 12px;
    font-size: 13px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 24px 40px;
}

.page-with-table {
    padding: 0 24px;
}

.page-with-table .table-wrapper:first-child {
    margin-top: 0;
}

.nav-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.nav-buttons a {
    text-decoration: none;
    padding: 10px 20px;
    background-color: #ffffff;
    color: #4a5568;
    border-radius: 8px;
    font-weight: 500;
    border: 1px solid #d5d9de;
    font-size: 14px;
    transition: all 0.2s;
}

.nav-buttons a:hover {
    background-color: #e2e6eb;
}

.checkbox-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    font-size: 13.5px;
    background: #f0f2f5;
    padding: 6px 12px;
    border-radius: 7px;
    cursor: pointer;
    color: #4a5568;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 6px;
    width: 16px;
    height: 16px;
    accent-color: #7c8a9a;
    cursor: pointer;
}

.checkbox-item:hover {
    background-color: #e2e6eb;
}

.checkbox-buttons {
    margin-bottom: 10px;
}

.checkbox-buttons button {
    padding: 6px 12px;
    margin-right: 5px;
    border-radius: 6px;
    border: 1px solid #d5d9de;
    background-color: #fff;
    color: #4a5568;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.checkbox-buttons button:hover {
    background-color: #e2e6eb;
}

/* Стили для админ-панели */
.admin-wrapper {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.admin-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    width: 100%;
    border: 1px solid #e2e6eb;
}

.admin-card h2 {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
    color: #4a5568;
    margin-top: 0;
}

.admin-card .form-group {
    margin-bottom: 14px;
    text-align: left;
}

.admin-card .form-control {
    width: 100%;
    padding: 9px 12px;
    border-radius: 7px;
    border: 1px solid #d5d9de;
    background: #f9fafb;
    color: #333;
}

.admin-card .form-control:focus {
    border-color: #9ca3af;
    outline: none;
    background: #fff;
}

.admin-card .btn {
    display: block;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

.admin-card .btn-primary {
    background-color: #7c8a9a;
    color: #fff;
}

.admin-card .btn-primary:hover {
    background-color: #5a6978;
}

.admin-card .btn-danger {
    background-color: #c53030;
    color: #fff;
}

.admin-card .btn-danger:hover {
    background-color: #9b2c2c;
}

.admin-nick {
    font-weight: 600;
    font-size: 15px;
    color: #6b7280;
    transition: all 0.2s ease;
    position: relative;
    display: inline-block;
}

.admin-nick::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #9ca3af;
    left: 0;
    bottom: -2px;
    transition: width 0.2s ease;
}

.admin-nick:hover {
    color: #4a5568;
}

.admin-nick:hover::after {
    width: 100%;
}

.hidden {
    display: none;
}

.tab-content {
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

.optional {
    color: #9ca3af;
    font-size: 0.85em;
    font-weight: normal;
}

.info-cards {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.info-card {
    flex: 1;
    min-width: 240px;
    background: #ffffff;
    border: 1px solid #e2e6eb;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f5f6f8;
    border-bottom: 1px solid #e2e6eb;
    font-weight: 600;
    font-size: 14px;
    color: #4a5568;
}

.info-card-icon {
    color: #9ca3af;
    flex-shrink: 0;
}

.info-card-body {
    padding: 12px 16px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid #f0f2f5;
    font-size: 13.5px;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: #9ca3af;
    font-weight: 500;
}

.info-value {
    color: #4a5568;
    font-weight: 600;
}

.info-value-muted {
    color: #b0b8c1;
    font-weight: 500;
}

.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.badge-green {
    background: #e6f4ea;
    color: #2e7d32;
}

.badge-red {
    background: #fce4e4;
    color: #c62828;
}

.welcome-block {
    background: #ffffff;
    border: 1px solid #e2e6eb;
    border-radius: 10px;
    padding: 24px 28px;
    text-align: center;
    line-height: 1.7;
    color: #4a5568;
    font-size: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.welcome-block strong {
    color: #3b4252;
}

/* Стили для сообщений */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Секция добавления пользователя */
.add-user-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e2e6eb;
}

.add-user-section h3 {
    margin-bottom: 20px;
    color: #4a5568;
    font-size: 20px;
    font-weight: 600;
}

.add-user-form {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.add-user-form .form-group {
    flex: 1;
    min-width: 180px;
    margin-bottom: 0;
}

.add-user-form .form-group label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.btn-add {
    background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
    color: white;
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-add:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,176,155,0.4);
}

/* Скроллбар */
.table-wrapper::-webkit-scrollbar {
    height: 10px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 5px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}



/* VOTES */
/* ========== МОДАЛЬНОЕ ОКНО ГОЛОСОВАНИЯ ========== */

.vote-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.vote-modal-content {
    width: 680px;
    max-width: 95%;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e6eb;
    max-height: 85vh;
    overflow: auto;
}

.vote-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e6eb;
    background: #f5f6f8;
    border-radius: 14px 14px 0 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.vote-modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #4a5568;
}

.vote-modal-header .candidate-id {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 4px;
    display: block;
}

.vote-modal-close {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s;
    line-height: 1;
}

.vote-modal-close:hover {
    background: #e2e6eb;
    color: #4a5568;
}

.vote-modal-body {
    padding: 24px;
}

/* Информационные карточки в модальном окне */
.vote-info-cards {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.vote-info-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e2e6eb;
    border-radius: 10px;
    overflow: hidden;
}

.vote-info-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f5f6f8;
    border-bottom: 1px solid #e2e6eb;
    font-weight: 600;
    font-size: 13px;
    color: #6b7280;
}

.vote-info-card-header i {
    color: #9ca3af;
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.vote-info-card-body {
    padding: 12px 16px;
}

.vote-info-value {
    color: #4a5568;
    font-weight: 600;
    font-size: 14px;
}

/* Комментарий */
.vote-comment {
    background: #f9fafb;
    border: 1px solid #e2e6eb;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 24px;
}

.vote-comment-label {
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.vote-comment-label i {
    color: #9ca3af;
    font-size: 14px;
}

.vote-comment-text {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.6;
}

/* Статистика голосов */
.vote-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.vote-stat {
    flex: 1;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    transition: transform 0.2s;
}

.vote-stat:hover {
    transform: translateY(-2px);
}

.vote-stat-yes {
    background: linear-gradient(135deg, #00b09b15 0%, #96c93d15 100%);
    border: 1px solid #00b09b30;
}

.vote-stat-no {
    background: #ff475715;
    border: 1px solid #ff475730;
}

.vote-stat-neutral {
    background: #9ca3af15;
    border: 1px solid #9ca3af30;
}

.vote-stat-number {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.vote-stat-yes .vote-stat-number {
    color: #00b09b;
}

.vote-stat-no .vote-stat-number {
    color: #ff4757;
}

.vote-stat-neutral .vote-stat-number {
    color: #9ca3af;
}

.vote-stat-label {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
}

/* Форма голосования */
.vote-form {
    background: #f9fafb;
    border: 1px solid #e2e6eb;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 24px;
}

.vote-form-title {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 16px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vote-form-title i {
    color: #9ca3af;
}

.vote-form .form-group {
    margin-bottom: 12px;
}

.vote-form .form-group label {
    font-weight: 500;
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 8px;
    display: block;
}

.btn-vote {
    display: block;
    width: 100%;
    padding: 11px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 16px;
    transition: all 0.2s;
}

.btn-vote:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Список голосов */
.votes-list-title {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 16px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.votes-list-title i {
    color: #9ca3af;
}

.votes-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vote-item {
    background: #ffffff;
    border: 1px solid #e2e6eb;
    border-radius: 10px;
    padding: 16px;
    transition: all 0.2s;
}

.vote-item:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.vote-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.vote-item-voter {
    font-weight: 600;
    color: #4a5568;
    font-size: 14px;
}

.vote-item-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.vote-item-badge-yes {
    background: #e6f4ea;
    color: #2e7d32;
}

.vote-item-badge-no {
    background: #fce4e4;
    color: #c62828;
}

.vote-item-badge-neutral {
    background: #f0f2f5;
    color: #9ca3af;
}

.vote-item-reason {
    background: #f9fafb;
    border-radius: 6px;
    padding: 10px 12px;
    margin-top: 8px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
}

.votes-empty {
    text-align: center;
    padding: 32px 20px;
    color: #9ca3af;
    font-size: 14px;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px dashed #d5d9de;
}

.votes-empty i {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}