/*
 * ActionText Editor Styles
 * Provides styling for the rich text editor content area
 */

.trix-content {
  min-height: 200px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

.trix-content:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.trix-content h1,
.trix-content h2,
.trix-content h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  color: #ffffff;
  margin: 1em 0 0.5em;
}

.trix-content h1 { font-size: 2rem; }
.trix-content h2 { font-size: 1.5rem; }
.trix-content h3 { font-size: 1.25rem; }

.trix-content p {
  color: #e2e8f0;
  margin: 0.75em 0;
}

.trix-content a {
  color: #60a5fa;
  text-decoration: underline;
}

.trix-content a:hover {
  color: #3b82f6;
}

.trix-content ul,
.trix-content ol {
  color: #e2e8f0;
  margin: 0.75em 0;
  padding-left: 1.5em;
}

.trix-content ul { list-style-type: disc; }
.trix-content ol { list-style-type: decimal; }

.trix-content li {
  margin: 0.25em 0;
}

.trix-content blockquote {
  border-left: 3px solid #2563eb;
  padding-left: 1em;
  margin: 1em 0;
  color: #94a3b8;
  font-style: italic;
}

.trix-content pre,
.trix-content code {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  font-family: 'Roboto Mono', monospace;
}

.trix-content pre {
  padding: 1em;
  overflow-x: auto;
}

.trix-content code {
  padding: 0.2em 0.4em;
  font-size: 0.9em;
}

.trix-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1em 0;
}

.trix-content figure {
  margin: 1em 0;
}

.trix-content figcaption {
  text-align: center;
  color: #94a3b8;
  font-size: 0.875rem;
  margin-top: 0.5em;
}

/* Attachment styling */
.trix-attachment {
  margin: 1em 0;
}

.trix-attachment figure {
  margin: 0;
}

.trix-attachment-caption {
  font-size: 0.75rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 0.25em;
}
