
.fs-poll-module-wrapper {
    max-width: 540px;
    width: 100%;
    margin: 1.5rem auto;
    padding: 0 0.75rem;
}

.fs-poll-module-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
    padding: 22px 24px 20px;
    backdrop-filter: blur(18px);
    display: flex;
    flex-direction: column;
}

/* Dark mode basique si le thème utilise une classe */
body.wp-dark-mode .fs-poll-module-card,
body.dark-mode .fs-poll-module-card {
    background: rgba(10, 10, 10, 0.9);
}

.fs-poll-cover {
    width: 100%;
    max-width: 150px;
    aspect-ratio: 9 / 16;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.06);
    margin: 0 auto 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fs-poll-cover img.fs-poll-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fs-poll-cover-placeholder {
    width: 90%;
    height: 90%;
    border-radius: 14px;
    border: 1px dashed rgba(15, 23, 42, 0.25);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(15, 23, 42, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fs-poll-module-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    text-align: left;
}

.fs-poll-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #60e4b2;
    flex-shrink: 0;
}

.fs-poll-kicker {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #020617;
}

.fs-poll-module-title {
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.35;
    margin-bottom: 14px;
}

.fs-poll-choices {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fs-poll-choice-item {
    margin-bottom: 8px;
}

.fs-poll-choice-btn {
    width: 100%;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.16);
    padding: 9px 14px;
    font-size: 0.92rem;
    cursor: pointer;
    background: rgba(15, 23, 42, 0.03);
    color: #020617;
    text-align: left;
    transition: transform 80ms ease, box-shadow 80ms ease, background 80ms ease, border-color 80ms ease;
}

.fs-poll-choice-btn span.label {
    pointer-events: none;
}

.fs-poll-choice-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
    background: rgba(15, 23, 42, 0.06);
    border-color: rgba(15, 23, 42, 0.28);
}

.fs-poll-message {
    margin-top: 10px;
    font-size: 0.78rem;
    opacity: 0.75;
}

.fs-poll-results {
    margin-top: 6px;
}

.fs-poll-result-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.fs-poll-result-label {
    flex: 1 1 auto;
    font-size: 0.88rem;
}

.fs-poll-result-bar-wrap {
    flex: 0 0 180px;
    width: 180px;
    background: rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    overflow: hidden;
    height: 8px;
}

.fs-poll-result-bar {
    height: 100%;
    background: linear-gradient(90deg, #60e4b2, #23c4f4);
}

.fs-poll-result-percent {
    width: 40px;
    text-align: right;
    font-size: 0.8rem;
}

.fs-poll-total {
    margin-top: 4px;
    font-size: 0.78rem;
    opacity: 0.8;
}

.fs-poll-module-wrapper.fs-poll-loading .fs-poll-module-card {
    opacity: 0.6;
    pointer-events: none;
}
