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

.prompt-card {
  transition: all 0.2s ease;
}
.prompt-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
.category-chip {
  transition: all 0.2s ease;
}
.category-chip:hover {
  transform: scale(1.05);
}
.category-chip.active {
  background-color: oklch(0.7 0.22 45);
  color: white;
}
.slide-over {
  transition: all 0.3s ease;
  transform: translateX(100%);
}
.slide-over.open {
  transform: translateX(0);
}
.file-upload-input::-webkit-file-upload-button {
  visibility: hidden;
}
.file-upload-input::before {
  content: "Choose file";
  display: inline-block;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  padding: 0.375rem 0.75rem;
  outline: none;
  white-space: nowrap;
  cursor: pointer;
  color: #374151;
  font-weight: 500;
  font-size: 0.875rem;
}
.file-upload-input:hover::before {
  border-color: #9ca3af;
}
.file-upload-input:active::before {
  background: #f3f4f6;
}
[x-cloak] {
  display: none !important;
}

/* Sidebar styles */
.sidebar {
  transition: all 0.3s ease;
  transform: translateX(-100%);
}
.sidebar.open {
  transform: translateX(0);
}
.sidebar-overlay {
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}
.sidebar-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 1024px) {
  .sidebar {
    transform: translateX(0);
  }
  .sidebar-overlay {
    display: none;
  }
}

/* Unified rich text content styles */
.rich-text-content ol {
  @apply list-decimal pl-8 space-y-4; /* Ordered list styling */
}

.rich-text-content ol > li {
  @apply font-semibold; /* Bold main list items */
}

/* Nested paragraphs (for your first structure) */
.rich-text-content ol > li > p,
.rich-text-content ol > li > b + p {
  @apply font-normal pl-4; /* Normal weight with slight indent */
}

/* Nested unordered lists (for your second structure) */
.rich-text-content ol > li > ul {
  @apply list-disc pl-8 mt-2 space-y-2 font-normal; /* Bullet points indented */
}