/* =========================================
   HBI ELIGIBILITY WIZARD — WHATSAPP STYLE
========================================= */

.elig-wa-section{
    background:#e9e9e9;
    padding:60px 16px;
    min-height:100vh;
    display:flex;
    align-items:center;
}

.elig-wa-container{
    display:flex;
    justify-content:center;
}

.elig-wa-card{
    width:100%;
    max-width:560px;
    height:720px;
    background:#fff;
    border-radius:14px;
    box-shadow:0 25px 60px rgba(0,0,0,.18);
    overflow:hidden;
    display:flex;
    flex-direction:column;
}

/* =========================================
   HEADER — WhatsApp green
========================================= */

.elig-wa-header{
    background:#075E54;
    padding:14px 16px;
    display:flex;
    align-items:center;
    gap:14px;
    flex-shrink:0;
}

.elig-wa-avatar{
    width:40px;
    height:40px;
    border-radius:50%;
    background:rgba(255,255,255,.18);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:16px;
    flex-shrink:0;
}

.elig-wa-header-info{
    flex:1;
    min-width:0;
}

.elig-wa-header-info strong{
    display:block;
    color:#fff;
    font-size:15.5px;
    font-weight:600;
    margin-bottom:2px;
}

.elig-wa-header-info span{
    font-size:12px;
    color:rgba(255,255,255,.78);
}

.elig-wa-header-icons{
    display:flex;
    gap:18px;
    color:#fff;
    font-size:16px;
}

/* =========================================
   BODY — WhatsApp doodle background
========================================= */

.elig-wa-body{
    flex:1;
    overflow-y:auto;
    padding:14px 14px 10px;
    display:flex;
    flex-direction:column;
    gap:3px;

    background-color:#e5ddd5;
    background-image:
        repeating-linear-gradient(0deg, transparent 0 38px, rgba(0,0,0,0.015) 38px 39px),
        radial-gradient(circle at 12% 8%, rgba(0,0,0,0.025) 1px, transparent 1px),
        radial-gradient(circle at 38% 22%, rgba(0,0,0,0.025) 1px, transparent 1px),
        radial-gradient(circle at 64% 6%, rgba(0,0,0,0.025) 1px, transparent 1px),
        radial-gradient(circle at 82% 30%, rgba(0,0,0,0.025) 1px, transparent 1px),
        radial-gradient(circle at 22% 48%, rgba(0,0,0,0.025) 1px, transparent 1px),
        radial-gradient(circle at 70% 60%, rgba(0,0,0,0.025) 1px, transparent 1px),
        radial-gradient(circle at 90% 80%, rgba(0,0,0,0.025) 1px, transparent 1px),
        radial-gradient(circle at 10% 85%, rgba(0,0,0,0.025) 1px, transparent 1px);
    background-size:auto, 90px 90px, 110px 110px, 130px 130px, 100px 100px, 95px 95px, 120px 120px, 105px 105px, 115px 115px;
}

.elig-wa-daystamp{
    display:flex;
    justify-content:center;
    margin:6px 0 14px;
}

.elig-wa-daystamp span{
    background:#e1f2fb;
    color:#5b7a86;
    font-size:11px;
    font-weight:700;
    letter-spacing:.5px;
    padding:5px 14px;
    border-radius:8px;
}

.elig-wa-encrypt-note{
    display:flex;
    align-items:center;
    gap:8px;
    background:#fff5c4;
    color:#6e5a1f;
    font-size:11.5px;
    line-height:1.5;
    padding:9px 14px;
    border-radius:8px;
    margin:0 auto 14px;
    max-width:90%;
    text-align:center;
    justify-content:center;
}

.elig-wa-encrypt-note i{
    flex-shrink:0;
}

/* =========================================
   MESSAGE ROWS
========================================= */

.elig-wa-row{
    display:flex;
    margin-bottom:2px;
}

.elig-wa-row.bot{
    justify-content:flex-start;
}

.elig-wa-row.user{
    justify-content:flex-end;
}

/* =========================================
   BUBBLES
========================================= */

.elig-wa-bubble{
    max-width:78%;
    padding:7px 9px 9px 10px;
    border-radius:8px;
    position:relative;
    box-shadow:0 1px 1px rgba(0,0,0,.08);
}

.elig-wa-bubble.bot{
    background:#fff;
    border-top-left-radius:0;
}

.elig-wa-bubble.user{
    background:#dcf8c6;
    border-top-right-radius:0;
}

.elig-wa-text{
    font-size:14px;
    line-height:1.45;
    color:#111;
    word-wrap:break-word;
}

.elig-wa-meta{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:4px;
    margin-top:3px;
    font-size:10.5px;
    color:#8c8c8c;
}

.elig-wa-ticks i{
    color:#8c8c8c;
    font-size:12px;
}

.elig-wa-ticks.read i{
    color:#53bdeb;
}

/* TYPING BUBBLE */

.elig-wa-typing-bubble{
    display:flex;
    gap:4px;
    padding:12px 14px;
    align-items:center;
}

.elig-wa-typing-bubble span{
    width:7px;
    height:7px;
    border-radius:50%;
    background:#b0b0b0;
    animation:eligWaDot 1.2s infinite ease-in-out;
}

.elig-wa-typing-bubble span:nth-child(2){ animation-delay:.2s; }
.elig-wa-typing-bubble span:nth-child(3){ animation-delay:.4s; }

@keyframes eligWaDot{
    0%, 60%, 100%{ transform:translateY(0); opacity:.4; }
    30%{ transform:translateY(-5px); opacity:1; }
}

/* =========================================
   CHOICE BUTTONS (WhatsApp list-style)
========================================= */

.elig-wa-choices{
    display:flex;
    flex-direction:column;
    gap:6px;
    align-self:flex-start;
    max-width:84%;
    margin:6px 0 10px 2px;
}

.elig-wa-choice-btn{
    background:#fff;
    border:1px solid #d9eee4;
    color:#075E54;
    padding:11px 14px;
    border-radius:8px;
    font-size:13.5px;
    font-weight:600;
    text-align:left;
    cursor:pointer;
    transition:.2s ease;
    box-shadow:0 1px 1px rgba(0,0,0,.06);
}

.elig-wa-choice-btn:hover:not(:disabled){
    background:#f0faf6;
    border-color:#075E54;
}

.elig-wa-choices.done .elig-wa-choice-btn:disabled{
    opacity:.4;
    cursor:default;
}

/* =========================================
   RESULT CARD BUBBLE
========================================= */

.elig-wa-card-bubble{
    max-width:84%;
    padding:12px 13px 9px;
}

.elig-wa-result-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:8px;
    margin-bottom:6px;
}

.elig-wa-result-top strong{
    font-size:14px;
    color:#111;
    line-height:1.3;
}

.elig-wa-duration{
    background:#e1f2fb;
    color:#1c7da3;
    font-size:10px;
    font-weight:700;
    padding:3px 9px;
    border-radius:20px;
    white-space:nowrap;
    flex-shrink:0;
}

.elig-wa-result-text{
    font-size:12.5px;
    line-height:1.6;
    color:#444;
    margin-bottom:10px;
}

.elig-wa-apply-btn{
    display:inline-flex;
    align-items:center;
    gap:7px;
    background:#075E54;
    color:#fff;
    text-decoration:none;
    padding:8px 14px;
    border-radius:20px;
    font-size:12px;
    font-weight:700;
    margin-bottom:6px;
}

.elig-wa-apply-btn:hover{
    background:#06493f;
}

/* =========================================
   LEAD CAPTURE
========================================= */

.elig-wa-lead-input{
    width:100%;
    padding:10px 12px;
    border:1px solid #d9d9d9;
    border-radius:8px;
    font-size:13px;
    margin-bottom:8px;
    background:#fafafa;
}

.elig-wa-lead-input:focus{
    outline:none;
    border-color:#075E54;
    background:#fff;
}

.elig-wa-lead-submit{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    background:#075E54;
    color:#fff;
    border:none;
    padding:10px;
    border-radius:8px;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
    width:100%;
    margin-bottom:6px;
}

.elig-wa-lead-submit:hover{
    background:#06493f;
}

.elig-wa-lead-submit:disabled{
    opacity:.7;
    cursor:not-allowed;
}

.elig-wa-lead-status{
    font-size:11.5px;
    text-align:center;
    min-height:14px;
}

/* =========================================
   INPUT ROW
========================================= */

.elig-wa-input-row{
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px 12px;
    background:#f0f0f0;
    flex-shrink:0;
}

.elig-wa-emoji{
    color:#8c8c8c;
    font-size:20px;
    flex-shrink:0;
}

.elig-wa-input-row input{
    flex:1;
    border:none;
    border-radius:22px;
    padding:11px 16px;
    font-size:14px;
    background:#fff;
}

.elig-wa-input-row input:focus{
    outline:none;
}

.elig-wa-input-row button{
    width:42px;
    height:42px;
    flex-shrink:0;
    border-radius:50%;
    background:#075E54;
    color:#fff;
    border:none;
    cursor:pointer;
    font-size:14px;
    transition:.2s ease;
}

.elig-wa-input-row button:hover{
    background:#06493f;
    transform:scale(1.05);
}

/* =========================================
   SCROLLBAR
========================================= */

.elig-wa-body::-webkit-scrollbar{
    width:5px;
}

.elig-wa-body::-webkit-scrollbar-thumb{
    background:rgba(0,0,0,.15);
    border-radius:10px;
}

/* =========================================
   MOBILE
========================================= */

@media(max-width:600px){

    .elig-wa-section{
        padding:0;
        align-items:stretch;
    }

    .elig-wa-card{
        max-width:100%;
        height:100vh;
        border-radius:0;
    }
}