:root {
  --p2w-accent: #4f46e5;
  --p2w-accent-2: #7c3aed;
}

body {
  background: #f4f5fb;
  min-height: 100vh;
}

.container {
  max-width: 920px;
}

/* Marca */
.brand-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  background: linear-gradient(135deg, var(--p2w-accent), var(--p2w-accent-2));
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

.brand-badge-muted {
  background: linear-gradient(135deg, #64748b, #475569);
  box-shadow: none;
}

.card {
  border-radius: 16px;
}

/* Dropzone */
.dropzone {
  border: 2px dashed #cbd2e1;
  border-radius: 14px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: #fbfbfe;
  transition: border-color 0.15s ease, background 0.15s ease;
  cursor: pointer;
  outline: none;
}

.dropzone:hover,
.dropzone:focus-visible {
  border-color: var(--p2w-accent);
  background: #f5f4ff;
}

.dropzone.dragover {
  border-color: var(--p2w-accent);
  background: #eef0ff;
  transform: translateY(-1px);
}

.dropzone-icon {
  font-size: 2.75rem;
  color: var(--p2w-accent);
  display: block;
  margin-bottom: 0.5rem;
}

.dropzone-title {
  font-size: 1.05rem;
  font-weight: 600;
}

/* Cartão do arquivo selecionado */
.file-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #e6e8f0;
  border-radius: 12px;
  background: #fff;
}

.file-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #d6336c;
  background: #ffe8ef;
  flex-shrink: 0;
}

.min-w-0 {
  min-width: 0;
}

/* Console de logs */
.log-console {
  background: #0f172a;
  color: #4ade80;
  font-family: "SFMono-Regular", ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.5;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  max-height: 240px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
}

.log-console .log-error {
  color: #f87171;
}

/* Tabela de histórico */
#historyBody td {
  vertical-align: middle;
}

.status-pill {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}
