#chat-container{
    display: flex;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
}
.vendor-list{
    width: 25%;
    background-color: white;
    border-radius: 10px 0 0 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f1;
}
.vendor-card{
    padding: 16px;
    cursor:pointer;
}

.vendor-card .vendor-name{
    font-weight:600;
    cursor:pointer;
}
.vendor-card:hover {
    background-color: #d6d8db;
    border-radius: 10px 0 0 10px;
}
.vendor-card.active{
    background-color: #d6d8db;
    border-radius: 10px 0 0 10px;
    cursor:pointer;
}




#chat-div{
    background-color: white;
    border-radius: 0 10px 10px 0;
    border: 1px solid #f0f0f1;
    width: 75%;
}

#chat-div .chat-main-div{
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    margin-bottom: 60px;
}

.message{
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
}
.message .message-text{
    background-color: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size:14px;
}
.message.sent{
    justify-content: flex-end;
}
.message-text{
    background-color: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#inputContainer {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    padding: 10px;
    box-sizing: border-box;
    background-color: #fff;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1;
    width: calc(100% - 25.4%);
}
input#messageInput {
    flex: 1;
    padding: 10px;
    box-sizing: border-box;
    border: none;
    border-radius: 4px;
    outline: none;
}
button#sendButton {
    padding: 10px;
    cursor: pointer;
    background-color: #4caf50;
    color: #fff;
    border: none;
    border-radius: 4px;
    margin-left: 10px;
    transition: background-color 0.3s ease;
}
button#chat-submit {
    padding: 10px;
    cursor: pointer;
    background-color: #0d775e;
    color: #fff;
    border: none;
    border-radius: 4px;
    margin-left: 10px;
    transition: background-color 0.3s ease;
    width: 10%;
}

.timestamp{
    font-size:0.8em;
}
.no-chat-found{
    width: 100%;
    text-align: center;
    padding: 12px;
    background-color: #fff;
    font-weight: 600;
}


.chat-loader,
    .chat-loader:before,
    .chat-loader:after {
        border-radius: 50%;
        width: 2.5em;
        height: 2.5em;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
        -webkit-animation: load7 1.8s infinite ease-in-out;
        animation: load7 1.8s infinite ease-in-out;
    }

    .chat-loader {
        color: #015581;
        font-size: 10px;
        margin: 40px auto 90px auto;
        position: relative;
        text-indent: -9999em;
        -webkit-transform: translateZ(0);
        -ms-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-animation-delay: -0.16s;
        animation-delay: -0.16s;
    }

    

    .chat-loader:before,
    .chat-loader:after {
        content: '';
        position: absolute;
        top: 0;
    }

    .chat-loader:before {
        left: -3.5em;
        -webkit-animation-delay: -0.32s;
        animation-delay: -0.32s;
    }

    .chat-loader:after {
        left: 3.5em;
    }
    
    

    @-webkit-keyframes load7 {

        0%,
        80%,
        100% {
            box-shadow: 0 2.5em 0 -1.3em;
        }

        40% {
            box-shadow: 0 2.5em 0 0;
        }
    }

    @keyframes load7 {

        0%,
        80%,
        100% {
            box-shadow: 0 2.5em 0 -1.3em;
        }

        40% {
            box-shadow: 0 2.5em 0 0;
        }
    }

    .chat-main-div {
        overflow: auto;
        max-height: 250px;
      }

      #chat-container {
        max-height: 320px;
      }


      .chat-with-seller {
        text-align: center;
        padding: 20px;
        border-radius: 5px;
        background-color: #f0f0f0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.12);
        margin: 20px 0;
    }
    
    .chat-with-seller .message-description strong {
        display: block;
        margin-bottom: 5px;
        font-size: 18px;
        color: #333;
    }
    
    .chat-with-seller .message-description p {
        margin: 0 auto;
        font-size: 14px;
        color: #555;
        max-width: 80%; /* Ensures text is not too wide for easy reading */
    }
    
    .chat-with-seller .message-button {
        display: inline-block !important;
        padding: 10px 20px !important;
        border-radius: 25px !important;
        text-decoration: none !important;
        margin-top: 15px !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.14) !important;
    }
    
    .chat-with-seller .message-button:hover {
        background-color: #43A047; /* Slightly darker green on hover for interactive feedback */
        transition: background-color 0.3s;
    }
    
    .chat-with-seller .fa-comment {
        margin-right: 5px;
    }
    