.kha-polls-wrap {
    width: 100%;
}

.kha-poll-card {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 26px;
    margin: 0 auto 28px;
    max-width: 820px;
    box-shadow: 0 14px 35px rgba(15,23,42,.08);
}

.kha-poll-ribbon {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #dc2626;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    padding: 8px 14px;
    border-radius: 999px;
    z-index: 5;
}

.kha-poll-card.is-old-poll .kha-poll-ribbon {
    background: #64748b;
}

.kha-poll-topline {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
    padding-right: 115px;
}

.kha-poll-badge {
    background: #0f172a;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    padding: 8px 13px;
    border-radius: 999px;
}

.kha-poll-total {
    color: #64748b;
    font-size: 14px;
    font-weight: 800;
}

/* =========================
   QUESTION
========================= */

.kha-poll-question{
    margin:0 0 22px;
}

.kha-poll-question .kha-np-text{
    display:block;
    order:1;
    margin-bottom:10px;
    color:#0f172a !important;
    font-size:38px !important;
    line-height:1.35 !important;
    font-weight:950 !important;
}

.kha-poll-question .kha-en-text{
    display:block;
    order:2;
    color:#64748b !important;
    font-size:8px !important;
    line-height:1.6 !important;
    font-weight:500 !important;
}


/* =========================
   OPTIONS
========================= */

.kha-option-text{
    display:flex;
    flex-direction:column;
}

.kha-option-text .kha-np-text{
    order:1;
    display:block;
    margin-bottom:4px;
    color:#0f172a !important;
    font-size:22px !important;
    line-height:1.4 !important;
    font-weight:900 !important;
}

.kha-option-text .kha-en-text{
    order:2;
    display:block;
    color:#64748b !important;
    font-size:14px !important;
    line-height:1.5 !important;
    font-weight:500 !important;
}

.kha-bar {
    position: absolute !important;
    left: 0;
    bottom: 0;
    top: auto !important;
    height: 7px !important;
    background: linear-gradient(90deg,#dc2626,#ef4444) !important;
    border-radius: 0 999px 999px 0;
    z-index: 1;
    transition: width .35s ease;
}

.kha-option-main {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.kha-option-main img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
}

.kha-option-text {
    color: #0f172a !important;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 950;
}

.kha-option-text .kha-np-text {
    display: block;
    margin-top: 6px;
    color: #475569 !important;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 800;
}

.kha-result-pill {
    position: absolute;
    z-index: 3;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    min-width: 88px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    border-radius: 999px;
    padding: 9px 10px;
    text-align: center;
}

.kha-poll-option.is-selected .kha-result-pill {
    background: #dc2626;
    color: #fff;
    border-color: #dc2626;
}

.kha-percent {
    display: block;
    color: inherit !important;
    font-size: 22px;
    line-height: 1;
    font-weight: 950;
}

.kha-vote-count {
    display: block;
    margin-top: 5px;
    color: inherit !important;
    opacity: .85;
    font-size: 12px;
    line-height: 1.1;
    font-style: normal;
    font-weight: 800;
}

.kha-newsletter {
    display: block;
    margin-top: 16px;
    padding: 15px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
}

.kha-newsletter input {
    margin-right: 8px;
}

.kha-login-box {
    margin-top: 15px;
    padding: 15px;
    background: #fff1f2;
    border: 1px solid #fecaca;
    border-radius: 14px;
}

.kha-login-box p {
    margin: 0 0 10px;
    color: #7f1d1d;
    font-weight: 800;
}

.kha-login-btn {
    display: inline-block;
    background: #dc2626;
    color: #fff !important;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 10px;
    font-weight: 900;
}

.kha-poll-message {
    margin: 14px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.kha-poll-pagination {
    text-align: center;
    margin-top: 24px;
}

.kha-poll-pagination .page-numbers {
    display: inline-block;
    margin: 3px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #0f172a;
    text-decoration: none;
    font-weight: 800;
}

.kha-poll-pagination .current {
    background: #0f172a;
    color: #fff;
}

.kha-google-login-modal {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.68);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.kha-google-login-card {
    position: relative;
    width: min(92vw,390px);
    background: #fff;
    border-radius: 22px;
    padding: 30px 24px 24px;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0,0,0,.28);
}

.kha-login-close {
    position: absolute;
    right: 14px;
    top: 10px;
    border: 0;
    background: transparent;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
}

.kha-google-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 900;
    color: #4285f4;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.kha-google-login-card h3 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 24px;
    font-weight: 950;
}

.kha-google-login-card p {
    margin: 0 0 18px;
    color: #475569;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 650;
}

.kha-google-login-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: #0b57d0;
    color: #fff !important;
    text-decoration: none;
    border-radius: 999px;
    padding: 13px 16px;
    font-size: 16px;
    font-weight: 900;
}

.kha-google-login-btn:hover {
    background: #0848ad;
}

.kha-poll-closes {
    color: #fff;
    background: #e53935;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    margin-left: 6px;
    display: inline-block;
}

@media(max-width:768px){

    .kha-poll-card{
        padding:18px;
        border-radius:18px;
    }

    .kha-poll-topline{
        padding-right:0;
        padding-top:38px;
    }

    /* QUESTION */

    .kha-poll-question .kha-np-text{
        display:block;
        font-size:28px !important;
        line-height:1.35 !important;
        font-weight:950 !important;
        color:#0f172a !important;
        margin-bottom:8px;
    }

    .kha-poll-question .kha-en-text{
        display:block;
        font-size:14px !important;
        line-height:1.55 !important;
        font-weight:500 !important;
        color:#64748b !important;
    }

    .kha-poll-option{
        min-height:78px;
        padding:14px 98px 18px 14px !important;
    }

    /* OPTIONS */

    .kha-option-text{
        display:flex;
        flex-direction:column;
    }

    .kha-option-text .kha-np-text{
        display:block;
        font-size:18px !important;
        line-height:1.4 !important;
        font-weight:900 !important;
        color:#0f172a !important;
        margin-bottom:3px;
    }

    .kha-option-text .kha-en-text{
        display:block;
        font-size:12px !important;
        line-height:1.5 !important;
        font-weight:500 !important;
        color:#64748b !important;
    }

    .kha-result-pill{
        right:10px;
        min-width:76px;
        padding:8px;
    }

    .kha-percent{
        font-size:18px;
    }

    .kha-vote-count{
        font-size:11px;
    }

}






