@import url('https://fonts.googleapis.com/css2?family=Belanosima:wght@400;600;700&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Outfit:wght@100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Rubik+Vinyl&family=Rubik:ital,wght@0,300..900;1,300..900&family=Sour+Gummy:ital,wght@0,100..900;1,100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
*{
    padding: 0;
    margin: 0;
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: "Outfit", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2em;
    transition: 0.5s ease;
}

html, body {
    width: calc(var(--vw) * 100);
    height: calc(var(--vh) * 100);
}

:root{
    --bg-clr: black;
    --bg2-clr: rgba(39,40,34,255);
    --dashboard-bg-clr: rgb(36, 35, 37);
    --chat-container-clr: #2c2b2e;
    --pop-clr: rgb(71, 71, 71);
    --border-pop: rgb(95, 95, 95);
    --main-clr: #8a2be2;
    --main-hover-clr: #7332af;
    --txt-clr: white;
    --txt2-clr: rgb(212, 212, 212);
}

section{
    background-color: var(--chat-container-clr);
}

/* Main Section */
.main{
    width: 100%;
    height: 100vh;
    overflow-y: hidden;
}
.main-container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--txt-clr);
}

/* Dashboard */
.dashboard{
    width: 20%;
    height: 100%;
    background-color: var(--dashboard-bg-clr);
    padding: 1rem;
    position: relative;
    z-index: 999;
    transition: 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
}
/* User Details */
.user-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    min-height: 4rem;
    z-index: 10;
    transition: 0.5s ease;
}
.user-details-basic {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 6px;
    transition: 0.5s ease;
}
.user-details:hover > .user-details-basic{
    background-color: var(--pop-clr);
}
.user-details-basic img{
    border-radius: 50%;
    border-radius: 50%;
    border: none;
    pointer-events: none;
    overflow: hidden;
    width: 2.6rem;
}
.menu-icon{
    position: absolute;
    right: 0.2rem;
    font-size: 1.8em;
    padding: 0.2rem;
    background-color: var(--main-clr);
    border-radius: 6px;
    cursor: pointer;
    display: none;
    transition: 0.5s ease;
}
.user-details-more {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 0%;
    min-height: 2rem;
    position: absolute;
    top: 4.8rem;
    border-radius: 6px;
    background-color: var(--pop-clr);
    padding: 0.4rem;
    opacity: 0;
    transition: opacity 0.5s ease, 0.5s ease;
    z-index: 10;
}
.user-details-more.show {
    display: flex;
    opacity: 1;
}
.settings{
    display: flex;
    flex-direction: column;
}
.settings span{
    display: flex;
    justify-content: center;
    align-items: center;
}
.more-settings{
    display: none;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.5s ease, 0.5s ease;
    width: 10rem;
    min-height: 2rem;
    position: absolute;
    background-color: var(--pop-clr);
    border-radius: 10px;
    right: -10.2rem;
}
.more-settings.show {
    display: flex;
    opacity: 1;
    gap: 0.2rem;
    padding: 0.2rem;
}
.upload-user-profile{
    display: flex;
    flex-direction: column;
}
.upload-user-profile #fileInput{
    display: none;
}
.upload-user-profile label{
    padding: 0.4rem;
    cursor: pointer;
}
.upload-user-profile label:hover{
    background-color: #2c2b2e;
    border-radius: 6px;
}
.upload-user-profile #profile-upload-btn{
    padding: 0.8rem;
    background-color: var(--main-clr);
    outline: none;
    border: none;
    border-radius: 6px;
    font-family: "Outfit", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: var(--txt-clr);
    cursor: pointer;
}
.upload-user-profile #profile-upload-btn:hover{
    background-color: var(--main-hover-clr);
}
.user-details-more .settings {
    display: flex;
    justify-content: center;
    align-items: center;
}
.user-details-more .logout {
    display: flex;
    justify-content: center;
    align-items: center;
}
.delete-all-chats{
    width: 100%;
    outline: none;
    border: none;
    background-color: var(--pop-clr);
    padding: 0.4rem;
    color: var(--txt-clr);
    border-radius: 6px;
    font-family: "Outfit", serif;
    cursor: pointer;
    transition: 0.5s ease;
}
.delete-all-chats:hover{
    background-color: rgb(252, 145, 145);
}
.user-details-more p,
.user-details-more .settings span,
.user-details-more .logout {
    padding: 0.2rem;
    width: 100%;
    background-color: var(--pop-clr);
    border-radius: 6px;
    cursor: pointer;
}
.user-details-more p:hover,
.user-details-more .settings span:hover,
.user-details-more .settings span:hover p,
.user-details-more .logout:hover,
.user-details-more .logout:hover > p {
    background-color: var(--chat-container-clr);
}
.more-settings p{
    background-color: transparent;
    width: 100%;
    border-radius: 6px;
    cursor: pointer;
    pointer-events: none;
}

/* New Chat */
.new-chat1{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0.4rem;
    background-color: var(--main-clr);
    font-size: 1.4em;
    width: fit-content;
    border-radius: 10px;
    gap: 0.4rem;
    cursor: pointer;
    margin-top: 2rem;
    transition: 0.5s ease;
    overflow: hidden;
}
.new-chat1:hover{
    background-color: var(--main-hover-clr);
}
.new-chat1 i{
    font-size: 1.4rem;
}
.reset-temp-chat{
    position: absolute;
    outline: none;
    border: none;
    background-color: transparent;
    display: none;
}
.reset-temp-chat .bx{
    font-size: 2em;
}
/* Chat History */
.chats-history{
    width: 100%;
    height: 80vh;
    margin-top: 2rem;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}
.chats-history .chats{
    width: 100%;
    padding: 0.4rem;
    margin-top: 0.2rem;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: calc(100% - 1.4rem);
    overflow-x: hidden;
    background-color: var(--chat-container-clr);
    transition: 0.5s ease;
}
.chats-history .chats:hover{
    background-color: var(--pop-clr);
}
.chats-history input{
    background-color: var(--chat-container-clr);
    outline: none;
    border: none;
    color: white;
    font-family: "Outfit", serif;
}
.chat-title{
    display: flex;
}
.chat-details{
    width: calc(100%);
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow-y: hidden;
}
.chat{
    color: white;
    padding: 0.4rem;
    width: 100%;
    margin-top: 0.2rem;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow-x: hidden;
    transition: 0.5s ease;
}
.chat-menu{
    right: 1.4rem;
    font-size: 1.2em;
    transform: translateY(3px);
}
.chat-item{
    color: white;
    width: calc(100% - 1.4rem);
    padding: 0.4rem;
    margin-top: 0.2rem;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow-x: hidden;
    transition: 0.5s ease;
}
.chat-options{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: auto;
    position: absolute;
    background-color: var(--pop-clr);
    border-radius: 6px;
    border: 1px solid var(--border-pop);
    transition: 0.5s ease;
    right: 1rem;
    transform: translateY(3.2rem);
    overflow: hidden;
}
.chat-details:hover .chat{
    background-color: var(--border-pop);
}
.chat-options div{
    display: flex;
    padding: 0.4rem 0 0.4rem 0.8rem;
    gap: 0.4rem;
    width: 100%;
    transition: 0.5s ease;
}
.chat-options div:hover{
    background-color: var(--border-pop);
}
.chat-options div i{
    font-size: 1.2em;
}
.chat-options div:nth-child(2){
    color: rgb(252, 145, 145);
}
/* Text To Image */
.text-to-image{
    color: white;
    padding: 0.4rem;
    width: 4rem;
    margin-top: 0.2rem;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow-x: hidden;
    transition: 0.5s ease;
    gap: 0.4rem;
}
/* ExoMind Text */
.exomind-txt{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: var(--dashboard-bg-clr);
}
.exomind-txt img{
    width: 3.2rem;
    border-radius: 50%;
    bottom: 0;
    right: 0;
}

/* Chat Messages */
.chat-container{
    width: 80%;
    height: 100%;
    background-color: var(--chat-container-clr);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.chat-container-shadow{
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(to bottom, var(--chat-container-clr), transparent);
    z-index: 1;
    pointer-events: none;
}
.voice-chat-container {
    display: none;
    flex-direction: column;
    position: fixed;
    padding: 20px;
    z-index: 1001;
}
.voice-chat-container.open {
    display: flex;
}
.voice-chat-main{
    padding: 0.8rem;
    background-color: var(--bg2-clr);
    border: 1px solid var(--border-pop);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.voice-chat-main h1{
    color: var(--main-clr);
    padding: 0 0.8rem;
}
.voice-chat-main p{
    align-self: flex-start;
    padding: 0.4rem 0;
    transition: 0.5s ease;
}
.voice-chat-main #voice-response{
    font-size: 1em;
    transition: 0.5s ease;
}
.highlight{
    background-color: var(--main-clr);
    transition: 0.5s ease;
    border-radius: 6px;
}
.voice-chat-main button{
    outline: none;
    border: none;
    background-color: transparent;
    color: var(--txt-clr);
    cursor: pointer;
}
.voice-chat-main button i{
    border: 1px solid var(--border-pop);
    border-radius: 50%;
    text-align: center;
    transition: 0.5s ease;
    color: var(--txt2-clr);
    font-size: 1.4rem;
    padding: 0.4rem;
    margin-top: 2rem;
}
.voice-chat-main button i:hover{
    background-color: var(--main-clr);
    color: var(--txt-clr);
}
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
.no-chat-container{
    position: absolute;
    display: none;
    flex-direction: column;
    text-align: center;
    gap: 2rem;
}
.no-chat-container .new-chat2{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.8rem;
    background-color: var(--main-clr);
    width: fit-content;
    border-radius: 6px;
    align-self: center;
    gap: 0.2rem;
    transition: 0.5s ease;
    cursor: pointer;
}
.no-chat-container .new-chat2:hover{
    background-color: var(--main-hover-clr);
}
.no-chat-container .new-chat2 i{
    font-size: 1.2em;
}
/* Delete Chat */
/* .delete-chat{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    text-align: center;
    left: 2.2rem;
    bottom: 1rem;
    z-index: 100;
    border-radius: 6px;
    transition: 0.5s ease;
    width: 2rem;
    height: 2rem;
}
.delete-chat i{
    transition: 0.5s ease;
}
.delete-chat i:hover{
    color: rgb(252, 145, 145);
} */
/* Messages Container */
.messages-container{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow-y: auto;
    overflow-x: hidden;
}
/* User Input */
.user-prompt-container{
    width: 80%;
    height: 6rem;
    background-color: var(--pop-clr);
    position: relative;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.4rem;
    margin-bottom: 0.8rem;
}
#user-input{
    width: calc(100% - 1.4rem);
    height: 10rem;
    margin-top: 0.2rem;
    display: block;
    overflow-y: auto;
    resize: none;
    top: 0.4rem;
    outline: none;
    border: none;
    background-color: transparent;
    font-family: "Outfit", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: var(--txt-clr);
}
#user-input::placeholder{
    font-family: "Outfit", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: var(--txt-clr);
    opacity: 0.4;
}
.user-options-input{
    display: flex;
    width: 100%;
}
.user-options-input i{
    font-size: 1.6em;
    padding: 0.4rem;
    border-radius: 50%;
    margin-top: 0.8rem;
    color: var(--txt-clr);
}
.file-input{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2rem;
    margin-left: 0.4rem;
}
.file-input i{
    border: 1px solid var(--border-pop);
    border-radius: 50%;
    text-align: center;
    transition: 0.5s ease;
    color: var(--txt2-clr);
    font-size: 1.4rem;
}
.file-input:hover > i{
    background-color: var(--main-clr);
    color: var(--txt-clr);
}
.file-input-progress{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 2.8rem;
    height: 2.8rem;
    position: absolute;
    left: 10rem;
    bottom: 0.8rem;
    display: none;
    border: 1px solid var(--main-hover-clr);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 4px var(--txt2-clr);
}
.file-input-progress i{
    text-align: center;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 4;
    top: -0.8rem;
    left: 0;
    cursor: pointer;
    color: var(--main-clr);
    font-weight: bold;
    text-shadow: 0 0 10px var(--chat-container-clr);
}
.file-input-progress img{
    text-align: center;
    z-index: 1;
    cursor: pointer;
    width: 2.8rem;
    mix-blend-mode: lighten;
    z-index: 2;
    position: absolute;
    left: 0;
    top: 0;
}
.file-input-progress iframe{
    width: 100%;
    height: 100%;
    padding: 2rem;
    position: absolute;
    top: -2rem;
    left: -2rem;
    pointer-events: none;
    overflow-y: hidden;
    background-color: rgb(160, 160, 160);
    opacity: 0.6;
}
.file-input-progress iframe::-webkit-scrollbar{
    display: none;
}
.text-to-image{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2rem;
    margin-left: 0.4rem;
}
.text-to-image i{
    border: 1px solid var(--border-pop);
    border-radius: 50%;
    text-align: center;
    transition: 0.5s ease;
    color: var(--txt2-clr);
    font-size: 1.4rem;
}
.voice-chat{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2rem;
    margin-left: 0.4rem;
}
.voice-chat i{
    border: 1px solid var(--border-pop);
    border-radius: 50%;
    text-align: center;
    transition: 0.5s ease;
    color: var(--txt2-clr);
    font-size: 1.4rem;
}
.voice-chat i:hover{
    background-color: var(--main-clr);
    color: var(--txt-clr);
}
#user-submit{
    border: none;
    outline: none;
    background-color: transparent;
    cursor: pointer;
    position: absolute;
    bottom: 0.4rem;
    right: 0.6rem;
}
#user-submit i{
    padding: 0.4rem;
    border-radius: 50%;
    background-color: var(--main-clr);
    font-size: 1.6em;
    margin-top: 0.8rem;
    color: var(--txt-clr);
}
#user-stop{
    border: none;
    outline: none;
    background-color: transparent;
    cursor: pointer;
    position: absolute;
    bottom: 0.4rem;
    right: 0.6rem;
}
#user-stop i{
    padding: 0.4rem;
    border-radius: 50%;
    background-color: var(--main-clr);
    font-size: 1.6em;
    margin-top: 0.8rem;
    color: rgb(252, 145, 145);
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 10px;
  margin-left: 6%;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  background-color: gray;
  border-radius: 50%;
  animation: typing 1.5s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0% { opacity: 0.3; transform: translateY(0px); }
  50% { opacity: 1; transform: translateY(-5px); }
  100% { opacity: 0.3; transform: translateY(0px); }
}

.message {
  width: fit-content;
  max-width: 80%;
  margin: 0.5rem 0;
  padding: 1rem;
  border-radius: 16px;
  font-family: "Outfit", serif;
  font-size: 0.95rem;
  word-wrap: break-word;
  line-height: 1.5;
  font-size: 0.9em;
}

.message.user {
  background-color: var(--main-clr);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 0;
  margin-left: auto;
  margin-right: 0.8rem;
  margin-top: 2rem;
  white-space: pre-wrap;
  transition: 0.5s ease;
}

.message.bot {
  color: var(--txt-clr);
  align-self: center;
  border-bottom-left-radius: 0;
  margin-left: 6%;
  transition: 0.5s ease;
}

/* Style for the bot's processing message */
.message.bot.processing {
    color: #888;
    font-style: italic;
    opacity: 0.8;
}

.iframe-gem-img {
    width: 20rem;
    height: 20rem;
    border: none;
    outline: none;
    border-radius: 10px;
}

strong, em {
    white-space: nowrap;
}
strong{
    font-weight: 800;
    white-space: pre-wrap; /* Preserves whitespace and wraps text */
    overflow-x: hidden;
}
em{
    white-space: pre-wrap; /* Preserves whitespace and wraps text */
    overflow-x: hidden;
}

.bot-response-container {
    margin-left: 10px;
    margin-bottom: 2rem;
    border-radius: 2px 8px 8px 8px;
    color: var(--txt-clr);
    text-wrap: wrap;
    overflow-x: hidden;
}

.profile-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.code-part{
    background: var(--main-clr);
    color: var(--txt-clr);
    border-radius: 4px;
    padding: 1px;
}

.main-code-container{
    margin-bottom: 2px;
    position: relative;
    gap: 0;
    width: 100%;
}
.code-container{
    overflow-x: auto;
    background-color: var(--bg2-clr);
    border-radius: 6px;
    text-align: left;
}
.code-container pre{
    background-color: transparent;
}
.code-lang-and-copy-btn{
    display: flex;
    position: absolute;
    width: 100%;
}
.code-lang{
    background-color: var(--pop-clr);
    border-radius: 4px;
    color: var(--txt-clr);
    left: 0;
    top: 0;
    width: 100%;
    display: flex;
    position: absolute;
    padding-left: 4px;
}
.copy-code-container{
    background-color: var(--pop-clr);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    top: 0;
    right: 0;
    position: absolute;
    font-family: "Outfit", serif;
    font-weight: 600;
    font-style: normal;
    transition: 0.5s ease;
    padding: 1px;
}

.typing-indicator {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.table-response{
    background-color: var(--txt-clr);
    color: var(--txt-clr);
    border-collapse: collapse;
    margin: 10px 0;
    width: 100%;
    border-radius: 6px;
    border: 1px solid var(--txt-clr);
    word-break: break-all;
}
.table-response-head{
    color: var(--txt-clr);
    border-radius: 6px;
}
.table-response-rows{
    border: 1px solid var(--txt-clr);
    border-radius: 6px;
}
.table-response-rows th{
    padding: 8px;
    text-align: left;
    background-color: var(--bg2-clr);
    color: var(--txt-clr);
    border: 1px solid var(--txt-clr);
}
tbody{
    background-color: var(--pop-clr);
    border: 1px solid var(--txt-clr);
    border-radius: 6px;
}
.table-response-cells{
    border: 1px solid #ddd;
    padding: 2px;
}

/* Notes */
.notes-container{
    width: 80%;
    height: 100%;
    border-radius: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}
.notes{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0.4rem;
    background-color: var(--main-clr);
    font-size: 1.4em;
    width: fit-content;
    border-radius: 10px;
    gap: 0.4rem;
    cursor: pointer;
    transition: 0.5s ease;
    overflow: hidden;
    position: absolute;
    transform: translateY(6rem);
    right: 1.6rem;
}
.notes:hover{
    background-color: var(--main-hover-clr);
}
.notes i{
    font-size: 1.4rem;
}
.notes-messages{
    width: 100%;
    height: 100%;
    overflow-y: auto;
}
.notes-prompt-container{
    width: 80%;
    height: 6rem;
    background-color: var(--pop-clr);
    position: relative;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.4rem;
    margin-bottom: 0.8rem;
}
.notes-input{
    width: calc(100% - 1.4rem);
    height: 10rem;
    margin-top: 0.2rem;
    display: block;
    overflow-y: auto;
    resize: none;
    top: 0.4rem;
    outline: none;
    border: none;
    font-family: "Outfit", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: var(--txt-clr);
    background-color: transparent;
}
.notes-input::placeholder{
    font-family: "Outfit", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: var(--txt-clr);
    opacity: 0.4;
}
#notes-submit{
    border: none;
    outline: none;
    background-color: transparent;
    cursor: pointer;
    position: absolute;
    bottom: 0.4rem;
    right: 0.6rem;
}
#notes-submit i{
    padding: 0.4rem;
    border-radius: 50%;
    background-color: var(--main-clr);
    font-size: 1.6em;
    margin-top: 0.8rem;
    color: var(--txt-clr);
}
.edit-input {
  width: 100%;
  padding: 8px;
  margin: 5px 0;
  border-radius: 5px;
  font-size: 16px;
  background-color: transparent;
  outline: none;
  border: none;
  color: var(--txt-clr);
}
.note-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 5px;
}
.note-buttons button {
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  color: var(--txt-clr);
}
.note-buttons button:hover {
  opacity: 0.7;
}
.exit-from-note{
    border: none;
    outline: none;
    background-color: transparent;
    cursor: pointer;
    position: absolute;
    bottom: 0.4rem;
    right: 4rem;
}
.exit-from-note i{
    padding: 0.4rem;
    border-radius: 50%;
    background-color: var(--main-clr);
    margin-top: 0.8rem;
    color: var(--txt-clr);
    font-size: 1.14em;
}
.stored-file-link{
    color: var(--txt-clr);
}
.file-upload-note{
    border: none;
    outline: none;
    background-color: transparent;
    cursor: pointer;
    position: absolute;
    bottom: 0.4rem;
    right: 7.2rem;
}
.file-upload-note i{
    border: 1px solid var(--border-pop);
    border-radius: 50%;
    text-align: center;
    transition: 0.5s ease;
    color: var(--txt2-clr);
    font-size: 1.4rem;
    padding: 0.4rem;
}
.file-upload-note:hover > i{
    background-color: var(--main-clr);
    color: var(--txt-clr);
}


@media(max-width: 900px){
    .main{
        width: 100%;
        height: 100vh;
        overflow-y: hidden;
    }
    body{
        overflow-y: auto;
    }
    .main-container{
        height: 100%;
    }
    .dashboard{
        position: absolute;
        left: -14rem;
        top: 0;
        width: 12rem;
        height: calc(100% - 2rem);
    }
    .menu-icon{
        position: absolute;
        right: -2.2rem;
        font-size: 1.8em;
        cursor: pointer;
        width: 2rem;
    }
    .message {
        width: fit-content;
        max-width: 80%;
    }
    .chat-container{
        width: 100%;
        max-height: 100%;
    }
}
