[v-cloak] {
  display: none;
}

.custom-border {
  border-bottom: 1px solid #e0e6ed;
}

::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #eef0f4;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #a1a3a7;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #a1a3a7;
}

.mainsidebar-class {
  display: none;
}

.mainsidebar-badge {
  display: block;
}

.side-chat .dele-icn {
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  pointer-events: none;
}

.side-chat:hover .dele-icn {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 1280px) {
  .mainsidebar-class {
    display: block;
    /* xl:block */
  }
}

@media (max-width: 650px) {
  .mainsidebar-badge {
    display: none;
    /* xl:block */
  }
}

.chat-bg-image {
  background-image: url("../images/bg.png");
  max-height: 100vh;
}

#emoji-picker-container {
  position: absolute;
  top: -435px;
  left: 50px;
}

.bg-light-mode {
  background-image: url("../images/bg.png");
}

.dark .bg-dark-mode {
  background-image: url("../images/bg_dark.png");
}

@media (max-width: 650px) {
  #emoji-picker-container {
    position: absolute;
    top: -435px;
    left: 2px;
  }

  .mobile-canned {
    position: absolute;
    width: 300px;
    left: 22px;
    overflow-x: hidden;
  }

  .chat-bg-image {
    max-height: 100vh;
  }

  .mobile-view {
    overflow-y: auto;
    height: 100vh;
  }
}
.leaflet-control-attribution {
  display: none !important;
}
.dark .leaflet-layer,
.dark .leaflet-control-zoom-in,
.dark .leaflet-control-zoom-out,
.dark .leaflet-control-attribution {
  filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%);
}
.map-modal {
  width: 100%;
  height: 300px;
}
.loader-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0.5rem 0;
}

.scroll-loader {
  text-align: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.scroll-loader.dark {
  background-color: #374151;
  color: #d1d5db;
}

.spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 0.5rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loader-text {
  color: #4b5563;
}

.no-more-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0.75rem 0;
  transition: opacity 0.3s ease;
}

.no-more-message {
  text-align: center;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background-color: #ffffff;
  color: #6b7280;
  font-size: 0.875rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.no-more-message.dark {
  background-color: #1f2937;
  color: #9ca3af;
}

.fade-out {
  opacity: 0;
}
.loader-wrapper,
.info-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0.5rem 0;
}

.scroll-loader {
  text-align: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  color: #4b5563;
}

.spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loader-text {
  font-size: 0.875rem;
}

.info-message {
  text-align: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: #f3f4f6;
  color: #6b7280;
  font-size: 0.875rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: opacity 0.3s ease;
}

.error-message {
  text-align: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: #fee2e2;
  color: #b91c1c;
  font-size: 0.875rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: opacity 0.3s ease;
}

.fade-in-container {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.fade-in-container.visible {
  opacity: 1;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.messageSearchInput {
  width: 300px;
}

@media (min-width: 640px) {
  .messageSearchInput {
    width: 422px;
  }
  .mainMessageSearchBox {
    right: 35% !important;
  }
}
.mainMessageSearchBox {
  position: absolute;
  right: 15%;
  z-index: 10;
  top: 70px;
}
