html, body {
  height: 100%;
}

.tlpl-left-bar {
  position: relative;
}

.tlpl-body-layout {
  height: 100%;
  min-height: -webkit-fill-available; /* cho các trình duyệt WebKit (bao gồm Safari và Chrome) */
  min-height: fill-available; /* cho các trình duyệt không phải WebKit */
  display: flex;
  background-color: #F2F4F7;
}

.archive-container-layout {
  flex: 1;
  display: flex;
  background-color: #fff;
  overflow: auto;
}

.archive-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  font-family: "Montserrat", sans-serif;
  padding: 1.1875rem 1rem;
}

.archive-head {
  /* height: 5rem; */
}

.archive-head .archive-title {
  margin: 0;
  color: #060047;
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 121%
}

.archive-body {
  display: flex;
  flex: 1;
}

/*
/////////////////////////////////////////////////////////////////////////// NO CONVERSATION
/////////////////////////////////////////////////////////////////////////// NO CONVERSATION
/////////////////////////////////////////////////////////////////////////// NO CONVERSATION
/////////////////////////////////////////////////////////////////////////// NO CONVERSATION
/////////////////////////////////////////////////////////////////////////// NO CONVERSATION
*/

.archive-no-conversation-layout {
  display: none;
  /* display: flex; */
  flex: 1;
  justify-content: center;
  align-items: center;
}

.archive-no-conversation-layout .archive-no-conversation {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 35rem;
  width: 75%;
  margin-top: -2.6875rem; /* (heihgt + margin).archive-title */
}

.archive-no-conversation-layout .archive-no-conversation-img {
  max-width: 27.4375rem;
  width: 90%;
  margin-bottom: 1.8125rem;
}

.archive-no-conversation-layout .archive-no-conversation-text {
  margin-bottom: 1.8125rem;
  color: #060047;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  text-align: center;
  line-height: 197%;
}

.archive-no-conversation-layout .archive-no-conversation-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 22.5rem;
  width: 100%;
  height: 3.1875rem;
  padding: 0 1rem;
  border-radius: 0.6875rem;
  margin: 0 auto;
  background-color: #e60064;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 150%;
  text-decoration: none;
  cursor: pointer;
}

.archive-no-conversation-layout .archive-no-conversation-btn img {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.5rem;
}

.archive-no-conversation-layout .archive-no-conversation-btn .smaller-640 {
  display: none;
}

/*
/////////////////////////////////////////////////////////////////////////// CONVERSATION
/////////////////////////////////////////////////////////////////////////// CONVERSATION
/////////////////////////////////////////////////////////////////////////// CONVERSATION
/////////////////////////////////////////////////////////////////////////// CONVERSATION
/////////////////////////////////////////////////////////////////////////// CONVERSATION
*/

.archive-conversation-layout {
  display: none;
  width: 100%;
}

.archive-conversation {
  /* display: none; */
  display: flex;
  flex-direction: column;
  justify-content: start;
}

.archive-conversation img {
  width: 1rem;
}

.archive-search-layout {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.archive-search-layout .archive-search-box {
  width: 50%;
  max-width: 40rem;
}

.archive-search-layout .archive-search-box form {
  display: flex;
  align-items: center;
  height: 2.875rem;
  border: 1px solid #D5D5D5;
  border-radius: 1.875rem;
  background-color: #F1F4F9;
}

.archive-search-layout .archive-search-box .archive-search-icon {
  margin-left: 0.75rem;
  margin-right: 0.5rem;
  margin-bottom: 0.125rem;
}

.archive-search-layout .archive-search-box .archive-search-input {
  width: 100%;
  background-color: transparent;
  border: none;
  outline: none;
  color: #202224;
  font-size: 0.875rem;
  font-weight: normal;
}

.archive-search-layout .archive-search-box .archive-search-input::placeholder {
  color: #888B8E;
}

.archive-search-layout .archive-search-box .archive-clear-search-btn {
  visibility: collapse;
}

.archive-search-layout .archive-search-box .archive-clear-search {
  margin: 0 1rem 0 0.5rem;
}

.archive-search-layout .archive-search-box button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  padding: 0;
  border: none;
  margin: 0;
}

.archive-search-layout form {
  width: 50%;
}

.archive-search-layout .archive-order {
  display: flex;
  justify-content: end;
  align-content: center;
  width: 100%;
  height: 100%;
}

.archive-search-layout .archive-order-type {
  width: 35%;
  max-width: 7.8125rem;
  height: 100%;
  border: 1px solid #D5D5D5;
  border-radius: none;
  border-top-left-radius: 0.625rem;
  border-bottom-left-radius: 0.625rem;
  background-color: #F1F4F9;
  color: #060047;
  font-size: 0.875rem;
  cursor: pointer;
}

.archive-search-layout .archive-order-type * {
  width: 35%;
  max-width: 7.8125rem;
  border: 1px solid #D5D5D5;
  border-top-left-radius: 0.625rem;
  border-bottom-left-radius: 0.625rem;
  background-color: #F1F4F9;
  color: #060047;
  font-size: 0.875rem;
}

.archive-search-layout .archive-clear-order {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 52.5%;
  max-width: 9rem;
  border-top: 1px solid #D5D5D5;
  border-right: 1px solid #D5D5D5;
  border-bottom: 1px solid #D5D5D5;
  border-left: none;
  border-top-right-radius: 0.625rem;
  border-bottom-right-radius: 0.625rem;
  background-color: #F1F4F9;
  color: #E90064;
  font-size: 0.875rem;
  font-weight: bold;
}

.archive-search-layout .archive-clear-order img {
  margin-bottom: 0.125rem;
}

.archive-table-layout {
  position: relative;
  margin-top: 0.9375rem;
  overflow-x: auto;
}

.archive-table-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 999;
  display: none;
}

.archive-table {
  width: 100%;
  font-size: 0.875rem;
  border: none;
}

.archive-table thead {
  height: 3.75rem;
}

.archive-table thead .archive-action-head {
  width: 9rem;
}

.archive-table th {
  background-color: #F1F4F9;
  padding-left: 1rem;
  border: none;
  color: #202224;
}

.archive-table th:first-child {
  border-top-left-radius: 0.75em;
  border-bottom-left-radius: 0.75em;
}

.archive-table th:last-child {
  border-top-right-radius: 0.75em;
  border-bottom-right-radius: 0.75em;
}

.archive-table tbody tr {
  border-bottom: 1px solid #D8D8D8;
}

.archive-table td {
  color: #202224;
  line-height: 121.5%;
  padding: 1.5rem 0 1.5rem 1rem;
  border: none;
}

.archive-table td a:hover {
  color: #E90064;
  text-decoration: underline;
}

.archive-index-col {
  width: fit-content;
}

.archive-title-col {
  width: 60%;
}

.archive-title-col a {
  color: #202224;
}

.archive-action-col .archive-action {
  display: flex;
  justify-content: left;
  max-width: 6rem;
  width: 100%;
}

.archive-action-col .archive-edit {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 50%;
  padding: 0.375rem 0.25rem;
  border: 1px solid #D5D5D5;
  border-top-left-radius: 0.625rem;
  border-bottom-left-radius: 0.625rem;
  background-color: #F1F4F9;
  cursor: pointer;
}

.archive-action-col .archive-delete {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 50%;
  padding: 0.375rem 0.25rem;
  border-top: 1px solid #D5D5D5;
  border-right: 1px solid #D5D5D5;
  border-bottom: 1px solid #D5D5D5;
  border-left: none;
  border-top-right-radius: 0.625rem;
  border-bottom-right-radius: 0.625rem;
  background-color: #F1F4F9;
  cursor: pointer;
}

.archive-action-col img {
  margin-bottom: 0.125rem;
}

/*
/////////////////////////////////////////////////////////////////////////// SAVE BOX
/////////////////////////////////////////////////////////////////////////// SAVE BOX
/////////////////////////////////////////////////////////////////////////// SAVE BOX
/////////////////////////////////////////////////////////////////////////// SAVE BOX
/////////////////////////////////////////////////////////////////////////// SAVE BOX
*/
.delete-layout,
.save-layout {
  visibility: collapse;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: rgba(3, 1, 23, 0.87);
}

.delete-layout .delete-box,
.save-layout .save-box {
  position: relative;
  max-width: 39.5rem;
  width: 90%;
  padding: 1.75rem 2.625rem;
  border-radius: 1.25rem;
  background-color: #fff;
}

.delete-layout .delete-box {
  max-width: 36rem;
}

.delete-layout .delete-box .close-delete-btn,
.save-layout .save-box .close-save-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0;
  border: none;
  margin: 0;
  background-color: transparent;
}

.delete-layout .delete-box .close-delete-btn img,
.save-layout .save-box .close-save-btn img {
  width: 1.875rem;
  height: 1.875rem;
}

.delete-layout .delete-head,
.save-layout .save-head {
  text-align: center;
}

.delete-layout .delete-head .delete-title,
.save-layout .save-head .save-title {
  margin: 0;
  color: #060047;
  font-size: 1.5rem;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  line-height: 2.1875rem;
}

.delete-layout .delete-head .delete-title {
  line-height: 1.5rem;
}

.delete-layout .delete-head .delete-sub-title,
.save-layout .save-head .save-sub-title {
  margin: 0;
  color: #060047;
  font-size: 0.875rem;
  font-family: "Montserrat", sans-serif;
  font-weight: normal;
  line-height: 1.4375rem;
}

.delete-layout .delete-head .delete-sub-title {
  margin: 1.5rem 0;
  line-height: 123%;
}

.delete-layout .delete-body,
.save-layout .save-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 1rem;
}

.delete-layout .delete-body .delete-stars,
.save-layout .save-body .save-stars {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.125rem;
  direction: rtl;
}

.delete-layout .delete-body .delete-star,
.save-layout .save-body .save-star {
  width: 2rem;
  height: 2rem;
  background-image: url("../../icons/star-frame.png");
  background-size: cover;
  cursor: pointer;
}

.delete-layout .delete-body .delete-text-layout,
.save-layout .save-body .save-text-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2.25rem;
}

.save-layout .save-body .save-text-layout {
  margin-top: 0;
}

.delete-layout .delete-body .delete-text,
.save-layout .save-body .save-text {
  width: 100%;
  height: 4.875rem;
  /* height: 13.25rem; */
  resize: none;
  padding: 0.75rem 0.875rem;

  border: 1px solid #E2E8F0;
  border-radius: 0.5rem;
  color: #060047;
  font-size: 0.875rem;
  font-family: "Montserrat", sans-serif;
  line-height: 1.125rem;
}

.delete-layout .delete-body .delete-text::placeholder,
.save-layout .save-body .save-text::placeholder {
  color: rgba(0, 0, 0, 0.45);
  font-size: 0.875rem;
  font-family: "Montserrat", sans-serif;
  line-height: 1.125rem;
}

.delete-layout .delete-body .delete-text:focus,
.save-layout .save-body .save-text:focus {
  outline: none;
}

.delete-layout .delete-foot,
.save-layout .save-foot {
  margin-top: 1.25rem;
}

.delete-layout .delete-foot {
  display: flex;
  justify-content: center;
}

.save-layout .save-foot .save-foot-btn {
  width: 100%;
  height: 2.75rem;
  border: none;
  border-radius: 0.6875rem;
  margin-top: 0.625rem;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  text-align: center;
  line-height: 1.5rem;
}

.delete-layout .delete-foot .delete-foot-btn {
  max-width: 13rem;
  width: 100%;
  height: 3.6875rem;
  border: none;
  border-radius: 0.6875rem;
  margin: 0 0.375rem;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  text-align: center;
  line-height: 1.5rem;
}

.delete-layout .delete-foot .send-delete-btn,
.save-layout .save-foot .send-save-btn {
  margin-top: 0;
  background-color: #E90064;
  color: #fff;
}

.delete-layout .delete-foot .cancel-delete-btn,
.save-layout .save-foot .cancel-save-btn {
  background-color: #E2E8F0;
  color: #060047;
}

/*
/////////////////////////////////////////////////////////////////////////// SAVE NOTIFICATION BOX
/////////////////////////////////////////////////////////////////////////// SAVE NOTIFICATION BOX
/////////////////////////////////////////////////////////////////////////// SAVE NOTIFICATION BOX
/////////////////////////////////////////////////////////////////////////// SAVE NOTIFICATION BOX
/////////////////////////////////////////////////////////////////////////// SAVE NOTIFICATION BOX
*/

.delete-layout .delete-notification-box,
.save-layout .save-notification-box {
  display: none;
  position: relative;
  max-width: 29.625rem;
  width: 90%;
  padding: 1.75rem 2.625rem;
  border-radius: 1.25rem;
  background-color: #fff;
}

.delete-layout .delete-head .delete-tick-img,
.save-layout .save-head .save-tick-img {
  width: 5.0625rem;
  padding: 0.4062rem;
  margin-bottom: 1rem;
}

.delete-layout .delete-notification-box .delete-head .delete-sub-title,
.save-layout .save-notification-box .save-head .save-sub-title {
  margin-top: 1rem;
  line-height: 123%;
}

.delete-layout .delete-notification-box .delete-foot,
.save-layout .save-notification-box .save-foot {
  display: flex;
  justify-content: center;
  align-items: center;
}

.delete-layout .delete-notification-box .delete-foot .delete-foot-btn,
.save-layout .save-notification-box .save-foot .save-foot-btn {
  width: 100%;
  height: 2.75rem;
  border: none;
  border-radius: 0.5rem;
  margin-top: 0rem;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  line-height: 1.5rem;
}

.delete-layout .delete-foot .delete-continue-btn,
.save-layout .save-foot .save-continue-btn {
  max-width: 18rem;
  background-color: #E90064;
  color: #fff;
}

.delete-layout .delete-foot .delete-continue-btn {
  border-radius: 0.6875rem;
}

.spinner-button {
  position: relative;
  display: none;
}

.delete-foot-btn .spinner-button::after,
.save-foot-btn .spinner-button::after {
  content: " ";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: transparent;
  padding: 0.25rem;
  border-top: 0.25rem solid transparent;
  border-left: 0.25rem solid #fff;
  border-right: 0.25rem solid #fff;
  border-bottom: 0.25rem solid #fff;
  border-radius: 50%;
  animation-name: spinnerButton;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes spinnerButton {
  0% { transform: translate(-150%, -50%) rotate(0deg); }
  100% { transform: translate(-150%, -50%) rotate(360deg); }
}
 
/*
/////////////////////////////////////////////////////////////////////////// RESPONSIVE BOX
/////////////////////////////////////////////////////////////////////////// RESPONSIVE BOX
/////////////////////////////////////////////////////////////////////////// RESPONSIVE BOX
/////////////////////////////////////////////////////////////////////////// RESPONSIVE BOX
/////////////////////////////////////////////////////////////////////////// RESPONSIVE BOX
*/


@media only screen and (max-width:1200px) {

}

@media only screen and (max-width:1024px) {

}

@media only screen and (max-width:768px) {

}

@media only screen and (max-width:640px) {
  .archive-no-conversation-layout .archive-no-conversation-btn .greater-640 {
    display: none;
  }

  .archive-no-conversation-layout .archive-no-conversation-btn .smaller-640 {
    display: block;
  }
}

@media only screen and (max-width:600px) {
  .archive-search-layout .archive-order-type {
    width: 50%;
  }

  .archive-search-layout .archive-clear-order {
    width: 3rem;
  }

  .archive-search-layout .archive-clear-order span {
    display: none;
  }
}

@media only screen and (max-width:480px) {
  html {
    font-size: 14px;
  }
}

@media only screen and (max-width: 360px) {
  html {
    font-size: 12px;
  }
}

/*
/////////////////////////////////////////////////////////////////////////// RESPONSIVE HEIGHT
/////////////////////////////////////////////////////////////////////////// RESPONSIVE HEIGHT
/////////////////////////////////////////////////////////////////////////// RESPONSIVE HEIGHT
/////////////////////////////////////////////////////////////////////////// RESPONSIVE HEIGHT
/////////////////////////////////////////////////////////////////////////// RESPONSIVE HEIGHT
*/
@media only screen and (max-height:768px) {
  .archive-no-conversation-layout .archive-no-conversation-img {
    width: unset;
    max-width: unset;
    max-height: 20rem;
    height: 100%;
  }
}

@media only screen and (max-height:600px) {
  .archive-no-conversation-layout .archive-no-conversation {
    max-width: unset;
    width: 100%;
    flex-direction: row;
    margin-top: 0;
  }

  .archive-no-conversation-layout .archive-no-conversation-img {
    margin-bottom: 0;
  }
}

@media only screen and (max-height:480px) {
  html {
    font-size: 14px;
  }

  .archive-no-conversation-layout .archive-no-conversation-img {
    max-height: 15rem;
  }
}

@media only screen and (max-height:360px) {

}