/* Estilos de apoio (o resto vem do Tailwind via CDN). */

/* inputs da tela de config */
.cfg-inp {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  padding: 0.45rem 0.6rem;
  font-size: 0.875rem;
  outline: none;
}
.cfg-inp:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.3);
}

/* abas */
.tab-btn {
  color: #475569;
}
.tab-btn:hover {
  background: #f1f5f9;
}
.tab-btn.ativa {
  background: #eef2ff;
  color: #4338ca;
}

/* bolhas do chat */
.chat-bubble-ia,
.chat-bubble-user {
  max-width: 85%;
  padding: 0.6rem 0.9rem;
  border-radius: 0.9rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}
.chat-bubble-ia {
  background: #f1f5f9;
  color: #1e293b;
  border-bottom-left-radius: 0.2rem;
}
.chat-bubble-user {
  background: #4f46e5;
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 0.2rem;
}

/* cartões de criativos gerados */
.criativo-card {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  background: #fff;
}
.criativo-card h4 {
  font-weight: 600;
  color: #4338ca;
  margin-bottom: 0.3rem;
}
.criativo-card .rotulo {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
  margin-top: 0.5rem;
}

/* barra de progresso */
.progress-track {
  background: #e2e8f0;
  border-radius: 9999px;
  height: 0.55rem;
  overflow: hidden;
}
.progress-fill {
  background: #10b981;
  height: 100%;
  transition: width 0.4s ease;
}

/* pre/log */
.job-log {
  white-space: pre-wrap;
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  color: #64748b;
  max-height: 8rem;
  overflow-y: auto;
}
