
  .swiper-pagination {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
  }

  .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #999;
    opacity: 0.5;
    border-radius: 9999px;
    margin: 0 4px;
    display: inline-block;
    transition: all 0.3s;
  }

  .swiper-pagination-bullet-active {
    background: #3b82f6; /* Tailwind blue-500 */
    opacity: 1;
  }
  
.message {
  position: relative;
}

.message-actions {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.message-actions.show {
  opacity: 1;
  pointer-events: auto;
}

.message-actions button {
  background-color: #2c2f45;
  border: none;
  color: white;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease, transform 0.2s ease;
}

.message-actions button:hover {
  background-color: #3b3e5e;
  transform: scale(1.05);
}

.message-actions .delete-btn {
  background-color: #e74c3c;
}

.message-actions .delete-btn:hover {
  background-color: #c0392b;
}

.message-actions .reply-btn {
  background-color: #3498db;
}

.message-actions .reply-btn:hover {
  background-color: #2980b9;
}

/* Add this to your CSS or Tailwind custom config */

.inbox {
  transition: transform 0.3s ease-in-out;
}

.inbox.slide-left {
  transform: translateX(-100%);
}

#chatPanel, #ccomposePanel {
  transform: translateX(100%);
}

#chatPanel.translate-x-0, #composePanel.translate-x-0 {
  transform: translateX(0);
}

#chatPanel.translate-x-full, #composePanel.translate-x-full {
  transform: translateX(-100%);
}

input {
  font-size: 16px;
  transform: scale(0.9); /* optional visual tweak */
}

#composeIcon {
  position: absolute;
  top: 0.25rem;
  right: 0.35rem;
  font-size: 0.75rem;
  background-color: #3b82f6;
  color: white;
  padding: 0.5rem 0.75rem; /* vertical x horizontal */
  border-radius: 0.6rem; /* more rectangular */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

#recipientResults {
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}


/* Keep the indicator centered */
#newMessageIndicator {
  position: absolute;
  bottom: 4.2rem;
  left: 50%;
  transform: translateX(-50%); /* Ensures it's centered */
  background-color: #f59542; /* Tailwind blue-500 */
  color: white;
  font-size: 0.875rem; /* Small text */
  padding: 0.5rem 1rem;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Add a bounce animation when the indicator is shown */
#newMessageIndicator.new {
  animation: bounce 1s ease-out infinite; /* Infinite bounce effect */
}

@keyframes bounce {
  0% {
    transform: translate3d(-50%, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-50%, -5px, 0) scale(1.06);
  }
  100% {
    transform: translate3d(-50%, 0, 0) scale(1);
  }
}
