/* BUTTON */

#fcw-chat-button{
    position:fixed;
    right:10px;
    bottom:10px;
    width:50px;
    height:50px;
    border-radius:50%;
    background:#446084;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    font-size:28px;
    z-index:99999;
    box-shadow:0 10px 25px rgba(0,0,0,.35);
}

/* WIDGET */

#fcw-chat-widget{
    position:fixed;
    right:20px;
    bottom:100px;
    width:390px;
    height:550px;

    background:#0b1015;

    border-radius:24px;

    overflow:hidden;

    display:flex;
    flex-direction:column;

    z-index:99999;

    opacity:0;
    pointer-events:none;

    transform:translateY(20px) scale(.95);

    transition:.25s ease;
    box-shadow:0 25px 60px rgba(0,0,0,.45);
}

#fcw-chat-widget.active{
    opacity:1;
    pointer-events:auto;
    transform:translateY(0) scale(1);
}

/* HEADER */

#fcw-chat-header{
    min-height:86px;

    padding:26px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    background:
    linear-gradient(
        135deg,
        #00a8c5,
        #27304f
    );

    position:relative;
}

.fcw-agent{
    display:flex;
    align-items:center;
    gap:12px;
    padding:10px;
}

.fcw-avatar{
    width:44px;
    height:44px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid rgba(255,255,255,.25);
}

.fcw-agent-name{
    color:white;
    font-size:18px;
    font-weight:600;
}

.fcw-agent-role{
    color:rgba(255,255,255,.7);
    font-size:13px;
}

.fcw-phone{
    width:40px;
    height:40px;
    border-radius:50%;
    background:rgba(255,255,255,.15);

    display:flex;
    align-items:center;
    justify-content:center;

    color:white;
    cursor:pointer;
}

#fcw-chat-close{
    position:absolute;
    left:12px;
    top:12px;

    width:28px;
    height:28px;

    border-radius:50%;

    background:rgba(0,0,0,.2);

    display:flex;
    align-items:center;
    justify-content:center;

    color:white;
    cursor:pointer;
}

/* BODY */

#fcw-chat-body{
    flex:1;
    overflow-y:auto;

    padding:18px;

    background:white;
}

.fcw-date{
    color:#8f98a3;
    margin-bottom:14px;
    font-size:14px;
}

.fcw-message{
    display:flex;
    flex-direction:column;
    max-width:85%;
}

.fcw-message.agent{
    align-items:flex-start;
}

.fcw-bubble{
    background:#151f26;
    color:white;

    padding:14px 16px;

    border-radius:18px;

    font-size:15px;
    line-height:1.4;
}

.fcw-time{
    margin-top:6px;
    color:#6f7a86;
    font-size:12px;
}

/* QUICK BUTTONS */

.fcw-quick-replies{
    margin-top:20px;

    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.fcw-quick-btn{
    border:1px solid ;

    //background:transparent;

    //color:#00ff84;

    border-radius:999px;

    padding:12px 18px;

    cursor:pointer;

    font-size:15px;

    transition:.2s;
}

.fcw-quick-btn:hover{
    //background:#00ff84;
    color:black;
}

.fcw-quick-btn.full{
    width:100%;
}

/* FOOTER */

#fcw-chat-footer{
    min-height:76px;

    display:flex;
    align-items:center;

    padding:0 12px;

    border-top:1px solid rgba(255,255,255,.06);

    background:#0d1318;
}

.fcw-footer-left{
    display:flex;
    align-items:center;
    gap:12px;

    color:#8d96a0;

    margin-right:10px;

    font-size:20px;
}

#fcw-chat-input{
    flex:1;

    background:transparent;
    border:none;
    outline:none;

    color:white;

    font-size:16px;
}

#fcw-chat-input::placeholder{
    color:#7d8791;
}

#fcw-chat-send{
    width:49px;
    height:49px;

    border:none;

    border-radius:50%;

    background:#f1f1f1;

    cursor:pointer;

    margin:auto;

    font-size:20px;
    padding: 20px;
}

/* SCROLLBAR */

#fcw-chat-body::-webkit-scrollbar{
    width:6px;
}

#fcw-chat-body::-webkit-scrollbar-thumb{
    background:#222c34;
    border-radius:20px;
}

/* MOBILE */

@media(max-width:480px){

    #fcw-chat-widget{
        width:100%;
        height:100%;
        right:0;
        bottom:0;
        border-radius:0;
    }

}