/**
 * Estilos del Panel de Administración
 */

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background, #f8fafc);
  color: #1e293b;
}

h1, h2, h3, h4, .font-serif {
  font-family: 'Bodoni Moda', Georgia, serif;
}

svg.lucide {
  display: inline-block;
  vertical-align: middle;
  stroke-width: 1.85px;
  min-width: 14px;
  min-height: 14px;
}

/* Fallback crítico para tabs y elementos ocultos */
.hidden {
  display: none !important;
}

.tab-content.hidden {
  display: none !important;
}

.shadow-xs {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.tab-btn.active-tab {
  background: var(--primary) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(8, 12, 18, 0.25);
}

.tab-btn.active-tab svg {
  color: #ffffff !important;
}

/* Scrollbars limpias */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Editor Enriquecido Estilos */
.wysiwyg-content {
  min-height: 240px;
  outline: none;
}

.wysiwyg-content:focus {
  background-color: #ffffff;
}

.wysiwyg-content img {
  cursor: pointer;
  border-radius: 12px;
  transition: outline 0.15s ease;
  display: inline-block;
  max-width: 100%;
}

.wysiwyg-content img:hover, .wysiwyg-content img.img-selected {
  outline: 3px solid var(--primary);
}
