/* ==========================================
   SUPPORT PAGE
   Khati Shad by Takia
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Segoe UI",sans-serif;
}

body{
    background:#f5f7f9;
}

/* Navbar */

.navbar{
    padding:15px 0;
}

.navbar-brand{
    color:#fff !important;
    font-size:22px;
}

.navbar-brand i{
    margin-right:8px;
}

/* Chat Section */

.chat-section{
    padding:40px 15px;
}

.chat-box{

    max-width:850px;

    margin:auto;

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 10px 35px rgba(0,0,0,.08);

}

/* Header */

.chat-header{

    background:#198754;

    color:#fff;

    padding:20px;

    display:flex;

    align-items:center;

    gap:15px;

}

.bot-img{

    width:60px;

    height:60px;

    border-radius:50%;

    background:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    color:#198754;

    font-size:28px;

}

/* Body */

.chat-body{

    height:500px;

    overflow-y:auto;

    padding:25px;

    background:#f6f7fb;

}

/* Scroll */

.chat-body::-webkit-scrollbar{

    width:6px;

}

.chat-body::-webkit-scrollbar-thumb{

    background:#198754;

    border-radius:20px;

}

/* Messages */

.bot-message{

    background:#ffffff;

    display:inline-block;

    max-width:80%;

    padding:15px 18px;

    border-radius:15px;

    margin-bottom:15px;

    box-shadow:0 3px 12px rgba(0,0,0,.08);

    line-height:1.8;

}

.user-message{

    background:#198754;

    color:#fff;

    max-width:80%;

    margin-left:auto;

    padding:15px 18px;

    border-radius:15px;

    margin-bottom:15px;

    text-align:left;

}

/* Quick Buttons */

.quick-buttons{

    padding:18px;

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    background:#fff;

    border-top:1px solid #eee;

}

.quick{

    border-radius:50px;

    padding:8px 18px;

    transition:.3s;

}

.quick:hover{

    background:#198754;

    color:#fff;

}

/* Input */

.chat-input{

    padding:18px;

    display:flex;

    gap:12px;

    background:#fff;

    border-top:1px solid #eee;

}

.chat-input input{

    height:55px;

    border-radius:50px;

    padding-left:20px;

    border:2px solid #e6e6e6;

}

.chat-input input:focus{

    border-color:#198754;

    box-shadow:none;

}

.chat-input button{

    width:60px;

    height:55px;

    border-radius:50%;

    font-size:20px;

}

/* Typing */

.typing{

    display:inline-flex;

    gap:5px;

    background:#fff;

    padding:15px 18px;

    border-radius:15px;

    margin-bottom:15px;

}

.typing span{

    width:8px;

    height:8px;

    border-radius:50%;

    background:#198754;

    animation:typing .8s infinite;

}

.typing span:nth-child(2){

    animation-delay:.2s;

}

.typing span:nth-child(3){

    animation-delay:.4s;

}

@keyframes typing{

    0%{

        transform:translateY(0);

        opacity:.3;

    }

    50%{

        transform:translateY(-6px);

        opacity:1;

    }

    100%{

        transform:translateY(0);

        opacity:.3;

    }

}

/* Mobile */

@media(max-width:768px){

    .chat-body{

        height:420px;

        padding:18px;

    }

    .bot-message,
    .user-message{

        max-width:92%;

        font-size:15px;

    }

    .quick-buttons{

        justify-content:center;

    }

    .chat-input{

        gap:8px;

    }

    .chat-input input{

        height:50px;

    }

    .chat-input button{

        width:55px;

        height:50px;

    }

}