.poll-widget {
    margin-top: 2rem;
}

/* Magazine sidebar kompatibilitás */
.magazine-sidebar .poll-widget {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    margin-top: 0;
}

.magazine-sidebar .poll-widget .post-sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #212529;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.poll-container {
    padding: 0;
}

.poll-question {
    font-weight: 600;
    font-size: 1.05rem;
    color: #2B3940;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

/* Szavazás gombok */
.poll-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.poll-option {
    width: 100%;
}

.poll-vote-btn {
    width: 100%;
    padding: 0.875rem 1rem;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #2B3940;
}

.poll-vote-btn:hover {
    background-color: #00B074;
    border-color: #00B074;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 176, 116, 0.25);
}

.poll-vote-btn:active {
    transform: translateY(0);
}

.poll-vote-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
    display: inline-block;
    vertical-align: text-bottom;
    border: 0.15em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

.poll-option-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.poll-vote-btn:hover .poll-option-icon {
    transform: scale(1.1);
}

.poll-option-text {
    flex: 1;
    font-weight: 500;
}

/* Eredmények */
.poll-results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.poll-result-item {
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.poll-result-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.poll-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.poll-result-header .poll-option-text {
    font-weight: 600;
    color: #2B3940;
    font-size: 0.95rem;
}

.poll-vote-count {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

.poll-progress-wrapper {
    margin-bottom: 0.5rem;
}

.poll-progress {
    width: 100%;
    height: 28px;
    background-color: #e9ecef;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.poll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00B074 0%, #00d084 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.75rem;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.poll-progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.poll-progress-user {
    background: linear-gradient(90deg, #00B074 0%, #00d084 100%);
    box-shadow: 0 0 10px rgba(0, 176, 116, 0.4);
}

.poll-percentage {
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    z-index: 1;
    position: relative;
}

.poll-user-vote-indicator {
    margin-top: 0.5rem;
    color: #00B074;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.poll-total-votes {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
}

.poll-total-votes strong {
    color: #00B074;
    font-weight: 600;
}

