/*================================================
Template name: AIPRO HTML Mobile Template
Version: 1.0.0
Author: Website Stock       
Author url: https://themeforest.net/user/website_stock/portfolio  

[ Table of Contents ]

01: inbox-placeholder CSS
02: inbox CSS
03: type-msg CSS
04: dark-mode CSS

==================================================*/

/*===========================================================
01: inbox-placeholder CSS
=============================================================*/
.inbox-placeholder {
  text-align: center;
  padding: 16px;
}

.inbox-placeholder.hide {
  display: none;
}

.inbox-placeholder h4 {
  font-size: 24px;
  font-weight: 700;
  color: #BDBDBD;
  margin-top: 30px;
  margin-bottom: 24px;
}

.inbox-placeholder .placeholder-text {
  border-radius: 16px;
  padding: 20px;
  background: #F5F5F5;
  margin-bottom: 12px;
}

.inbox-placeholder p {
  font-weight: 500;
  font-size: 16px;
  color: #9E9E9E;
}

/*===========================================================
02: inbox CSS
=============================================================*/
.inbox {
  height: calc(100vh - 200px);
  overflow-y: auto;
  display: none;
}

.inbox.show {
  display: block;
}

.inbox .stop-generating {
  padding: 48px 24px;
  display: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inbox .stop-generating-btn {
  font-size: 18px;
  padding: 16px;
  font-size: 18px;
  color: var(--gray-90);
  border-radius: 12px;
  border: 2px solid #FED29F;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;

}

.inbox .stop-generating-btn span {
  background: #FBD964;
  height: 20px;
  width: 20px;
  border-radius: 4px;
}

.inbox .stop-generating.show {
  display: block;
}

.inbox>ul {
  display: flex;
  flex-direction: column-reverse;
  gap: 24px;
  padding-bottom: 16px;
}

.inbox .icons button {
  width: 24px;
}

.inbox .dynamic-msg {
  display: none;
}

.inbox .dynamic-msg.show {
  display: flex;
}

.inbox .icons .copied {
  display: inline-block;
  background: #F6F6F6;
  font-size: 12px;
  padding: 4px 8px;
  color: var(--primary-text);
  border-radius: 8px;
  white-space: nowrap;
  position: absolute;
  right: calc(100% + 8px);
  top: 0px;
  box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.4);
  display: none;
}

.inbox .icons .copied.show {
  display: block;
}

.inbox .text {
  width: 100%;
}

.inbox .text .msg {
  width: 100%;
  padding: 12px;
  background: #F6F6F6;
  border-radius: 8px 20px 20px 20px;
  font-size: 18px;
  font-weight: 500;
  color: var(--primary-text);
}

.inbox .text .msg ul li {
  list-style-type: disc;
  margin-left: 24px;
}

.inbox .right .text .msg {
  background: var(--primary-gradient-right);
  border-radius: 20px 20px 8px 20px;
  color: white;
}

/*===========================================================
03: type-msg CSS
=============================================================*/
.type-msg {
  padding: 24px 24px 36px 24px;
  border-top: 1px solid #F5F5F5;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

.type-msg .type-main .inputs-border {
  border-radius: 16px;
  flex-grow: 1;
  padding: 1px;
}

.type-msg .type-main .inputs-border.focused {
  background: var(--primary-gradient);
}

.type-msg .type-main .inputs-border .inputs {
  border-radius: 15px;
  height: 60px;
  padding-left: 16px;
  background: #F5F5F5;
  display: flex;
  align-items: center;
  width: 100%;
}

.type-msg .type-main .inputs-border.focused .inputs {
  background: #F1F3FE;
}

.type-msg .input-file-label input {
  opacity: 0;
  position: absolute;
  height: 0;
  width: 0;
}

.type-msg .input-msg {
  width: 100%;
  font-size: 18px;
  color: var(--primary-text);
  padding-left: 14px;
  background: transparent;
}

.type-msg .input-msg::placeholder {
  font-size: 18px;
  color: var(--gray-80);
}

.type-msg button {
  height: 60px;
  width: 60px;
  background: var(--primary-gradient);
}

.socialModal .modal-body {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 32px;
  column-gap: 14px;
  padding-top: 24px;
}

.socialModal .item figcaption {
  margin-top: 11px;
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary-text);
}


/*===========================================================
04: dark-mode CSS
=============================================================*/
.dark-mode .message .single-chat .single-main {
  background: var(--gray-100);
}

.dark-mode .type-msg {
  border-color: var(--gray-80);
}

.dark-mode .message .single-chat h4,
.dark-mode .type-msg .input-msg,
.dark-mode .chat .dropdown-item {
  color: white;
}

.dark-mode .inbox-placeholder p,
.dark-mode .message .single-chat p,
.dark-mode .message .single-chat h5,
.dark-mode .type-msg .input-msg::placeholder {
  color: var(--gray-40);
}

.dark-mode .inbox-placeholder .placeholder-text,
.dark-mode .add-chat,
.dark-mode .chat .dropdown-menu,
.dark-mode .chat .dropdown-menu::after,
.dark-mode .type-msg .type-main .inputs-border .inputs,
.dark-mode .action ul a,
.dark-mode .action ul button {
  background: var(--gray-80);
}

.dark-mode .inbox .text .msg {
  background: var(--gray-90);
  color: white;
}

.dark-mode .inbox .right .text .msg {
  background: var(--primary-gradient);
}

.dark-mode .chat .page-title .more-btn img,
.dark-mode .chat .dropdown-menu li:first-child .dropdown-item img,
.dark-mode .action ul a img,
.dark-mode .action ul button img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(322deg) brightness(102%) contrast(102%);
}

.dark-mode .inbox .stop-generating-btn {
  color: #FED29F;
}

.dark-mode .action ul a.call,
.dark-mode .action ul button.call {
  background: var(--alert);
}