@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;700&display=swap");

body {
  font-family: "Vazirmatn", sans-serif;
  scroll-behavior: smooth;
}

.card-skeleton {
  background-color: #e5e7eb;
  border-radius: 0.5rem;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.conversation-row {
  display: none;
}

.conversation-row.visible {
  display: table-row;
}

.chat-bubble {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 15px;
  margin-bottom: 10px;
}

.chat-user {
  background-color: #dbeafe;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-ai {
  background-color: #f3f4f6;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}
.menu-item.active {
  background-color: #eff6ff; /* blue-50 */
  color: #1e3a8a; /* blue-900 */
  font-weight: 700;
}
.menu-item.active svg {
  color: #2563eb; /* blue-600 */
}

/* Style for sortable table headers */
.sortable-header {
  cursor: pointer;
  user-select: none;
}
.sortable-header:hover {
  background-color: #f9fafb; /* gray-50 */
}
/* Modal Styles */
#conversation-modal.flex {
  display: flex;
}
#conversation-modal.flex #modal-content {
  transform: scale(1);
}
/* Style for the list of conversations */
.conversation-list-item {
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.conversation-list-item.active {
  background-color: #eff6ff; /* blue-50 */
  border-right-width: 4px;
  border-color: #3b82f6; /* blue-500 */
}
/* Style for the new conversation list cards */
.conversation-list-item {
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  border-right: 4px solid transparent;
}

.conversation-list-item.active {
  background-color: #eff6ff; /* blue-50 */
  border-color: #3b82f6; /* blue-500 */
}

/* New chat bubble styles based on the design */
.chat-bubble {
  padding: 12px 18px;
  border-radius: 20px;
  margin-bottom: 8px;
  max-width: 75%;
  line-height: 1.5;
}

.chat-user {
  background-color: #4f46e5; /* indigo-600 */
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 5px;
}

.chat-ai {
  background-color: #f3f4f6; /* gray-100 */
  color: #1f2937; /* gray-800 */
  align-self: flex-start;
  border-bottom-left-radius: 5px;
}
