/* ================================
   NEXPAY - SUPPORT WIDGET
================================ */

.nexpay-support-widget{
    position:fixed;
    right:24px;
    bottom:24px;
    z-index:99999;
    font-family:Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nexpay-support-button{
    border:none;
    min-width:132px;
    height:54px;
    padding:0 18px;
    border-radius:999px;
    background:linear-gradient(135deg,#22c55e,#16a34a);
    color:white;
    font-size:15px;
    font-weight:900;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    box-shadow:0 18px 45px rgba(34,197,94,.38), 0 0 0 1px rgba(255,255,255,.12) inset;
    transition:.25s ease;
}

.nexpay-support-button:hover,
.nexpay-support-button.open{
    transform:translateY(-3px) scale(1.02);
    box-shadow:0 24px 60px rgba(34,197,94,.46), 0 0 0 1px rgba(255,255,255,.16) inset;
}

.support-bubble-icon{
    width:28px;
    height:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(255,255,255,.18);
}

.nexpay-support-panel{
    width:min(360px, calc(100vw - 32px));
    position:absolute;
    right:0;
    bottom:68px;
    opacity:0;
    pointer-events:none;
    transform:translateY(14px) scale(.96);
    transition:.22s ease;
    border-radius:26px;
    overflow:hidden;
    background:rgba(2,6,23,.94);
    border:1px solid rgba(255,255,255,.12);
    backdrop-filter:blur(18px);
    box-shadow:0 32px 100px rgba(0,0,0,.45);
    color:white;
}

.nexpay-support-panel.open{
    opacity:1;
    pointer-events:auto;
    transform:translateY(0) scale(1);
}

.nexpay-support-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    padding:22px;
    background:radial-gradient(circle at top left,rgba(34,197,94,.25),transparent 44%),linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.03));
    border-bottom:1px solid rgba(255,255,255,.08);
}

.nexpay-support-header strong{
    display:block;
    font-size:18px;
    margin-bottom:4px;
}

.nexpay-support-header span{
    color:#cbd5e1;
    font-size:13px;
    font-weight:600;
}

.nexpay-support-header button{
    width:34px;
    height:34px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    color:white;
    cursor:pointer;
    font-size:22px;
    line-height:1;
}

.nexpay-support-status{
    margin:18px 18px 12px;
    padding:12px 14px;
    border-radius:16px;
    background:rgba(34,197,94,.11);
    border:1px solid rgba(34,197,94,.25);
    color:#bbf7d0;
    font-size:13px;
    font-weight:800;
    display:flex;
    align-items:center;
    gap:9px;
}

.nexpay-support-status span{
    width:9px;
    height:9px;
    border-radius:50%;
    background:#22c55e;
    box-shadow:0 0 16px rgba(34,197,94,.8);
}

.nexpay-support-option{
    width:calc(100% - 36px);
    margin:10px 18px;
    padding:16px;
    border-radius:18px;
    display:flex;
    align-items:center;
    gap:13px;
    text-align:left;
    cursor:pointer;
    transition:.22s ease;
    color:white;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.1);
}

.nexpay-support-option:hover{
    transform:translateX(4px);
    background:rgba(255,255,255,.1);
}

.nexpay-support-option.whatsapp:hover{
    border-color:rgba(34,197,94,.45);
}

.nexpay-support-option.discord:hover{
    border-color:rgba(139,92,246,.55);
}

.support-icon{
    width:44px;
    height:44px;
    border-radius:16px;
    background:rgba(255,255,255,.08);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    flex:none;
}

.nexpay-support-option strong{
    display:block;
    font-size:15px;
    margin-bottom:3px;
}

.nexpay-support-option small{
    display:block;
    color:#94a3b8;
    font-size:12px;
    line-height:1.35;
    font-weight:600;
}

.nexpay-support-footer{
    margin:18px;
    padding-top:14px;
    border-top:1px solid rgba(255,255,255,.08);
    display:flex;
    flex-direction:column;
    gap:3px;
}

.nexpay-support-footer strong{
    font-size:13px;
}

.nexpay-support-footer span{
    color:#94a3b8;
    font-size:12px;
}

@media(max-width:640px){
    .nexpay-support-widget{
        right:16px;
        bottom:16px;
    }

    .nexpay-support-button{
        min-width:54px;
        width:54px;
        padding:0;
    }

    .support-bubble-text{
        display:none;
    }

    .nexpay-support-panel{
        right:-4px;
        bottom:66px;
    }
}
