.fp-poll {
max-width: 600px;
margin: 1.5em 0;
padding: 1.25rem 1.5rem;
border: 1px solid #d1d5db;
border-radius: 10px;
background: #fff;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
box-shadow: 0 1px 3px rgba(0,0,0,.05);
position: relative;
z-index: 1;
pointer-events: auto !important;
}
.fp-poll * {
pointer-events: auto !important;
} .fp-poll__question {
font-size: 1.1rem;
font-weight: 700;
line-height: 1.35;
margin-bottom: 1rem;
padding-bottom: .75rem;
border-bottom: 2px solid #e8f0fe;
color: #1f2937;
} .fp-poll__form {
display: flex;
flex-direction: column;
gap: 6px;
}
.fp-poll__option {
display: flex !important;
align-items: center;
gap: 10px;
padding: 12px 14px;
border: 2px solid #d1d5db;
border-radius: 8px;
cursor: pointer !important;
transition: background .15s, border-color .15s, box-shadow .15s;
user-select: none;
background: #fff;
position: relative;
z-index: 2;
}
.fp-poll__option:hover {
background: #e8f0fe;
border-color: #1a73e8;
box-shadow: 0 0 0 1px #1a73e8;
}
.fp-poll__option input[type="radio"] {
-webkit-appearance: radio !important;
appearance: radio !important;
accent-color: #1a73e8;
width: 18px;
height: 18px;
margin: 0;
cursor: pointer !important;
flex-shrink: 0;
position: relative;
z-index: 3;
opacity: 1 !important;
visibility: visible !important;
display: inline-block !important;
}
.fp-poll__option-text {
font-size: .95rem;
line-height: 1.35;
color: #1f2937;
cursor: pointer !important;
} .fp-poll__option.fp-selected {
background: #e8f0fe;
border-color: #1a73e8;
box-shadow: 0 0 0 1px #1a73e8;
} .fp-poll__actions {
display: flex;
align-items: center;
gap: 12px;
margin-top: 10px;
}
.fp-poll__vote-btn {
padding: 10px 30px;
font-size: .95rem;
font-weight: 600;
color: #fff;
background: #1a73e8;
border: none;
border-radius: 8px;
cursor: pointer !important;
transition: opacity .15s;
position: relative;
z-index: 2;
}
.fp-poll__vote-btn:disabled {
opacity: .4;
cursor: not-allowed !important;
}
.fp-poll__vote-btn:not(:disabled):hover {
opacity: .85;
}
.fp-poll__results-btn {
background: none;
border: none;
color: #6b7280;
font-size: .85rem;
cursor: pointer !important;
text-decoration: underline;
text-underline-offset: 2px;
padding: 0;
}
.fp-poll__results-btn:hover {
color: #1f2937;
} .fp-poll__results {
display: flex;
flex-direction: column;
gap: 10px;
}
.fp-poll__result-head {
display: flex;
justify-content: space-between;
font-size: .93rem;
margin-bottom: 4px;
color: #1f2937;
}
.fp-poll__pct {
font-weight: 700;
color: #1a73e8;
font-variant-numeric: tabular-nums;
}
.fp-poll__bar-track {
height: 10px;
background: #e9ecef;
border-radius: 5px;
overflow: hidden;
}
.fp-poll__bar-fill {
height: 100%;
background: #1a73e8;
border-radius: 5px;
transition: width .6s cubic-bezier(.22,1,.36,1);
}
.fp-poll__total {
font-size: .85rem;
color: #6b7280;
text-align: right;
margin-top: 4px;
} .fp-poll__msg {
margin-top: 10px;
font-size: .9rem;
padding: 8px 12px;
border-radius: 6px;
}
.fp-poll__msg--ok {
background: #ecfdf5;
color: #065f46;
}
.fp-poll__msg--err {
background: #fef2f2;
color: #991b1b;
} @media (max-width: 480px) {
.fp-poll { padding: 1rem; }
.fp-poll__question { font-size: 1rem; }
}