/* محتوای HTML ادیتور پنل — هم‌تراز با mizekar-app rich-text-editor.css */

.editor-content {
  overflow-x: auto;
  max-width: 100%;
}

.editor-content p {
  margin: 0 0 0.75rem;
}

.editor-content h1,
.editor-content h2,
.editor-content h3,
.editor-content h4,
.editor-content h5,
.editor-content h6 {
  margin: 1rem 0 0.5rem;
  line-height: 1.35;
  font-weight: 700;
}

.editor-content h1 {
  font-size: 2em;
}

.editor-content h2 {
  font-size: 1.5em;
}

.editor-content h3 {
  font-size: 1.25em;
  font-weight: 600;
}

.editor-content h4 {
  font-size: 1.125em;
  font-weight: 600;
}

.editor-content h5 {
  font-size: 1em;
  font-weight: 600;
}

.editor-content h6 {
  font-size: 0.875em;
  font-weight: 600;
}

.editor-content ul,
.editor-content ol {
  margin: 0 0 0.75rem;
  padding-inline-start: 1.5rem;
}

.editor-content blockquote {
  margin: 0 0 0.75rem;
  padding: 0.5rem 1rem;
  border-inline-start: 3px solid #d0d7de;
  color: #57606a;
}

.editor-content pre {
  margin: 0 0 0.75rem;
  padding: 12px;
  border-radius: 6px;
  background: #f6f8fa;
  overflow-x: auto;
}

.editor-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1rem;
  table-layout: fixed;
}

.editor-content th,
.editor-content td {
  border: 1px solid #d0d7de;
  padding: 8px 10px;
  vertical-align: top;
  min-width: 80px;
}

.editor-content th {
  background: #f6f8fa;
  font-weight: 600;
}

.editor-content table p {
  margin: 0;
}

.editor-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.editor-content .rich-text-editor__iframe-wrapper {
  position: relative;
  width: 100%;
  margin: 0 0 1rem;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
}

.editor-content .rich-text-editor__iframe-wrapper iframe {
  display: block;
  width: 100%;
  min-height: 360px;
  border: 0;
}

.editor-content hr {
  border: none;
  border-top: 1px solid #d0d7de;
  margin: 1rem 0;
}

.editor-content code {
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: #f6f8fa;
  font-family: monospace;
  font-size: 0.9em;
}
