/* Floating Button */
#wa-widget{
    position:fixed;
    right:25px;
    bottom:25px;
    z-index:999999;
    font-family:'Segoe UI',sans-serif;
}

#wa-open{
    display:flex;
    align-items:center;
    gap:10px;
    background:linear-gradient(135deg,#25D366,#128C7E);
    color:#fff;
    border:none;
    border-radius:60px;
    padding:15px 22px;
    cursor:pointer;
    font-size:15px;
    font-weight:600;
    transition:.35s;
    box-shadow:0 12px 35px rgba(37,211,102,.35);
    animation:float 2.8s ease-in-out infinite;
}

#wa-open:hover{
    transform:translateY(-4px) scale(1.03);
    box-shadow:0 20px 45px rgba(37,211,102,.45);
}

/* Popup */

#wa-box{
    position:absolute;
    right:0;
    bottom:80px;
    width:370px;
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(18px);
    border-radius:24px;
    overflow:hidden;
    display:none;
    transform:translateY(40px) scale(.9);
    opacity:0;
    transition:.35s ease;
    border:1px solid rgba(255,255,255,.5);
    box-shadow:
    0 25px 70px rgba(0,0,0,.18),
    0 0 0 1px rgba(255,255,255,.25);
}

/* JS add class active */

#wa-box.active{
    display:block;
    transform:translateY(0) scale(1);
    opacity:1;
}

/* Header */

#wa-box h3{
    margin:0;
    padding:18px 20px;
    color:#fff;
    background:linear-gradient(135deg,#25D366,#128C7E);
    font-size:18px;
    font-weight:700;
    position:relative;
}

#wa-box h3:after{

content:"🟢 Online";

position:absolute;
right:18px;
top:20px;

font-size:12px;

font-weight:400;

}

/* Welcome */

#wa-box p{

margin:20px;

padding:16px;

background:#f5f5f5;

border-radius:18px;

line-height:24px;

animation:fadeIn .8s;

}

/* Inputs */

#wa-box select,
#wa-box input{

width:calc(100% - 40px);

margin:0px 15px;

padding:14px 15px;

border-radius:14px;

border:1px solid #ddd;

font-size:15px;

transition:.3s;

background:#fff;

}

#wa-box input:focus,
#wa-box select:focus{

outline:none;

border-color:#25D366;

box-shadow:0 0 0 4px rgba(37,211,102,.15);

}

/* Button */

#go{

margin:20px;

width:calc(100% - 40px);

padding:15px;

border:none;

border-radius:15px;

cursor:pointer;

font-size:16px;

font-weight:600;

color:#fff;

background:linear-gradient(135deg,#25D366,#128C7E);

transition:.3s;

box-shadow:0 12px 25px rgba(37,211,102,.35);

}

#go:hover{

transform:translateY(-3px);

box-shadow:0 18px 35px rgba(37,211,102,.45);

}

/* Floating Animation */

@keyframes float{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-8px);

}

100%{

transform:translateY(0);

}

}

/* Fade */

@keyframes fadeIn{

from{

opacity:0;

transform:translateY(20px);

}

to{

opacity:1;

transform:translateY(0);

}

}

/* Mobile */

@media(max-width:480px){

#wa-box{

width:calc(100vw - 30px);

right:-5px;

}

#wa-open{

padding:14px 18px;

}

}