/* ============================================================
   226ERS — Base de estilos común para herramientas del panel.
   Mismas variables que usan Importador-de-pedidos, Pricat, etc.
   Cambia --brand si esta herramienta necesita otro color de acento.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --bg-app: #f4f6f9;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;

  --brand: #2563eb;
  --brand-hover: #1d4ed8;
  --brand-light: #eff6ff;
  --brand-border: #bfdbfe;

  --border-color: #e2e8f0;
  --border-focus: #cbd5e1;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 24px -4px rgba(0, 0, 0, 0.06), 0 4px 12px -2px rgba(0, 0, 0, 0.03);

  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;

  --header-h: 100px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-app);
  color: var(--text-main);
  min-height: 100vh;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 200;
}

.header h1 {
  font-size: 1.4rem;
  font-weight: 700;
}

.logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.header-divider {
  width: 1px;
  height: 28px;
  background: var(--border-color);
  flex-shrink: 0;
}

.back-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--bg-app);
  color: var(--text-muted);
  transition: all 0.2s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.back-link:hover {
  background: var(--border-color);
  color: var(--text-main);
}

.back-link svg {
  width: 20px;
  height: 20px;
}

.content {
  padding: 32px;
  color: var(--text-muted);
}

button {
  font-family: inherit;
}
