/* ====== PASEK GŁOSOWANIA DLA INFERII ====== */

.ff-inferia-voting-bar {
    margin: 20px 0;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(10, 10, 10, 0.95) 100%);
    border: 1px solid rgba(246, 195, 67, 0.2);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Wyniki głosowania - po zagłosowaniu */
.ff-voting-results {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ff-voting-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 100px;
}

.ff-voting-item img {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    display: none; /* Ukryj stare PNG */
}

/* Nowoczesne ikony dla wyników */
.ff-voting-item::before {
    content: '';
    font-size: 18px;
    line-height: 1;
    display: block;
}

.ff-voting-item:first-child::before {
    content: '👎';
    filter: drop-shadow(0 2px 6px rgba(200, 0, 0, 0.6));
}

.ff-voting-item:last-child::before {
    content: '👍';
    filter: drop-shadow(0 2px 6px rgba(0, 200, 0, 0.6));
}

.ff-voting-item span {
    font-size: 12px;
    color: #b9b9b9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ff-vote-count {
    font-size: 20px;
    font-weight: 700;
    color: #f6c343;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Skala głosowania */
.ff-voting-scale {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ff-scale-bar {
    display: flex;
    gap: 2px;
    padding: 4px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ff-scale-segment {
    width: 10px;
    height: 20px;
    background: rgba(60, 60, 60, 0.8);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.ff-scale-segment--minus.ff-scale-segment--active {
    background: linear-gradient(to top, #c00, #ff4444);
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
}

.ff-scale-segment--plus.ff-scale-segment--active {
    background: linear-gradient(to top, #0a0, #44ff44);
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
}

.ff-scale-label {
    font-size: 11px;
    color: #999;
    text-align: center;
}

/* Przyciski głosowania - przed zagłosowaniem */
.ff-voting-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.ff-vote-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 140px;
}

.ff-vote-btn img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
    display: none; /* Ukryj stare PNG */
}

/* Nowoczesne ikony kciuków - CSS */
.ff-vote-btn::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    font-size: 24px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.ff-vote-btn--reject::before {
    content: '👎';
    filter: drop-shadow(0 2px 8px rgba(200, 0, 0, 0.8));
}

.ff-vote-btn--accept::before {
    content: '👍';
    filter: drop-shadow(0 2px 8px rgba(0, 200, 0, 0.8));
}

.ff-vote-btn:hover::before {
    transform: scale(1.15);
}

.ff-vote-btn span {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ff-vote-btn strong {
    font-size: 16px;
    margin-top: 4px;
}

/* Przycisk "Nie publikuj" */
.ff-vote-btn--reject {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.2) 0%, rgba(80, 0, 0, 0.2) 100%);
    border: 2px solid rgba(200, 0, 0, 0.4);
    color: #ff6666;
}

.ff-vote-btn--reject:hover {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.4) 0%, rgba(80, 0, 0, 0.4) 100%);
    border-color: rgba(255, 0, 0, 0.6);
    color: #ff8888;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(200, 0, 0, 0.4);
}

.ff-vote-btn--reject:hover img {
    transform: scale(1.1);
}

/* Przycisk "Publikuj" */
.ff-vote-btn--accept {
    background: linear-gradient(135deg, rgba(0, 100, 0, 0.2) 0%, rgba(0, 60, 0, 0.2) 100%);
    border: 2px solid rgba(0, 200, 0, 0.4);
    color: #66ff66;
}

.ff-vote-btn--accept:hover {
    background: linear-gradient(135deg, rgba(0, 100, 0, 0.4) 0%, rgba(0, 60, 0, 0.4) 100%);
    border-color: rgba(0, 255, 0, 0.6);
    color: #88ff88;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 200, 0, 0.4);
}

.ff-vote-btn--accept:hover img {
    transform: scale(1.1);
}

/* Szczegóły głosowania dla moderatorów */
.ff-vote-details-section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ff-vote-details-toggle {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(246, 195, 67, 0.1);
    border: 1px solid rgba(246, 195, 67, 0.3);
    border-radius: 6px;
    color: #f6c343;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.ff-vote-details-toggle:hover {
    background: rgba(246, 195, 67, 0.2);
    border-color: rgba(246, 195, 67, 0.5);
    color: #ffd96b;
}

.ff-vote-details-list {
    margin-top: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ff-vote-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ff-vote-detail-item:last-child {
    border-bottom: none;
}

.ff-vote-user {
    color: #f6c343;
    font-weight: 600;
    min-width: 120px;
}

.ff-vote-type {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.ff-vote-type--yes {
    background: rgba(0, 200, 0, 0.2);
    color: #66ff66;
    border: 1px solid rgba(0, 200, 0, 0.4);
}

.ff-vote-type--no {
    background: rgba(200, 0, 0, 0.2);
    color: #ff6666;
    border: 1px solid rgba(200, 0, 0, 0.4);
}

.ff-vote-weight {
    color: #b9b9b9;
    margin-left: auto;
}

/* Responsywność */
@media (max-width: 768px) {
    .ff-voting-results {
        flex-direction: column;
        gap: 16px;
    }
    
    .ff-voting-actions {
        flex-direction: column;
        gap: 16px;
    }
    
    .ff-vote-btn {
        width: 100%;
        max-width: 280px;
    }
    
    .ff-vote-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .ff-vote-user {
        min-width: auto;
    }
    
    .ff-vote-weight {
        margin-left: 0;
    }
}

