/**
 * renderer.css
 * Stile della pagina di test "frontend" (render.html): la barra in alto per
 * incollare il JSON e il contenitore che ospita l'output pulito di PageRenderer.
 */

html, body { height: 100%; }
body { background: var(--eb-bg); }

.eb-front-app { min-height: 100%; display: flex; flex-direction: column; }

.eb-front-bar {
  flex: 0 0 auto;
  background: var(--eb-surface);
  border-bottom: 1px solid var(--eb-border);
  padding: 14px 24px;
}

.eb-front-bar-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}

.eb-front-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  padding-top: 8px;
  white-space: nowrap;
}
.eb-front-brand .eb-brand-mark { width: 26px; height: 26px; font-size: 13px; }

.eb-front-json {
  flex: 1;
  min-width: 0;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 12px;
  line-height: 1.5;
  color: #2d2f3a;
  background: #f8f8fc;
  border: 1px solid var(--eb-border);
  border-radius: var(--eb-radius-sm);
  padding: 10px 12px;
  height: 70px;
  resize: vertical;
}
.eb-front-json:focus { outline: none; border-color: var(--eb-accent); }

.eb-front-bar-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 150px;
  padding-top: 1px;
}
.eb-front-bar-actions .eb-btn { justify-content: center; width: 100%; }

.eb-front-status {
  max-width: 1100px;
  margin: 8px auto 0;
  font-size: 12px;
  color: var(--eb-text-faint);
  min-height: 16px;
}
.eb-front-status.is-error { color: #e0245e; font-weight: 600; }
.eb-front-status.is-ok { color: #17a673; font-weight: 600; }

.eb-front-stage {
  flex: 1 1 auto;
  padding: 40px 24px 80px;
}

.eb-frontend {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--eb-radius-lg);
  box-shadow: var(--eb-shadow);
  overflow: hidden;
  min-height: 300px;
}

.eb-frontend-empty {
  padding: 100px 20px;
  text-align: center;
  color: var(--eb-text-faint);
  font-size: 14px;
}
