/* =====================================================
   MASTERCLIC POLLS — FRONTEND WIDGET STYLES
   ===================================================== */

.mcp-poll-widget {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.10);
    max-width: 540px;
    width: 100%;
    font-family: inherit;
}

.mcp-widget-inner {
    padding: 28px 28px 24px;
}

/* QUESTION */
.mcp-widget-question {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 22px;
    color: inherit;
}

/* NOT STARTED */
.mcp-not-started {
    font-size: 14px;
    opacity: .75;
    font-style: italic;
}

/* OPTIONS */
.mcp-options-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.mcp-option-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 2px solid rgba(0,0,0,.10);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    line-height: 1.3;
}

.mcp-option-label:hover {
    border-color: currentColor;
    background: rgba(0,0,0,.04);
}

.mcp-option-radio {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: currentColor;
}

.mcp-opt-label {
    font-size: 15px;
    flex: 1;
    cursor: pointer;
}

/* VOTE BUTTON */
.mcp-vote-actions { margin-bottom: 8px; }

.mcp-vote-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .2s, transform .1s;
    letter-spacing: .3px;
}
.mcp-vote-btn:hover   { opacity: .9; }
.mcp-vote-btn:active  { transform: scale(.98); }
.mcp-vote-btn:disabled { opacity: .6; cursor: not-allowed; }

/* NOTICES */
.mcp-vote-notice, .mcp-end-notice {
    font-size: 11px;
    opacity: .6;
    text-align: center;
    margin: 6px 0 0;
}

/* RESULTS */
.mcp-voted-note {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 16px;
    padding: 10px 14px;
    background: rgba(0,163,42,.12);
    border-left: 3px solid #00a32a;
    border-radius: 4px;
}

.mcp-expired-note {
    font-size: 14px;
    margin: 0 0 16px;
    padding: 10px 14px;
    background: rgba(214,54,56,.10);
    border-left: 3px solid #d63638;
    border-radius: 4px;
}

.mcp-results { display: flex; flex-direction: column; gap: 14px; }

.mcp-results-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    opacity: .65;
    margin: 0 0 4px;
}

.mcp-result-item { display: flex; flex-direction: column; gap: 4px; }

.mcp-result-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.mcp-result-text {
    font-weight: 600;
    flex: 1;
    margin-right: 10px;
}

.mcp-result-pct {
    font-weight: 700;
    min-width: 36px;
    text-align: right;
}

.mcp-bar-track {
    height: 8px;
    background: rgba(0,0,0,.10);
    border-radius: 20px;
    overflow: hidden;
}

.mcp-bar {
    height: 100%;
    border-radius: 20px;
    transition: width .6s cubic-bezier(.25,.46,.45,.94);
    min-width: 2px;
}

.mcp-result-votes {
    font-size: 11px;
    opacity: .6;
}

.mcp-total-votes {
    font-size: 12px;
    opacity: .55;
    text-align: right;
    margin: 8px 0 0;
    font-weight: 600;
}

/* NO POLL */
.mcp-no-poll {
    font-size: 14px;
    opacity: .7;
    font-style: italic;
}

/* LOADING STATE */
.mcp-loading {
    text-align: center;
    padding: 16px;
    opacity: .7;
    font-size: 14px;
}

/* ERROR MESSAGE */
.mcp-error-msg {
    color: #d63638;
    font-size: 13px;
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(214,54,56,.08);
    border-radius: 6px;
}
