.wpcm-poll {
    max-width: 860px;
    margin: 24px auto;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
}

.wpcm-poll-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
    margin-bottom: 20px;
}

.wpcm-poll-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
}

.wpcm-poll-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.wpcm-poll-badge.is-voted {
    background: #ecfdf3;
    color: #027a48;
}

.wpcm-poll-badge.is-closed {
    background: #fef3f2;
    color: #b42318;
}

.wpcm-poll-options {
    display: grid;
    gap: 16px;
}

.wpcm-poll-option {
    display: flex;
    gap: 16px;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px;
    background: #fcfcfd;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.wpcm-poll-option:hover {
    box-shadow: 0 6px 14px rgba(16, 24, 40, 0.06);
}

.wpcm-poll-option__thumb {
    flex: 0 0 auto;
}

.wpcm-poll-option__thumb img {
    display: block;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
}

.wpcm-poll-option__content {
    flex: 1 1 auto;
    min-width: 0;
}

.wpcm-poll-option__title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 10px;
}

.wpcm-poll-option__action {
    margin-top: 8px;
}

.wpcm-poll-vote-button {
    appearance: none;
    border: 0;
    background: #0f62fe;
    color: #fff;
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.wpcm-poll-vote-button:hover {
    opacity: 0.92;
}

.wpcm-poll-vote-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.wpcm-poll-option__result-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.wpcm-votes {
    color: #344054;
}

.wpcm-percent {
    color: #0f62fe;
}

.wpcm-poll-progress {
    width: 100%;
    height: 12px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.wpcm-poll-progress__bar {
    height: 100%;
    background: linear-gradient(90deg, #0f62fe 0%, #3b82f6 100%);
    border-radius: 999px;
    transition: width 0.45s ease;
}

.wpcm-poll-footer {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.wpcm-poll-total {
    font-size: 15px;
    color: #475467;
}

.wpcm-poll-chart-wrap {
    margin-top: 24px;
    height: 340px;
    position: relative;
}

.wpcm-poll-chart-wrap.is-hidden {
    display: none;
}

.wpcm-poll.is-loading {
    opacity: 0.8;
    pointer-events: none;
}

.wpcm-poll-error {
    padding: 14px 16px;
    border: 1px solid #fecdca;
    background: #fef3f2;
    color: #b42318;
    border-radius: 12px;
    max-width: 820px;
    margin: 18px auto;
}

@media (max-width: 720px) {
    .wpcm-poll {
        padding: 16px;
        border-radius: 16px;
    }

    .wpcm-poll-header {
        flex-direction: column;
    }

    .wpcm-poll-title {
        font-size: 22px;
    }

    .wpcm-poll-option {
        flex-direction: column;
        align-items: stretch;
    }

    .wpcm-poll-option__thumb img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4 / 3;
    }

    .wpcm-poll-option__title {
        font-size: 19px;
    }

    .wpcm-poll-chart-wrap {
        height: 280px;
    }
}