/* Chat Window */
.chatbot-icon {
    background-color: var(--black-color);
    transition: all .4s;
    position: fixed;
    bottom: 50px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 999;
    filter: drop-shadow(0px 0px 10px rgba(29, 28, 28, 0.274));
}
 
.chatbot-icon img {
    width: 100%;
}
 
.tooltipChat{
    display: none;
    position: absolute;
    right: 106%;
    background: #fff;
    padding: 7px;
    border-radius: 5px;
    width: max-content;
    box-shadow: 0px 0px 10px #00000036;
}
.chatbot-icon:hover .tooltipChat{
    display: block;
}
 
.chatbot-container {
    position: fixed;
    width: 350px;
    bottom: 50px;
    right: 37px;
    border-radius: 10px;
    background-color: white;
    overflow: hidden;
    transform: scale(0);
    /* Initially hidden */
    transform-origin: bottom right;
    transition: transform 0.3s ease;
    /* Smooth transition */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
}
 @media (width <= 576px){
    .chatbot-container {
        width: 100%;
        right: 0;
        bottom: 0;
    }
 }
.chat-header {
    background-color: var(--black-color);
    padding: 15px;
    color: white;
    text-align: left;
    position: relative;
}
 
.chat-header h2 {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}
 
.chat-header .close-btn,
.chat-header .refresh-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    cursor: pointer;
    font-size: 18px;
    color: #fff;
    transform: translateY(-50%);
}
 
.chat-header .refresh-btn {
    right: 42px;
}
 
.chat-box {
    height: 400px;
    padding: 10px;
    overflow-y: auto;
    border-bottom: 2px solid #eee;
    /*background: #f9f9f9;*/
    background: linear-gradient(60deg, rgb(213, 247, 225) 0%, rgb(220, 226, 228) 100%);
}
 
.chat-input {
    display: flex;
    padding: 10px;
    position: relative;
    height: 56px;
}
 
.chat-input .fa-bars {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    padding: 5px 7px;
    background: #eee;
    border-radius: 5px;
    cursor: pointer;
    display: none;
}
 
.chat-input input {
    flex: 1;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    /*padding-left: 42px;*/
}
 
.chat-input button {
    padding: 5px 10px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 5px;
}
 
.suggetions ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
 
.suggetions ul li {
    width: max-content;
    padding: 5px;
    background: var(--primary-color);
    border-radius: 10px;
    font-size: 12px;
    cursor: pointer;
    color: #fff;
    font-weight: 700;
}
 
.message {
    margin-bottom: 10px;
}
.message.user {
    text-align: right;
}
 
.message.bot {
    text-align: left;
}
 
.message span {
    display: inline-block;
    padding: 5px 7px;
    border-radius: 5px;
    max-width: 90%;
    font-size: 13px;
}
 
.input-control input:focus+i {
    color: var(--blue-color) !important;
}
 
.message.user span {
    background-color: var(--primary-color);
    color: #fff;
}
 
.message.bot span {
    background-color: #fff;
}
/*.chatbot-table {
    background: #fff;
    border-radius: 5px; 
}
.chatbot-table th{
    background: var(--black-color);
}
 
.chatbot-table td, .chatbot-table th{
    padding: 2px;
    text-align: center;
    font-size: 11px;
}*/
