.ig-polls {
    margin: 24px 0;
    font-family: 'Montserrat', Arial, sans-serif;
    color: #f5f5f5;
}

.ig-polls--empty p,
.ig-polls--error p {
    color: #ccc;
    font-style: italic;
}

.ig-polls--error p {
    color: #ff6b6b;
}

.ig-poll {
    background: rgba(30, 25, 29, 0.85);
    border: 1px solid #433841;
    border-radius: 8px;
    padding: 20px 22px;
    margin-bottom: 20px;
}

.ig-poll__title,
.ig-poll-card__title {
    margin: 0 0 10px;
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
}

.ig-poll__meta,
.ig-poll-card__date {
    margin: 0 0 14px;
    color: #bbb;
    font-size: 0.95rem;
}

.ig-poll__label {
    color: #ff00ed;
    font-weight: 600;
    margin-right: 6px;
}

.ig-poll__options {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ig-poll__option {
    margin-bottom: 12px;
}

.ig-poll__option-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.ig-poll__option-label {
    font-weight: 500;
}

.ig-poll__option-stats {
    color: #aaa;
    font-size: 0.92rem;
}

.ig-poll__bar {
    height: 6px;
    background: #2a2228;
    border-radius: 999px;
    overflow: hidden;
}

.ig-poll__vote-hint {
    margin: 16px 0 0;
    color: #ccc;
    font-size: 0.95rem;
}

.ig-poll__vote-hint a {
    color: #ff00ed;
    font-weight: 600;
}

.ig-poll__vote-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.ig-poll__vote-btn {
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #ff00ed;
    border-radius: 4px;
    background: rgba(255, 0, 237, 0.12);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.ig-poll__vote-btn:hover:not(:disabled) {
    background: rgba(255, 0, 237, 0.25);
    border-color: #71ffd0;
}

.ig-poll__vote-btn:disabled,
.ig-poll__vote-btn.is-voted {
    opacity: 0.45;
    cursor: not-allowed;
}

.ig-poll__vote-feedback {
    margin: 10px 0 0;
    min-height: 1.2em;
    font-size: 0.92rem;
}

.ig-poll__vote-feedback.is-success {
    color: #71ffd0;
}

.ig-poll__vote-feedback.is-error {
    color: #ff6b6b;
}

.ig-poll__vote-feedback.is-pending {
    color: #bbb;
}

.ig-poll__bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #ff00ed, #71ffd0);
    border-radius: 999px;
}

.ig-poll__footer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #433841;
    color: #888;
    font-size: 0.85rem;
}

.ig-polls__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.ig-poll-card {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    min-height: 180px;
}

.ig-poll-card__winner {
    margin: 0 0 10px;
    font-size: 1rem;
}

.ig-poll-card__stats {
    margin: 0 0 12px;
    color: #aaa;
    font-size: 0.9rem;
}

.ig-poll-card__breakdown {
    list-style: none;
    margin: auto 0 0;
    padding: 12px 0 0;
    border-top: 1px solid #433841;
    font-size: 0.88rem;
    color: #ccc;
}

.ig-poll-card__breakdown li {
    margin-bottom: 4px;
}

.ig-polls__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.ig-polls__page-link {
    color: #ff00ed !important;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 12px;
    border: 1px solid #433841;
    border-radius: 4px;
}

.ig-polls__page-link:hover {
    border-color: #ff00ed;
    color: #71ffd0 !important;
}

.ig-polls__page-status {
    color: #bbb;
    font-size: 0.95rem;
}

@media (max-width: 640px) {
    .ig-poll__option-row {
        flex-direction: column;
        gap: 4px;
    }

    .ig-polls__grid {
        grid-template-columns: 1fr;
    }
}
