

/*######################
Text Editor box
########################*/

@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
* {
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

#quill-editor{
    height: 560px;
}

#floating-text-editor-box {
    position: relative;
    bottom: 0px;
    /* right: 100px; */
    width: 100%;
    max-width: 100%;
    /* height: 550px; */
    background-color: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

#toggle-texteditor-open {
    position: fixed;
    bottom: -20px;
    /* right: 80px; */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* background-color: #6C5472; */
    color: white;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    cursor: pointer;
    z-index: 9999; /* Ensure it floats above other content */
    transition: all 0.3s ease-in-out;
}

#text-editor-box {
    transition: max-height 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#text-editor-box.show {
    max-height: 90vh; /* Adjust based on your desired max height */
    opacity: 1;
}

/* Styling the main container */

.text-editor-box-container{
    border: none;
    background: none;
}

.container {
    width: 80%;
    margin: auto;
    margin-top: 2rem;
    letter-spacing: 0.5px;
    height: 80%;
}


/* Styling the msg-header container */
.text-editor-header {
    /* border: 1px solid #ccc; */
    width: 100%;
    height: 10%;
    /* border-bottom: none; */
    border:none;
    display: inline-block;
    background-color: #6C5472;
    margin: 0;
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
}
/* Styling the profile picture */
.msgimg {
    margin-left: 2%;
    float: left;
    padding: 5px;
}

.container1 {
    width: 270px;
    height: auto; 
    float: left;
    margin: 0;
}

/* Styling the inbox */
.text-editor-page {
    padding: 0 0 0 0 !important;
}

@media only screen and (max-device-width: 850px) {
    *,
    .time {
        font-size: 28px;
    }
    img {
        width: 65px;
    }
    .msg-header {
        height: 5%;
    }
    .msg-page {
        max-height: none;
    }
    .received-msg-inbox p {
        font-size: 28px;
    }
    .outgoing-chats-msg p {
        font-size: 28px;
    }
}

@media only screen and (max-device-width: 450px) {
    *,
    .time {
        font-size: 28px;
    }
    img {
        width: 65px;
    }
    .msg-header {
        height: 5%;
    }
    .msg-page {
        max-height: none;
    }
    .received-msg-inbox p {
        font-size: 28px;
    }
    .outgoing-chats-msg p {
        font-size: 28px;
    }
}
