.intercom-lightweight-app {
  display: none;  
}

.zehelpdesk-wrap * {
  all: revert;
  box-sizing: border-box;
}

.zehelpdesk-wrap {
  font-family: "Arial";
  color: #333333;
}

:root {
  --zehelpdesk-main-color: #4285f4;
}


/* icons */

[dir="rtl"] .zehelpdesk-wrap .fa-angle-left::before,
[dir="rtl"] .zehelpdesk-wrap .fa-paper-plane-top::before {
  display: block;
  -moz-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  transform: scaleX(-1);
}

/* icons */


/* button */

.zehelpdesk-btnIcon {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  position: relative;
  border-radius: 100%;
  cursor: pointer;
  transition: 0.3s background;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 24px 24px;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-top: 0 !important;
}

.zehelpdesk-btnIcon:has(span) {
  padding-inline: 10px;
  gap: 6px;
}

.zehelpdesk-btnIcon.small {
  min-width: 30px;
  min-height: 30px;
  border-radius: 15px;
  font-size: 16px;
}

.zehelpdesk-btnIcon[disabled] {
  cursor: not-allowed;
}

.zehelpdesk-btnIcon span {
  font-size: 14px;
}

.zehelpdesk-btnIcon.zehelpdesk-btnIconBlue {
  background: #4d90fe;
  color: white;
  transition: 0.3s opacity;
}

.zehelpdesk-btnIcon:not(.zehelpdesk-btnIcon.zehelpdesk-btnIconBlue):hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.zehelpdesk-btnIcon.zehelpdesk-btnIconBlue:hover {
  opacity: 0.9;
}

/* Specific button background modifiers */
.zehelpdesk-btnSend{
  width: 24px;
  -ms-filter: fliph;
  filter: fliph;
  margin-inline-start: 17px;
  margin-top: 17px;
  opacity: 0.7;
  cursor: pointer;
}

.zehelpdesk-btnIcon.send {
  padding-inline-start: 2px;
  transition: unset;
}

.zehelpdesk-btnIcon.emoji {
  font-size: 24px;
}

@media (max-width: 700px) {
  .zehelpdesk-btnIcon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    font-size: 16px;
  }
}

/* button */


/* form */

.zehelpdesk-form {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-family: sans-serif;
}

.zehelpdesk-label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: #333;
}

.zehelpdesk-input {
  margin-top: 5px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border 0.2s;
}

.zehelpdesk-input:focus {
  border-color: #4a90e2;
}

.zehelpdesk-button {
  display: flex;
  padding: 12px;
  font-size: 14px;
  color: white;
  background-color: #4a90e2;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.zehelpdesk-button:not(.white):hover {
  background-color: #357ab8;
}

.zehelpdesk-button.white {
  background: white;
  border: 1px solid #e0e0e0;
  color: inherit;
  transition: opacity 0.2s;
}

.zehelpdesk-button.white:hover {
  opacity: 0.9;
}

/* form */


/* launcher */

.zehelpdesk-launcher {
  position: fixed;
  display: flex;
  width: 48px;
  height: 48px;
  background: var(--zehelpdesk-main-color);
  color: white;
  font-size: 24px;
  bottom: 20px;
  inset-inline-start: 20px;
  border-radius: 50%;
  z-index: 998;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.zehelpdesk-launcher:hover {
  transform: scale(1.1);
}

.zehelpdesk-launcher i {
  position: absolute;
  display: flex;
  width: 100%;
  height: 100%;
  inset: 0;
  margin: auto;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  transform: scale(1);
}

.zehelpdesk-launcher .fa-message-smile {
  padding-top: 2px;
  padding-inline-start: 1px;
}

.zehelpdesk-wrap-open .zehelpdesk-launcher .fa-message-smile {
  transform: scale(0);
  opacity: 0;
}

.zehelpdesk-wrap:not(.zehelpdesk-wrap-open) .zehelpdesk-launcher .fa-angle-down {
  transform: rotate(-90deg);
  opacity: 0;
}

.zehelpdesk-launcher-counter {
  position: absolute;
  display: flex;
  min-width: 18px;
  height: 18px;
  background: red;
  color: white;
  font-size: 12px;
  top: -1px;
  inset-inline-end: -1px;
  border-radius: 9px;
  align-items: center;
  justify-content: center;
  padding-inline: 4px;
}

/* launcher */


/* panle */

.zehelpdesk-panel {
  position: fixed;
  display: flex;
  width: calc(100vw - 40px);
  height: calc(100vh - 103px);
  max-width: 400px;
  max-height: 700px;
  background: white;
  border-radius: 16px;
  bottom: 83px;
  inset-inline-start: 20px;
  z-index: 998;
  box-shadow: rgba(0, 0, 0, 0.10) 0px 14px 28px, rgba(0, 0, 0, 0.09) 0px 10px 10px;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom left;
  transition: transform 0.2s ease, opacity 0.2s ease, max-width 0.2s ease, max-height 0.2s ease;
}

[dir="rtl"] .zehelpdesk-panel {
  transform-origin: bottom right;
}

.zehelpdesk-wrap:not(.zehelpdesk-wrap-open) .zehelpdesk-panel {
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.4);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0s linear 0.2s, z-index 0s linear 0.2s;
  z-index: -999;
}

.zehelpdesk-panel:has(.zehelpdesk-page.active:is(#zehelpdeskConversation),#zehelpdeskWikiTab.active).zehelpdesk-panel-expand {
  max-width: 700px;
  max-height: calc(100vh - 98px);
}

.zehelpdesk-header {
  display: flex;
  padding: 8px 15px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e0e0e0;
  flex-shrink: 0;
}

.zehelpdesk-header.zehelpdesk-blue-section {
  background: var(--zehelpdesk-main-color);
  color: white;
  border-bottom: unset;
}

.zehelpdesk-header-title {
  font-size: 18px;
  padding-inline: 8px;
}

.zehelpdesk-btnIcon.zehelpdesk-minimize {
  margin-inline-start: auto;
}

.zehelpdesk-body {
  overflow: auto;
  flex: 1 1 auto;
  min-height: 0;
}

/* panle */


/* welcome */

.zehelpdesk-welcome-wrap {
  background: var(--zehelpdesk-main-color);
  color: white;
  padding: 15px;
  padding-top: unset;
}

.zehelpdesk-welcome-title {
  font-size: 28px;
  margin-bottom: 20px;
  padding-inline: 8px;
}

.zehelpdesk-welcome-new-chat {
  display: flex;
  background: white;
  padding: 15px;
  border-radius: 15px;
  color: #333333;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.zehelpdesk-welcome-new-chat-text-wrap {
  font-size: 14px;
}

.zehelpdesk-welcome-new-chat-title {
  font-weight: 700;
  margin-bottom: 2px;
}

/* welcome */


/* tabs */

.zehelpdesk-tabs-wrap {
  display: flex;
  height: 100%;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.zehelpdesk-tabs {
  display: flex;
  height: 80px;
  border-top: 1px solid rgb(245, 245, 245);
  box-shadow: rgba(9, 14, 21, 0.06) 0px 0px 25px 0px;
}

.zehelpdesk-tab {
  display: flex;
  width: 50%;
  flex-grow: 1;
  gap: 6px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: color 0.2s;
}

.zehelpdesk-tab:hover,
.zehelpdesk-tab.active {
  color: var(--zehelpdesk-main-color);
}

.zehelpdesk-tab.active {
  font-weight: 600;
}

.zehelpdesk-tab i {
  position: relative;
  font-size: 20px;
}

.zehelpdesk-tab .fa-solid,
.zehelpdesk-tab.active .fa-light {
  display: none;
}

.zehelpdesk-tab.active .fa-solid {
  display: block;
}

.zehelpdesk-tab-counter {
  position: absolute;
  display: flex;
  min-width: 14px;
  height: 14px;
  background: red;
  color: white;
  font-weight: 500;
  font-size: 9px;
  line-height: 14px;
  top: -6px;
  inset-inline-end: -6px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  padding-inline: 4px;
}

.zehelpdesk-tab span {
  font-size: 14px;
}

.zehelpdesk-tab-content {
  display: flex;
  height: calc(100% - 80px);
  background: white;
  flex-grow: 1;
  flex-direction: column;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.zehelpdesk-tab-content:not(.active) {
  position: absolute;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  top: 0;
  left: 0;
  z-index: -1;
}


/* tabs */


/* wiki */

.zehelpdesk-body .ze-wiki {
  height: 100%;
}

/* wiki */


/* contact */

.zehelpdesk-contact {
  width: 100%;
  color: #333333;
  font-size: 14px;
  white-space: nowrap;
  position: relative;
  text-decoration: none;
  display: block;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.zehelpdesk-contact-image {
  position: relative;
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: white;
  border-radius: 100%;
}

.zehelpdesk-contact-image img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 100%;
}

.zehelpdesk-contact-counter {
  position: absolute;
  display: flex;
  min-width: 16px;
  height: 16px;
  background: red;
  color: white;
  font-size: 11px;
  top: -2px;
  inset-inline-end: -2px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  padding-inline: 4px;
}

.zehelpdesk-contact-info-wrap {
  display: flex;
  text-align: start;
  width: calc(100% - 60px);
  flex-direction: column;
  align-self: stretch;
  justify-content: center;
  gap: 3px;
}

.zehelpdesk-contact-info-title {
  font-size: 17px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zehelpdesk-contact-info-title.zehelpdesk-skeleton {
  border-radius: 4px;
}

.zehelpdesk-contact-info-title > i {
  margin-inline-end: 1px;
}

.zehelpdesk-contact-info-title > .type-label {
  font-style: italic; 
  user-select: none; 
  color: gray;
}

.zehelpdesk-contact-info-text {
  position: relative;
  color: gray;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zehelpdesk-contact-info-text.zehelpdesk-skeleton {
  border-radius: 4px;
}

/* contact */


/* skeleton */

.zehelpdesk-skeleton {
  position: relative;
  overflow: hidden;
}

.zehelpdesk-skeleton::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(90deg, #ddd 0px, #e8e8e8 40px, #ddd 80px);
  background-size: 600px;
  animation: zehelpdesk-skeleton 1.6s infinite linear;
}

@keyframes zehelpdesk-skeleton {
  0% {
    background-position: -84px;
  }
  40%, 100% {
    background-position: 156px;
  }
}

/* skeleton */


/* tickets */

.zehelpdesk-tickets {
  min-height: 100%;
  padding-bottom: 80px;
}

.zehelpdesk-tickets-item {
  border-bottom: 1px solid transparent;
  transition: background 0.2s;
  cursor: pointer;
  padding: 8px 20px;
}

.zehelpdesk-tickets-item:hover {
  background: rgba(0, 0, 0, 0.075);
}

.zehelpdesk-tickets-item::after {
  content: '';
  position: absolute;
  width: calc(100% - 30px);
  height: 1px;
  background: #e0e0e0;
  bottom: -1px;
  inset-inline: 0;
  margin: 0 auto;
}

.zehelpdesk-tickets-item .zehelpdesk-contact-image {
  display: flex;
  background: rgb(66 133 244 / 20%);
  justify-content: center;
  align-items: center;
  color: #4285f4;
  font-size: 20px;
  border: unset;
}

/* tickets */


/* conversations */

.zehelpdesk-conversations {
  min-height: 100%;
  padding-bottom: 80px;
}

.zehelpdesk-conversations-item {
  border-bottom: 1px solid transparent;
  transition: background 0.2s;
  cursor: pointer;
  padding: 8px 20px;
}

.zehelpdesk-conversations-item:hover {
  background: rgba(0, 0, 0, 0.075);
}

.zehelpdesk-conversations-item::after {
  content: '';
  position: absolute;
  width: calc(100% - 30px);
  height: 1px;
  background: #e0e0e0;
  bottom: -1px;
  inset-inline: 0;
  margin: 0 auto;
}

.zehelpdesk-conversations-item .zehelpdesk-contact-info-title.typing *,
.zehelpdesk-conversations-item .zehelpdesk-contact-info-title.typing {
  font-size: 0;
}

.zehelpdesk-conversations-item .zehelpdesk-contact-info-title.typing::before {
  content: var(--typing);
  font-style: italic;
  user-select: none;
  color: gray;
  font-size: 17px;
}

.zehelpdesk-conversations-new-chat-button-wrap {
  position: sticky;
  height: 0;
  bottom: 20px;
}

.zehelpdesk-conversations-new-chat-button {
  position: absolute;
  display: inline-flex;
  background: var(--zehelpdesk-main-color);
  padding: 12px 16px;
  border-radius: 12px;
  text-align: center;
  color: white;
  font-size: 14px;
  cursor: pointer;
  left: 50%;
  bottom: 1px;
  transform: translateX(-50%);
  gap: 9px;
  align-items: center;
  transition: transform 0.2s;
}

.zehelpdesk-conversations-new-chat-button:hover {
  transform: translateX(-50%) scale(1.05);
}

/* conversations */


/* page */

.zehelpdesk-page {
  position: absolute;
  display: flex;
  width: 100%;
  height: 100%;
  background: white;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  flex-direction: column;
}

.zehelpdesk-page:not(.active) {
  opacity: 0;
  transform: translateX(50px);
  visibility: hidden;
  pointer-events: none;
}

[dir="rtl"] .zehelpdesk-page:not(.active) {
  transform: translateX(-50px);
}

.zehelpdesk-panel:has(.zehelpdesk-page.active) .zehelpdesk-tabs-wrap {
  transform: translateX(-50px);
}

[dir="rtl"] .zehelpdesk-panel:has(.zehelpdesk-page.active) .zehelpdesk-tabs-wrap {
  transform: translateX(50px);
}

/* page */


/* conversation */

.zehelpdesk-chat .zehelpdesk-header .zehelpdesk-contact-image {
  width: 43px;
  height: 43px;
  min-width: 43px;
}

.zehelpdesk-conversation-body {
  display: flex;
  flex-grow: 1;
  overflow: auto;
  padding: 15px;
  margin-bottom: -15px;
  flex-direction: column;
}

.zehelpdesk-conversation-body > .fa-spin {
  display: block;
  width: 22px;
  margin: 30px auto;
  font-size: 22px;
}

.zehelpdesk-conversation-body .zehelpdesk-conversation-message-wrap:last-child {
  flex-grow: 1;
  overflow: hidden;
}

.zehelpdesk-conversation-footer {
  position: relative;
  padding: 15px;
  padding-top: 0;
  z-index: 1;
}

.zehelpdesk-conversation-textarea-wrap {
  position: relative;
  background: white;
  border-radius: 15px;
  box-shadow: rgba(9, 14, 21, 0.16) 0px 0px 4px 0px;
  overflow: hidden;
  border: 1px solid rgb(245, 245, 245);
  outline: rgb(0, 113, 178) solid 0px;
  color: rgb(20, 22, 26);
  transition: outline-width 150ms;
}

.zehelpdesk-conversation-textarea-attachments {
  display: none;
  padding: 8px;
  padding-bottom: 0;
  gap: 6px;
}

.zehelpdesk-conversation-textarea-attachments:has(.zehelpdesk-conversation-file-preview) {
  display: flex;
}

.zehelpdesk-conversation-textarea-attachments > .zehelpdesk-conversation-file-preview {
  background: rgba(0, 0, 0, 0.075);
}

.zehelpdesk-conversation-textarea {
  max-height: 90px;
  padding: 12px;
  padding-bottom: 2px;
  overflow-y: auto;
  word-break: break-word;
}

[dir="rtl"] .zehelpdesk-conversation-textarea:empty {
  direction: rtl;
}

.zehelpdesk-conversation-textarea:empty:before {
  content: attr(data-placeholder);
  color: #999;
  pointer-events: none;
}

.zehelpdesk-conversation-textarea:focus-visible {
  outline: none;
  box-shadow: none;
}

.zehelpdesk-conversation-textarea-buttons {
  display: flex;
  align-items: center;
  padding: 5px;
  gap: 4px;
}

.zehelpdesk-btnIcon.send {
  margin-inline-start: auto;
}

/* conversation */


/* messages */

.zehelpdesk-conversation-system-message-wrap {
  text-align: center;
}

.zehelpdesk-conversation-system-message {
  display: inline-block;
  background-color: #e3ecfa;
  text-align: center;
  padding: 4px 8px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 12px;
}

.zehelpdesk-conversation-message-wrap {
  display: flex;
  padding-bottom: 16px;
  flex-shrink: 0;
}

.zehelpdesk-conversation-message-me {
  justify-content: flex-end;
}

.zehelpdesk-conversation-message-me:has(+ .zehelpdesk-conversation-message-me),
.zehelpdesk-conversation-message-other:has(+ .zehelpdesk-conversation-message-other) {
  padding-bottom: 4px;
}

.zehelpdesk-conversation-message {
  display: inline-block;
  max-width: calc(100% - 40px);
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.zehelpdesk-conversation-message-amin {
  animation: fadeInUp 0.3s ease;
}

.zehelpdesk-conversation-message-body { 
  position: relative;
  background: #ededed;
  padding: 8px;
  border-radius: 12px;
  word-break: break-word;
  z-index: 1;
  overflow: hidden;
}

[dir="ltr"] .zehelpdesk-conversation-message-me:has(+ .zehelpdesk-conversation-message-me) .zehelpdesk-conversation-message-body {
  border-bottom-right-radius: 4px;
}

[dir="ltr"] .zehelpdesk-conversation-message-me + .zehelpdesk-conversation-message-me .zehelpdesk-conversation-message-body {
  border-top-right-radius: 4px;
}

[dir="ltr"] .zehelpdesk-conversation-message-other:has(+ .zehelpdesk-conversation-message-other) .zehelpdesk-conversation-message-body {
  border-bottom-left-radius: 4px;
}

[dir="ltr"] .zehelpdesk-conversation-message-other + .zehelpdesk-conversation-message-other .zehelpdesk-conversation-message-body {
  border-top-left-radius: 4px;
}

[dir="rtl"] .zehelpdesk-conversation-message-me:has(+ .zehelpdesk-conversation-message-me) .zehelpdesk-conversation-message-body {
  border-bottom-left-radius: 4px;
}

[dir="rtl"] .zehelpdesk-conversation-message-me + .zehelpdesk-conversation-message-me .zehelpdesk-conversation-message-body {
  border-top-left-radius: 4px;
}

[dir="rtl"] .zehelpdesk-conversation-message-other:has(+ .zehelpdesk-conversation-message-other) .zehelpdesk-conversation-message-body {
  border-bottom-right-radius: 4px;
}

[dir="rtl"] .zehelpdesk-conversation-message-other + .zehelpdesk-conversation-message-other .zehelpdesk-conversation-message-body {
  border-top-right-radius: 4px;
}

.zehelpdesk-conversation-message-me .zehelpdesk-conversation-message-body {
  background: var(--zehelpdesk-main-color);
  color: white;
}

.zehelpdesk-conversation-message-files {
  display: flex;
  gap: 6px;
}

.zehelpdesk-conversation-message-image {
  position: relative;
  display: block;
  width: 250px;
  max-width: 100%;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 1;
}

.zehelpdesk-conversation-message-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.zehelpdesk-conversation-message-image > .loading {
  position: absolute;
  display: flex;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(3px);
  top: 0;
  color: #333;
  font-size: 24px;
  border-radius: 6px;
}

.zehelpdesk-conversation-message-text {
  padding: 4px;
}

.zehelpdesk-conversation-message-text-link {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 100%;
  text-align: center;
  color: white;
  font-size: 11px;
  line-height: 16px;
  vertical-align: middle;
  cursor: pointer;
  margin: 0 2px;
  text-decoration: unset;
}

.zehelpdesk-conversation-message-text-link:hover {
  background: #4888ee96;
}

.zehelpdesk-conversation-message-footer {
  position: relative;
  max-width: 0;
  max-height: 0;
  user-select: none;
  padding-inline: 10px;
  overflow: hidden;
  transition: max-width 0.2s ease, max-height 0.2s ease, opacity 0.2s ease;
  color: gray;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
}

.zehelpdesk-conversation-message-wrap.active .zehelpdesk-conversation-message-footer,
.zehelpdesk-conversation-message-wrap.fixed-active .zehelpdesk-conversation-message-footer{
  max-width: 150px;
  max-height: 17px;
  opacity: 1;
}

.zehelpdesk-conversation-message-footer-container {
  display: flex;
  gap: 3px;
  padding-top: 3px;
}

.zehelpdesk-conversation-message-time {
  text-align: start;
}

/* messages */


/* ticket */



/* ticket */


/* file preview */

.zehelpdesk-conversation-file-preview {
  position: relative;
  display: flex;
  width: 70px;
  height: 55px;
  background: rgba(255, 255, 255, 0.5);
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 6px; 
  color: #333;
  text-decoration: unset;
}

.zehelpdesk-conversation-file-preview-remove {
  position: absolute;
  display: flex;
  width: 16px;
  height: 16px;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  font-weight: 500;
  font-size: 10px;
  top: -3px;
  inset-inline-end: -3px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  padding-inline: 4px;
}

.zehelpdesk-conversation-file-preview > i {
  font-size: 20px;
}

.zehelpdesk-conversation-file-preview > .fa-spinner {
  font-size: 15px;
}

.zehelpdesk-conversation-file-preview-name {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 11px;
  display: inline-flex;
  max-width: 150px;
  align-items: center;
}

.zehelpdesk-conversation-file-preview-name > .base {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: -4px;
}

.zehelpdesk-conversation-file-preview-name > .ext {
  flex-shrink: 0;
}

/* file preview */


/* message form */

.zehelpdesk-conversation-message-form .zehelpdesk-conversation-message {
  width: 100%;
}

.zehelpdesk-conversation-message-form .zehelpdesk-conversation-message-body {
  max-width: 400px;
  background: unset;
  border: 1px solid #ededed;
  padding: 0;
}

.zehelpdesk-conversation-message-form .zehelpdesk-form {
  border-radius: unset;
}

/* message form */


/* options menu */

.zehelpdesk-menu {
  position: absolute;
  max-width: calc(100vw - 20px);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 8px 0px;
  /*max-height: 0;*/
  overflow: hidden;
  text-align: start;
  opacity: 0;
  width: 180px;
  z-index: 1;
  display: none;
  border-radius: 8px;
  overflow: clip;
}

#BtnDeleteChat .zehelpdesk-menu {
  inset-inline-end: 0;
}

.show-options-menu {
  /* max-height: 1000px; */
  /* transition: max-height 0.5s ease-in-out; */
  animation-name: css-57, css-69;
  animation-duration: 0.367s;
  animation-timing-function: cubic-bezier(0.1, 0.9, 0.2, 1);
  animation-fill-mode: both;
  display: block;
  z-index: 999;
}

@keyframes css-57 {
  0% {
    opacity: 0;
    display: none;
  }
  100% {
    opacity: 1;
    background: white;
    display: block;
  }
}

@keyframes css-69 {
  0% {
    transform: translate3d(0px, -10px, 0px);
    pointer-events: none;
  }
  100% {
    transform: translate3d(0px, 0px, 0px);
    pointer-events: auto;
  }
}


.zehelpdesk-menuUl {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
  line-height: 0px;
}

.zehelpdesk-menuLi {
  white-space: nowrap;
  padding: 0px 12px;
}

.zehelpdesk-menuLi:hover {
  background-color: #F5F5F5;
}

.zehelpdesk-menuButton {
  text-align: start;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  display: block;
  line-height: 32px;
  width: 100%;
  font-size: 14px;
  color: #4B4A49;
  cursor: pointer;
}

/* options menu */


/* menu tabs */

.zehelpdesk-menu-tabs-wrap {
  display: flex;
  flex-direction: column;
}

.zehelpdesk-menu-tabs {
  display: flex;
  border-bottom: 1px solid #ddd;
  background: #f9f9f9;
}

.zehelpdesk-menu-tab {
  flex: 1;
  padding-top: 10px;
  padding-bottom: 8px;
  text-align: center;
  cursor: pointer;
  font-size: 16px;
  color: #666;
  user-select: none;
}

.zehelpdesk-menu-tab.active {
  border-bottom: 2px solid #0b93f6;
  color: #0b93f6;
  font-weight: bold;
}

.zehelpdesk-menu-tab-content {
  display: none;
  flex-wrap: wrap;
}

.zehelpdesk-menu-tab-content.active {
  display: flex;
}

/* menu tabs */


/* emoji keyboard */

#emojiKeyboard {
  height: 300px;
}

#emojiKeyboard .tab {
  font-size: 18px;
}

/* Scrollable emoji container */
.emoji-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(32px, 1fr));
  gap: 6px;
  padding: 6px 10px;
  background: #fff;
  overflow-y: auto;
}


/* emoji button */
.emoji-button {
  font-size: 22px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 6px;
  border: none;
  background: transparent;
  transition: background-color 0.2s;
  padding: 0;
}

.emoji-button:hover {
  background-color: #e2f0ff;
}
  
/* emoji keyboard */


/* typing anim */

.zehelpdesk-typing-anim {
  display: flex;
  height: 16px;
  gap: 3px;
  justify-content: center;
  align-items: center;
}

.zehelpdesk-typing-anim div {
  width: 4px;
  height: 4px;
  animation: mercuryTypingAnimation 1.25s infinite ease-in-out;
  background-color: rgba(128, 128, 128, 1);
  border-radius: 50%;
}

.zehelpdesk-typing-anim div:nth-child(1) {
  animation-delay: 200ms;
}

.zehelpdesk-typing-anim div:nth-child(2) {
  animation-delay: 300ms;
}

.zehelpdesk-typing-anim div:nth-child(3) {
  animation-delay: 400ms;
}

@keyframes mercuryTypingAnimation {
  0% {
    transform: translateY(0px);
    background-color: rgba(128, 128, 128, 1);
  }
  28% {
    transform: translateY(-4px);
    background-color: rgba(128, 128, 128, 0.75);
  }
  44% {
    transform: translateY(0px);
    background-color: rgba(128, 128, 128, 0.5);
  }
}

/* typing anim */



/* details */

.zehelpdesk-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zehelpdesk-details-item {
  display: flex;
  font-size: 14px;
  padding: 8px;
  word-break: break-word;
  flex-direction: column;
  gap: 5px;
}

.zehelpdesk-details-item > .name {
  font-weight: 700;
  font-size: 16px;
}

.zehelpdesk-details-item > .value {
  font-weight: 400;
  font-size: 14px;
}

/* details */


/* ticket */

.zehelpdesk-ticket-wrap {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.zehelpdesk-ticket-header {
  display: flex;
  padding: 15px;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.zehelpdesk-ticket-header > .zehelpdesk-contact-image {
  width: 70px;
  height: 70px;
}

.zehelpdesk-ticket-wrap .zehelpdesk-details {
  padding: 15px;
}

.zehelpdesk-ticket-conv-button {
  display: flex;
  margin-top: auto;
  padding: 15px;
  padding-bottom: 40px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.zehelpdesk-ticket-conv-button > .text {
  color: gray;
  font-size: 14px;
}

.zehelpdesk-ticket-conv-button > .zehelpdesk-button {
  min-width: 220px;
}

/* ticket */










