body, html {
    height: 100%;
    width: 100%;
    margin: 0;
    background: rgb(44, 47, 59);
    background: -webkit-linear-gradient(to right, rgb(40, 59, 34), rgb(54, 60, 70), rgb(32, 32, 43));
    background: linear-gradient(to right, rgb(38, 51, 61), rgb(50, 55, 65), rgb(33, 33, 78));
}

.input-container {
    display: flex;
    align-items: center; /* Aligns input and button vertically */
}

button {
    font-size: 12px; /* Smaller font size */
    padding: 5px;
}

.short-input {
    width: 150px; /* Adjust the width to make the input box shorter */
    margin-right: 10px; /* Adds some space between the input box and the button */
}

.container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chat {
    width: 100%;
    /* max-width: 900px; */
}

.card {
    height: 90vh;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    background-color: rgba(0,0,0,0.4);
}

.card-header {
    border-radius: 15px 15px 0 0;
    border-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background-color: rgba(0,0,0,0.3);
    flex-wrap: wrap;
}

.card-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
	color: white;
}

.card-footer {
    border-radius: 0 0 15px 15px;
    border-top: 0;
    padding: 10px 15px;
    background-color: rgba(0,0,0,0.3);
}

.type_msg {
    background-color: rgba(0,0,0,0.3);
    border: 0;
    color: white;
    height: 50px;
    overflow-y: auto;
    width: 100%;
}

.type_msg:focus {
    box-shadow: none;
    outline: 0;
}

.send_btn, .mic_btn {
    background-color: rgba(0,0,0,0.3);
    border: 0;
    color: white;
    cursor: pointer;
    align-self: center;
    height: 100%;
}

.msg_cotainer, .msg_cotainer_send {
    border-radius: 25px;
    padding: 10px;
    position: relative;
    max-width: 70%;
    word-wrap: break-word;
}

.msg_cotainer {
    background-color: rgb(82, 172, 255);
    margin-left: 10px;
}

.msg_cotainer_send {
    background-color: #58cc71;
    margin-right: 10px;
}

.msg_time, .msg_time_send {
    position: absolute;
    bottom: -15px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.msg_time {
    left: 0;
}

.msg_time_send {
    right: 0;
}

.custom-dropdown {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#modeDropdown {
    margin-right: 5px;
    flex-wrap: wrap;
}

.dropdown-menu {
    background-color: rgba(0,0,0,0.5);
    color: white;
    border-radius: 15px;
    flex-wrap: wrap;
}

.dropdown-item {
    flex-wrap: wrap;
    color: white;
}

.dropdown-item:hover {
    background-color: rgba(0,0,0,0.2);
}

#chat-interface, #data-interface {
    display: none;
    flex-direction: column;
    height: 100%;
}

#chat-interface.active, #data-interface.active {
    display: flex;
    overflow-y: auto;
}

/**/
.column {
    width: 45%;
    display: flex;
    flex-direction: column;
	margin: 10px;
}

.text-box {
    margin-bottom: 20px;
}

.text-box label {
    display: block;
    margin-bottom: 5px;
    color: white; /* Set label text color to white */
}

.text-box input, .text-box textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.text-box input::placeholder, .text-box textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    align-self: flex-start;
}

button:hover {
    background-color: #0056b3;
}

/* New CSS rules for setting sizes of user and chatbot icons */
.user_img, .user_img_msg {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    border: 1.5px solid #f5f6fa;
}

.img_cont {
    position: relative;
    height: 40px;
    width: 40px;
}

.img_cont_msg {
    height: 40px;
    width: 40px;
}

.online_icon {
    position: absolute;
    height: 15px;
    width: 15px;
    background-color: #4cd137;
    border-radius: 50%;
    bottom: 0.2em;
    right: 0.4em;
    border: 1.5px solid white;
}

.offline {
    background-color: #c23616 !important;
}

.user_info {
    color: white;
}

.msg_card_body {
    height: 400px; /* Fixed height to make the chat area scrollable */
    /* overflow-y: auto; /* Enable vertical scrolling */
}

#mute-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    /* Align the button to the center */
    align-self: center;
}

#mute-button .fas {
    color: #6c757d; /* Optional: style the icon color */
}

#pretty-output {
    /* background-color: #f4f4f4; */
    padding: 15px;
    border-radius: 5px;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.5;
    color: white;
}