/**
 * Tiptap Editor Styles
 * Minimal styling for comment editor with bold and bullet points
 */

/* Editor container */
.tiptap-editor-wrapper {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.2s ease-in-out;
}

.tiptap-editor-wrapper:focus-within {
  border-color: #a5b4fc;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
}

.tiptap-editor-wrapper--highlight {
  border-color: #fcd34d; /* yellow-300 */
}

.tiptap-editor-wrapper--highlight:focus-within {
  border-color: #eab308; /* yellow-500 */
  box-shadow: 0 0 0 2px rgba(234, 179, 8, 0.2);
}

/* Editor content area */
.tiptap-content {
  outline: none;
  color: #1f2937; /* gray-800 */
  line-height: 1.6;
}

.tiptap-content p {
  margin: 0;
  padding: 0;
}

.tiptap-content p:not(:last-child) {
  margin-bottom: 0.5rem;
}

/* Text formatting */
.tiptap-content strong {
  font-weight: 600;
  color: #92400e; /* amber-800 */
}

.tiptap-content em {
  font-style: italic;
}

.tiptap-content u {
  text-decoration: underline;
}

/* Lists */
.tiptap-content ul,
.tiptap-content ol {
  padding-left: 1.5rem !important;
  margin: 0.5rem 0 !important;
  list-style-position: inside;
}

.tiptap-content li {
  margin: 0.25rem 0;
  display: list-item !important;
}

.tiptap-content ul {
  list-style-type: disc !important;
}

.tiptap-content ol {
  list-style-type: decimal !important;
}

/* Ensure nested lists work */
.tiptap-content li p {
  display: inline;
}

/* Placeholder */
.tiptap-content p.is-editor-empty:first-child::before {
  content: attr(data-placeholder);
  float: left;
  color: #9ca3af; /* gray-400 */
  pointer-events: none;
  height: 0;
}

/* Toolbar */
.tiptap-toolbar {
  display: flex;
  gap: 0.25rem;
  padding: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
  border-radius: 0.5rem 0.5rem 0 0;
}

.tiptap-editor-wrapper--highlight .tiptap-toolbar {
  border-bottom-color: #fcd34d;
  background: #fef3c7; /* yellow-100 */
}

.tiptap-toolbar-btn {
  padding: 0.375rem 0.75rem;
  border: 1px solid #fcd34d;
  border-radius: 0.375rem;
  background: white;
  color: #92400e;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.tiptap-toolbar-btn:hover {
  background: #fef9e7;
  border-color: #eab308;
}

.tiptap-toolbar-btn.is-active {
  background: #fcd34d;
  border-color: #eab308;
  color: #78350f;
}

.tiptap-toolbar-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Display mode (when showing saved comments) */
.tiptap-display {
  line-height: 1.6;
}

.tiptap-display p {
  margin: 0;
}

.tiptap-display p:not(:last-child) {
  margin-bottom: 0.5rem;
}

.tiptap-display strong {
  font-weight: 600;
}

.tiptap-display em {
  font-style: italic;
}

.tiptap-display u {
  text-decoration: underline;
}

.tiptap-display ul,
.tiptap-display ol {
  padding-left: 1.5rem !important;
  margin: 0.5rem 0 !important;
  list-style-position: inside;
}

.tiptap-display li {
  margin: 0.25rem 0;
  display: list-item !important;
}

.tiptap-display ul {
  list-style-type: disc !important;
}

.tiptap-display ol {
  list-style-type: decimal !important;
}

.tiptap-display li p {
  display: inline;
}

.mention-chip {
  display: inline;
  font-weight: 600;
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 0.25rem;
  padding: 0.05rem 0.25rem;
}

.tiptap-content .mention-chip {
  cursor: default;
}

.mention-suggestions {
  min-width: 220px;
  max-width: 320px;
  max-height: 240px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.25rem;
}

.tippy-box[data-theme~='mention'] {
  background: transparent;
  color: inherit;
  box-shadow: none;
}

.tippy-box[data-theme~='mention'] > .tippy-content {
  padding: 0;
}

.mention-suggestion {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  text-align: left;
  padding: 0.4rem 0.5rem;
  border: 0;
  background: transparent;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: #111827;
}

.mention-suggestion.is-selected,
.mention-suggestion:hover {
  background: #eef2ff;
}

.mention-suggestion-avatar {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  object-fit: cover;
  background: #e0e7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 600;
  color: #4338ca;
  flex-shrink: 0;
}

.mention-suggestion-empty {
  padding: 0.5rem;
  font-size: 0.8rem;
  color: #6b7280;
}




.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:currentcolor;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:currentcolor;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:currentcolor;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:currentcolor;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(0.54, 1.5, 0.38, 1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}

/*# sourceMappingURL=project.b54804a420904232ed9b.css.map*/