body, input, button {
    font-size: 18px;  /* Increase base font size for mobile */
}

#ChatSection_ChatList {
    font-family: Arial, sans-serif;
    width: 100%; /* You can adjust this as needed */
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* By default, all messages will align to the left */
}

.AllMessages {
    max-width: 90%; /* Maximum width for a chat bubble */
    margin: 5px 0;
    padding: 10px 15px;
    position: relative;
}

.BotMessages {
    align-self: flex-start; /* Align messages to the left */
    background-color: #e6ffe6; /* Very light green background */
}

.UserMessages {
    align-self: flex-end; /* Align messages to the right */
    background-color: #e6f7ff; /* Very light blue background */
}

#ChatSection_Input {
    display: flex;
    align-items: center;
}

#ChatSection_Input_Text {
    flex-grow: 1;
    border: 1px solid #ddd;
    margin-right: 10px;
    padding: 10px;
    outline: none;
}

#ChatSection_Input_SendButton {
    border: none;
    background-color: transparent;
    cursor: pointer;
    padding: 10px;
    outline: none;
}

#ChatSection_Input_ArrowIcon {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 15px solid #000000; /* W3C Blue Color */
    display: inline-block;
    transform: rotate(90deg);
    margin-left: 5px;
}

#overlay {
    position: fixed; /* Positioning relative to the viewport */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    display: flex;
    justify-content: center;
    align-items: center;
}

#overlaymessage {
    padding: 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    opacity: 1;
    transition: opacity 1s ease-out; /* Animation for fading out */
}

.fade-out {
    opacity: 0;
}

textarea {
    width: 100%;
    min-height: 50px;
    max-height: 300px;
    overflow-y: hidden; /* Hide vertical scrollbar */
    padding: 10px;
    box-sizing: border-box;
    resize: none; /* Disable manual resizing */
}


#ChatSection_Input_FileUploadButton {
    min-width: 40px;
    min-height: 40px;
    padding: 0 10px;
}


/* Basic styling for code snippet areas */
.code-snippet {
    background-color: #f7f7f7;
    border: 1px solid #ccc;
    padding: 0.5em;
    margin: 1em 0;
    font-family: Consolas, "Courier New", monospace;
    white-space: pre-wrap;
}