/* ============= messageBox ============== */
.messageBox {
  width: 463px;
  height: 580px;
  border-radius: 14.94px;
  background-color: rgba(255, 255, 255, 1);
  border: 0.93px solid rgba(220, 220, 229, 1);
  box-shadow: 0 14.94px 44.81px 0 rgba(18, 17, 23, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 114%;
  right: 0;
  z-index: 4;
  padding-bottom: 22.4px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  cursor: auto;
}
.messageBox.active {
  visibility: visible;
  opacity: 1;
  pointer-events: unset;
}
.messageBox .row_01 {
  width: 100%;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  padding: 10.74px 14.94px 11.2px 14.94px;
  background: rgba(255, 255, 255, 1);
  /* border-bottom: 0.47px solid rgba(220, 220, 229, 1); */
}
.messageBox .scheduleLessons {
  min-height: 58px;
  width: 100%;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0px 19px 20px 0px rgb(18 17 23 / 5%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 1);
  display: none;
}
.messageBox .scheduleLessons.active {
    display: flex;
}
.messageBox .scheduleLessons:hover {
  background: rgba(0, 0, 0, 0.06);
}
.messageBox .scheduleLessons span {
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  text-decoration: underline;
  color: rgba(18, 17, 23, 1);
}
.messageBox .row_01 .left {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}
.messageBox .row_01 .left .goBack {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 7.47px;
  cursor: pointer;
}
.messageBox .row_01 .left .goBack:hover {
  background-color: rgba(0, 0, 0, 0.03);
}
.messageBox .row_01 .left .profileImageAndName {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.messageBox .row_01 .left .profileImageAndName img {
  width: 36.34px;
  height: 36.34px;
  border-radius: 50.41px;
  border: 0.93px solid rgba(18, 17, 23, 0.06);
  object-fit: cover;
}
.messageBox .row_01 .left .profileImageAndName h1 {
  font-weight: 500;
  font-size: 16.34px;
  color: rgba(18, 17, 23, 1);
}
.messageBox .row_01 .folderAndCloseIcon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.messageBox .row_01 .folderAndCloseIcon .folder {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 7.47px;
  cursor: pointer;
}
.messageBox .row_01 .closeIcon {
  width: 37.34px;
  height: 37.34px;
  border-radius: 7.47px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.3s;
}
.messageBox .row_01 .closeIcon:hover,
.messageBox .row_01 .folderAndCloseIcon .folder:hover {
  background-color: rgba(0, 0, 0, 0.03);
}
.messageBox .row_01 .closeIcon img {
  transition: 0.3s;
}
.messageBox .row_01 .closeIcon:hover img {
  transform: rotate(180deg);
}
.messageBox .row_02 {
  width: 100%;
  height: 390.19px;
  overflow: auto;
  display: flex;
  gap: 18.47px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 10px 22.66px 10px 22.4px;
}
.messageBox .row_02 .tag {
  padding: 4px 25px;
  border-radius: 3.73px;
  background-color: rgba(244, 244, 248, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 18.47px 0;
}
.messageBox .row_02 .tag p {
  font-size: 11.2px;
  color: rgba(106, 105, 124, 1);
}
.messageBox .row_02 .sender {
  width: 100%;
  display: flex;
  gap: 11.2px;
  justify-content: flex-start;
  align-items: flex-start;
}
.messageBox .row_02 .sender img {
  width: 29px;
  height: 29px;
  border-radius: 30.8px;
  border: 0.93px solid rgba(18, 17, 23, 0.06);
  object-fit: cover;
  flex-shrink: 0;
}
.messageBox .row_02 .sender .content {
  display: flex;
  gap: 5.6px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.messageBox .row_02 .sender .content .top {
  display: flex;
  gap: 3.73px;
  justify-content: center;
  align-items: center;
}
.messageBox .row_02 .sender .content .top h2 {
  font-weight: 500;
  font-size: 14.94px;
  line-height: 22.4px;
  color: rgba(18, 17, 23, 1);
}
.messageBox .row_02 .sender .content .top p.time {
  font-family: "Figtree", serif;
  font-weight: 300;
  font-size: 11.2px;
  line-height: 14.9px;
  letter-spacing: 0.11px;
  color: rgba(106, 105, 124, 1);
}
.messageBox .row_02 .sender .content p.message_text {
  font-size: 14.94px;
  color: rgba(77, 76, 92, 1);
}
.messageBox .row_03 {
  width: 416.33px;
  min-height: 104.55px;
  margin: 0 auto;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 1);
  border: 1px solid rgba(220, 220, 229, 1);
  padding: 12px 16px;
  display: flex;
  gap: 10px;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}
.messageBox .row_03 p.messageTypingArea {
  width: 100%;
  font-weight: 300;
  font-size: 14.94px;
  color: rgba(106, 105, 124, 1);
  max-height: 130px;
  overflow: auto;
}
.messageBox .row_03 .message_options {
  width: 100%;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}
.messageBox .row_03 .message_options .left {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.messageBox .row_03 .message_options img {
  cursor: pointer;
  transition: 0.3s;
}
.messageBox .row_03 .message_options img:hover {
  opacity: 0.7;
}
