﻿.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom,rgb(19, 77, 109), #e1e5e9 100%);
    height: 600px;
    min-height: 400px;
    margin: 10px 10px;
    border: 1px solid #ccc;
    border-radius: 30px;
    font-family: 'Segoe UI', sans-serif;
    overflow: hidden;
}

.chat-header {
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    color: white;
}

.chat-header-rightbox {
    margin-right: 15px;
}

.chat-header-minimize {
    display: block;
    margin-left: auto;
    margin-right: 0;
    color: white;
}

.chat-header-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-icon {
    height: 60px;
    width: 60px;
     margin: 15px;
}

.chat-header-titlediv {
    display: flex;
    align-items: center;
}

.chat-header-content {
    text-align: start;
    line-height: 10px;
    margin: auto;
    height: 50%;
    padding-top:60px;
     margin-left: -70px;
}

.chat-messages {
    padding: 15px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column-reverse;
    gap: 15px;
}

.bot-message {
    background-color: #e2e3e5;
    align-self: flex-start;
    text-align: left;
    margin-right: auto;
    width: 100%;
    height: 30px;
}

.chat-message {
    display: flex;
    gap: 12px;
}

.chat-message-own {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-message-content-devi {
    background: #f8f9fa;
    padding: 12px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 75%;
    min-width: 110px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    margin: 12px 0px;
    font-size: small;
}

.chat-message-content-user {
    background: lightsteelblue;
    padding: 12px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 75%;
    min-width: 110px;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    margin: 12px 0px;
    font-size: small;
}

.chat-message-own .chat-message-content {
    background: #62a8ea;
    color: white;
}

.chat-message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    font-size: 0.8rem;
}

.chat-message-sender {
    font-weight: 600;
    color: steelblue;
}

.chat-message-time {
    color: steelblue;
    font-size: 0.7rem;
}

.chat-message-own .chat-message-time {
    color: steelblue;
}

.chat-input {
    padding: 5px;
    border-top: 1px solid #e1e5e9;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}
    .chat-input .frm-subj {
        margin-bottom: 3px;
        height: 35px;
        background-color: transparent;
        text-align:center;
        color:white;
    }
    .chat-input .frm-input {
        margin-bottom: 3px;
        height: 20px;
        border-radius:5px;
    }
.input-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.frm-footer {
    margin-left: 15px;
    margin-top: 5px;
    display: flex;
    justify-content: space-evenly;
}
    .frm-footer button {
        color: rgb(19, 77, 109);
    }
.sevices-button {
    background-color: steelblue;
    color: white;
    border-radius: 8px;
    margin: 3px;
    font-size: small;
    padding:2px 5px;
}

.message-input {
    width: 100%;
    padding: 10px 16px;
    font-size: small;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    outline: none;
}

.icon-button:hover {
    background-color: #f8f9fa;
}

.mic-button {
    margin-right: 5px;
    height: 60px;
    width: 60px;
    border: none;
    outline: none;
}

.send-button {
    margin-left: 15px;
    height: 60px;
    width: 60px;
    /* background-color: #62a8ea;
    border-radius: 40px;*/
}

/* .send-button:hover {
        background: #0056b3;
    }*/

.lang-div {
    display: flex;
    justify-content: start;
    align-items: center;
    border: none;
    background: none;
}

    .lang-div select {
        background-color: transparent;
        color: white;
        border: none;
    }

        .lang-div select option {
            background-color: rgb(19, 77, 109);
        }

/* Devibot Minimized*/
.chat-miniheader {
    background-color: rgb(19,77,109,0.5);
    border-radius: 20px;
    color: white;
    height: 100px;
    width: 210px;
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 1100;
}

.chat-miniheader-container {
    height: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
}
    .chat-miniheader-container h5 {
        font-size: 14px;
    }
    .chat-miniheader-icon {
        border-top-left-radius: 40%;
        border-bottom-right-radius: 40%;
        border-bottom-left-radius: 40%;
        height: 50px;
        width: 60px;
        background-color: white;
        margin: 15px;
    }

.chatbot-container {
    width: 360px;
    height: 600px;
    position: fixed;
    bottom: 20px;
    right: 0px;
    z-index: 100;
}