/* Voting statistics styles */
.voting-stats-container {
    margin-top: 20px;
    width: 90vw;  /* 90% ширины экрана */
    max-width: 1200px;  /* Максимум */
    pointer-events: auto;  /* Включаем интерактивность */
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.voting-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(10, 14, 26, 0.8);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.stat-icon {
    font-size: 24px;
}

.stat-label {
    font-weight: 600;
    min-width: 100px;
}

.stat-value {
    margin-left: auto;
    color: #00d4ff;
    font-weight: 700;
}

.stat-total {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.vote-split-bar-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.vote-split-bar {
    display: flex;
    height: 44px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.vote-bar-fill {
    height: 100%;
    transition: width 0.6s ease-out;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 12px;
}

.vote-spaceship {
    background: linear-gradient(90deg, #8b0000 0%, #dc143c 100%);
    box-shadow: inset 0 0 20px rgba(220, 20, 60, 0.4);
    justify-content: flex-start;
}

.vote-comet {
    background: linear-gradient(90deg, #00d4ff 0%, #0a2540 100%);
    box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.4);
    justify-content: flex-end;
}

.vote-bar-content {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.vote-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.vote-text-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.vote-name {
    font-size: 14px;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1;
}

.vote-percent {
    font-size: 16px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1;
}

.vote-bar-divider {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    z-index: 3;
}

.vote-total {
    text-align: center;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
}

.vote-bar-left .vote-text-block {
    align-items: flex-start;
    text-align: left;
}

.vote-bar-right .vote-text-block {
    align-items: flex-end;
    text-align: right;
}

.vote-split-bar-container.clickable {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.vote-split-bar-container.clickable:hover {
    transform: scale(1.02);
}