/* Insta-Bulletin Poll Widget v0.6.0 */
.iem-poll {
    width: 100%;
    color: #022340;
}

.iem-poll__question {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
}

.iem-poll__options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.iem-poll__option {
    position: relative;
    width: 100%;
    appearance: none;
    border: 1px solid #dbe3e8;
    border-radius: 10px;
    background: #fff;
    padding: 12px 14px;
    font: inherit;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease, background .16s ease;
}

.iem-poll__option:hover,
.iem-poll__option:focus-visible {
    border-color: #8cc63f;
    box-shadow: 0 6px 16px rgba(2,35,64,.08);
    transform: translateY(-1px);
    outline: none;
}

.iem-poll__option.is-selected {
    border-color: #8cc63f;
    background: #eef8df;
    box-shadow: inset 0 0 0 1px rgba(140,198,63,.22);
}

.iem-poll__option-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.iem-poll__option-label {
    color: #022340;
    font-weight: 600;
}

.iem-poll__result {
    flex: 0 0 auto;
    color: #456078;
    font-size: 12px;
    font-weight: 700;
}

.iem-poll__bar {
    display: block;
    width: 100%;
    height: 5px;
    margin-top: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e9eef2;
}

.iem-poll__bar-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: #8cc63f;
    transition: width .24s ease;
}

.iem-poll[data-results-visible="0"] .iem-poll__result,
.iem-poll[data-results-visible="0"] .iem-poll__bar,
.iem-poll[data-results-visible="0"] .iem-poll__total {
    display: none;
}

.iem-poll__total {
    margin-top: 10px;
    color: #456078;
    font-size: 12px;
}

.iem-poll__status {
    min-height: 1em;
    margin-top: 6px;
    color: #6b7f90;
    font-size: 11px;
}

.iem-poll.is-loading { opacity: .72; }
.iem-poll.is-saving .iem-poll__option { pointer-events: none; }

@media (max-width: 767px) {
    .iem-poll__question { font-size: 18px; }
    .iem-poll__option { padding: 10px 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .iem-poll__option,
    .iem-poll__bar-fill { transition: none; }
}

/* Poll / Quiz enhancements v0.7.0 */
.iem-poll__option-main {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.iem-poll__option-icon {
    flex: 0 0 auto;
    font-size: 22px;
    line-height: 1;
}

.iem-poll__quiz-feedback {
    min-height: 1.2em;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
}

.iem-poll__quiz-feedback.is-correct { color: #5f982b; }
.iem-poll__quiz-feedback.is-wrong { color: #c74747; }
