/* =============================================
   PAYBOOM - Plataforma de Onboarding
   Sistema de diseño basado en colores oficiales
   ============================================= */

:root {
  /* Colores oficiales Payboom (extraídos del logo) */
  --pb-orange: #F58220;
  --pb-orange-dark: #D96E10;
  --pb-orange-light: #FFA85C;
  --pb-blue: #2BB5D9;
  --pb-blue-dark: #1B8FB0;
  --pb-blue-light: #6FD0E8;

  /* Neutros */
  --pb-bg: #F7F9FC;
  --pb-surface: #FFFFFF;
  --pb-border: #E3E8EF;
  --pb-text: #1A2332;
  --pb-text-muted: #5C6B7F;
  --pb-text-light: #8A99AD;

  /* Estados */
  --pb-success: #16A34A;
  --pb-success-bg: #DCFCE7;
  --pb-warning: #EAB308;
  --pb-warning-bg: #FEF9C3;
  --pb-error: #DC2626;
  --pb-error-bg: #FEE2E2;
  --pb-info: #2563EB;
  --pb-info-bg: #DBEAFE;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 4px 12px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, 0.12);

  /* Radios */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;

  /* Tipografía */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html, body {
  font-family: var(--font);
  color: var(--pb-text);
  background: var(--pb-bg);
  line-height: 1.5;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--pb-blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* =============================================
   LOGO
   ============================================= */
.pb-logo {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.5px;
}
.pb-logo .pb-logo-pay { color: var(--pb-orange); }
.pb-logo .pb-logo-boom { color: var(--pb-blue); }
.pb-logo-sm { font-size: 22px; }
.pb-logo-lg { font-size: 38px; }

/* =============================================
   BOTONES
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--pb-orange);
  color: #fff;
}
.btn-primary:hover { background: var(--pb-orange-dark); }
.btn-primary:disabled { background: var(--pb-text-light); cursor: not-allowed; }

.btn-secondary {
  background: var(--pb-blue);
  color: #fff;
}
.btn-secondary:hover { background: var(--pb-blue-dark); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--pb-border);
  color: var(--pb-text);
}
.btn-outline:hover { background: var(--pb-bg); border-color: var(--pb-blue); }

.btn-ghost {
  background: transparent;
  color: var(--pb-text-muted);
}
.btn-ghost:hover { background: var(--pb-bg); color: var(--pb-text); }

.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-block { width: 100%; }

/* =============================================
   LAYOUT - LOGIN
   ============================================= */
.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.login-hero {
  background: linear-gradient(135deg, var(--pb-blue) 0%, var(--pb-blue-dark) 100%);
  color: #fff;
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.login-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--pb-orange) 0%, transparent 60%);
  opacity: 0.25;
}
.login-hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--pb-orange-light) 0%, transparent 60%);
  opacity: 0.15;
}
.login-hero-content { position: relative; z-index: 1; }
.login-hero h1 {
  font-size: 42px;
  line-height: 1.15;
  font-weight: 700;
  margin: 32px 0 16px;
  letter-spacing: -1px;
}
.login-hero p { font-size: 17px; opacity: 0.92; max-width: 460px; }
.login-hero .pb-logo { background: #fff; padding: 8px 14px; border-radius: var(--r-md); }

.login-features {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 48px;
}
.login-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.login-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}
.login-feature h4 { font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.login-feature p { font-size: 14px; opacity: 0.85; max-width: none; }

.login-form-wrap {
  background: var(--pb-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px;
}
.login-form {
  width: 100%;
  max-width: 400px;
}
.login-form h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}
.login-form .subtitle {
  color: var(--pb-text-muted);
  margin-bottom: 32px;
}

.notice {
  background: var(--pb-info-bg);
  border-left: 3px solid var(--pb-info);
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-size: 13px;
  color: var(--pb-text);
  margin-bottom: 24px;
  line-height: 1.45;
}

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--pb-text);
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--pb-border);
  border-radius: var(--r-md);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-control:focus {
  outline: none;
  border-color: var(--pb-blue);
  box-shadow: 0 0 0 3px rgba(43, 181, 217, 0.15);
}
.form-help {
  font-size: 12px;
  color: var(--pb-text-muted);
  margin-top: 4px;
}

.login-footer {
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  color: var(--pb-text-muted);
}

@media (max-width: 900px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-hero { padding: 32px; min-height: 280px; }
  .login-hero h1 { font-size: 28px; }
  .login-form-wrap { padding: 32px; }
}

/* =============================================
   APP SHELL (Onboarding & Admin)
   ============================================= */
.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.app-header {
  background: #fff;
  border-bottom: 1px solid var(--pb-border);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
.app-header-left { display: flex; align-items: center; gap: 24px; }
.app-header-divider { width: 1px; height: 28px; background: var(--pb-border); }
.app-header-title { font-weight: 600; color: var(--pb-text); }
.app-header-right { display: flex; align-items: center; gap: 14px; }

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  background: var(--pb-bg);
  border-radius: 999px;
  font-size: 13px;
}
.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pb-orange) 0%, var(--pb-blue) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.user-chip-info { line-height: 1.2; }
.user-chip-info .nm { font-weight: 600; }
.user-chip-info .em { color: var(--pb-text-muted); font-size: 12px; }

/* =============================================
   ONBOARDING WIZARD
   ============================================= */
.onboarding-shell {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: calc(100vh - 65px);
}

.steps-sidebar {
  background: #fff;
  border-right: 1px solid var(--pb-border);
  padding: 28px 20px;
  overflow-y: auto;
  max-height: calc(100vh - 65px);
  position: sticky;
  top: 65px;
}

.progress-bar {
  background: var(--pb-bg);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
  margin-bottom: 8px;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--pb-orange) 0%, var(--pb-blue) 100%);
  border-radius: 999px;
  transition: width 0.4s ease;
}
.progress-label {
  font-size: 13px;
  color: var(--pb-text-muted);
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
}

.steps-list { display: flex; flex-direction: column; gap: 4px; }
.step-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 12px;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background 0.15s;
  border: 1.5px solid transparent;
}
.step-item:hover { background: var(--pb-bg); }
.step-item.active {
  background: var(--pb-bg);
  border-color: var(--pb-blue);
}

.step-indicator {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pb-bg);
  border: 2px solid var(--pb-border);
  color: var(--pb-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
  transition: all 0.2s;
}
.step-item.active .step-indicator {
  background: var(--pb-blue);
  border-color: var(--pb-blue);
  color: #fff;
}
.step-item.completed .step-indicator {
  background: var(--pb-success);
  border-color: var(--pb-success);
  color: #fff;
}
.step-item.error .step-indicator {
  background: var(--pb-error);
  border-color: var(--pb-error);
  color: #fff;
}

.step-info { flex: 1; min-width: 0; }
.step-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--pb-text);
  line-height: 1.3;
  margin-bottom: 4px;
  word-wrap: break-word;
}
.step-meta {
  font-size: 11px;
  color: var(--pb-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  row-gap: 3px;
}
.step-tag {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.step-tag.required { background: var(--pb-error-bg); color: var(--pb-error); }
.step-tag.optional { background: var(--pb-bg); color: var(--pb-text-muted); }

/* MAIN PANEL */
.wizard-main {
  padding: 40px 56px;
  max-width: 880px;
  width: 100%;
  margin: 0 auto;
}

.wizard-step { display: none; }
.wizard-step.active { display: block; }

.step-header {
  margin-bottom: 28px;
}
.step-header .crumb {
  font-size: 13px;
  color: var(--pb-text-muted);
  margin-bottom: 8px;
}
.step-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.step-header .desc {
  color: var(--pb-text-muted);
  font-size: 15px;
}

.step-card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--pb-border);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.step-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  row-gap: 8px;
}
.step-card-header h3 {
  font-size: 17px;
  font-weight: 600;
  flex: 1 1 auto;
  min-width: 200px;
}
.step-card-header .step-tag { flex-shrink: 0; }
.step-card-header .text-sm { flex-shrink: 0; }
.step-card .info-text {
  color: var(--pb-text-muted);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.55;
}

/* DROPZONE */
.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--pb-border);
  border-radius: var(--r-lg);
  padding: 40px 24px;
  text-align: center;
  background: var(--pb-bg);
  cursor: pointer;
  transition: all 0.2s;
  gap: 6px;
}
.dropzone:hover, .dropzone.drag-over {
  border-color: var(--pb-blue);
  background: rgba(43, 181, 217, 0.05);
}
.dropzone-icon {
  width: 56px;
  height: 56px;
  margin: 0 0 12px;
  background: #fff;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.dropzone-text {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.dropzone-text strong { color: var(--pb-blue-dark); }
.dropzone-hint {
  font-size: 13px;
  color: var(--pb-text-muted);
  line-height: 1.4;
  max-width: 460px;
}
.dropzone input[type="file"] { display: none; }

/* Uploaded file */
.file-uploaded {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--pb-border);
  border-radius: var(--r-md);
}
.file-icon {
  width: 44px;
  height: 44px;
  background: var(--pb-bg);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
}
.file-info {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.file-name {
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-size {
  font-size: 12px;
  color: var(--pb-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-actions { display: flex; gap: 6px; flex-shrink: 0; }
.icon-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pb-bg);
  color: var(--pb-text-muted);
  transition: all 0.15s;
  font-size: 16px;
}
.icon-btn:hover { background: var(--pb-border); color: var(--pb-text); }
.icon-btn.danger:hover { background: var(--pb-error-bg); color: var(--pb-error); }

/* AI Verification */
.ai-verify {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.ai-verify.checking {
  background: var(--pb-info-bg);
  color: var(--pb-info);
}
.ai-verify.success {
  background: var(--pb-success-bg);
  color: var(--pb-success);
}
.ai-verify.warning {
  background: var(--pb-warning-bg);
  color: #854D0E;
}
.ai-verify.error {
  background: var(--pb-error-bg);
  color: var(--pb-error);
}
.ai-verify-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
}
.ai-verify-content { flex: 1; min-width: 0; }
.ai-verify-content .ai-verify-desc { word-wrap: break-word; }
.ai-verify-title { font-weight: 700; margin-bottom: 2px; }
.ai-verify-desc { font-size: 13px; opacity: 0.92; }

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Comments textarea */
.comment-section { margin-top: 22px; }
.comment-section label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.comment-section textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--pb-border);
  border-radius: var(--r-md);
  resize: vertical;
  min-height: 84px;
  background: #fff;
}
.comment-section textarea:focus {
  outline: none;
  border-color: var(--pb-blue);
  box-shadow: 0 0 0 3px rgba(43, 181, 217, 0.15);
}

/* Wizard nav */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--pb-border);
}
.save-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--pb-success);
}
.save-indicator .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pb-success);
}

/* Final review */
.final-summary {
  background: #fff;
  border: 1px solid var(--pb-border);
  border-radius: var(--r-lg);
  padding: 28px;
}
.final-summary h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.summary-list {
  list-style: none;
  margin-top: 20px;
  border-top: 1px solid var(--pb-border);
}
.summary-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--pb-border);
  display: flex;
  align-items: center;
  gap: 14px;
}
.summary-item-status {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 13px;
}
.summary-item-status.ok { background: var(--pb-success-bg); color: var(--pb-success); }
.summary-item-status.miss { background: var(--pb-error-bg); color: var(--pb-error); }
.summary-item-status.opt { background: var(--pb-bg); color: var(--pb-text-muted); }
.summary-item-info { flex: 1; }
.summary-item-info .nm { font-weight: 600; }
.summary-item-info .meta { font-size: 12px; color: var(--pb-text-muted); }

/* Special: NDA / website / form fields */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row .form-group { margin-bottom: 0; }

/* =============================================
   ADMIN
   ============================================= */
.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 65px);
}
.admin-sidebar {
  background: #fff;
  border-right: 1px solid var(--pb-border);
  padding: 24px 14px;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--pb-text-muted);
  cursor: pointer;
  margin-bottom: 2px;
}
.admin-nav-item:hover { background: var(--pb-bg); color: var(--pb-text); }
.admin-nav-item.active { background: var(--pb-bg); color: var(--pb-blue-dark); font-weight: 600; }

.admin-main { padding: 32px 40px; }
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.admin-header h1 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.admin-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.search-input {
  position: relative;
  flex: 1;
  max-width: 360px;
}
.search-input input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1.5px solid var(--pb-border);
  border-radius: var(--r-md);
  background: #fff;
}
.search-input::before {
  content: "🔍";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
}

/* Stat cards */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--pb-border);
  border-radius: var(--r-lg);
  padding: 20px;
}
.stat-card .lbl {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--pb-text-muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.stat-card .val { font-size: 28px; font-weight: 700; }
.stat-card .delta { font-size: 12px; color: var(--pb-success); margin-top: 4px; }

/* Table */
.table-wrap {
  background: #fff;
  border: 1px solid var(--pb-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
thead {
  background: var(--pb-bg);
}
th, td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--pb-border);
}
th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 700;
  color: var(--pb-text-muted);
}
tbody tr:hover { background: var(--pb-bg); cursor: pointer; }
tbody tr:last-child td { border-bottom: none; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.badge-success { background: var(--pb-success-bg); color: var(--pb-success); }
.badge-warning { background: var(--pb-warning-bg); color: #854D0E; }
.badge-error { background: var(--pb-error-bg); color: var(--pb-error); }
.badge-info { background: var(--pb-info-bg); color: var(--pb-info); }
.badge-neutral { background: var(--pb-bg); color: var(--pb-text-muted); }

/* Drawer / Detail panel */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.45);
  z-index: 80;
  display: none;
}
.drawer-overlay.open { display: block; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(640px, 100%);
  height: 100vh;
  background: #fff;
  z-index: 90;
  box-shadow: -8px 0 32px rgba(16, 24, 40, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-header {
  padding: 22px 28px;
  border-bottom: 1px solid var(--pb-border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.drawer-header h2 { font-size: 20px; font-weight: 700; }
.drawer-header .sub { font-size: 13px; color: var(--pb-text-muted); margin-top: 2px; }
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
}
.drawer-footer {
  padding: 16px 28px;
  border-top: 1px solid var(--pb-border);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.doc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--pb-border);
  border-radius: var(--r-md);
  margin-bottom: 8px;
}
.doc-row .file-icon { width: 38px; height: 38px; font-size: 18px; }
.doc-row .nm { font-weight: 600; font-size: 14px; }
.doc-row .mt { font-size: 12px; color: var(--pb-text-muted); }

/* Empty state */
.empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--pb-text-muted);
}
.empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.4;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--pb-text);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.25s ease;
}
.toast.success { background: var(--pb-success); }
.toast.error { background: var(--pb-error); }
@keyframes toastIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Misc */
.row { display: flex; gap: 16px; align-items: center; }
.spacer { flex: 1; }
.muted { color: var(--pb-text-muted); }
.text-sm { font-size: 13px; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; }

@media (max-width: 980px) {
  .onboarding-shell { grid-template-columns: 1fr; }
  .steps-sidebar { position: static; max-height: none; }
  .wizard-main { padding: 24px; }
  .admin-shell { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
}
