/* =========================================================
   BRAVE PAINEL — Base CSS
   Design tokens, shell, login, componentes, páginas de erro
   ========================================================= */

:root {
  /* Cores Brave (da marca) */
  --brave-black: #191919;
  --brave-black-pure: #000000;
  --brave-lime: #D6FB00;

  /* Cinzas neutros corporativos */
  --gray-50:  #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-400: #CED4DA;
  --gray-500: #ADB5BD;
  --gray-600: #6C757D;
  --gray-700: #495057;
  --gray-800: #343A40;
  --gray-900: #212529;

  /* Semânticos */
  --success: #16A34A;
  --success-bg: #DCFCE7;
  --warning: #F59E0B;
  --warning-bg: #FEF3C7;
  --danger: #DC2626;
  --danger-bg: #FEE2E2;
  --info: #2563EB;
  --info-bg: #DBEAFE;

  /* Aplicação semântica */
  --bg-app: var(--gray-100);
  --bg-card: #FFFFFF;
  --bg-sidebar: var(--brave-black);
  --bg-topbar: #FFFFFF;

  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-700);
  --text-muted: var(--gray-600);
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: #A8ADB3;

  --border: var(--gray-200);
  --border-strong: var(--gray-300);

  /* Tipografia */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  /* Espaçamento (base 4px) */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px; --sp-12: 48px;

  /* Raios */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  /* Sombras */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(0,0,0,0.04);

  /* Dimensões do shell */
  --sidebar-width: 248px;
  --topbar-height: 60px;
}

/* Reset + base */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html, body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg-app);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Fallback visual do logo quando não há arquivo na pasta assets/logos/ */
.brave-logo-fallback {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text-on-dark);
  line-height: 1;
}
.brave-logo-fallback .mark {
  width: 32px; height: 32px;
  background: var(--brave-lime);
  display: grid; place-items: center;
  color: var(--brave-black);
  font-weight: 800;
  font-size: 16px;
  border-radius: 3px;
}
.brave-logo-fallback .dot { color: var(--brave-lime); }
.brave-mark-fallback {
  width: 32px; height: 32px;
  background: var(--brave-lime);
  display: inline-grid; place-items: center;
  color: var(--brave-black);
  font-weight: 800;
  font-size: 16px;
  border-radius: 3px;
  line-height: 1;
}

/* =========================================================
   LOGIN
   ========================================================= */
body.login-body { min-height: 100vh; background: #fff; }

.login-page {
  display: grid;
  grid-template-columns: 420px 1fr;
  min-height: 100vh;
}

.login-brand {
  background: var(--brave-black);
  color: var(--text-on-dark);
  padding: var(--sp-10) var(--sp-8);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.login-brand::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(214,251,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.brand-logo-wrap {
  margin-bottom: auto;
  position: relative;
  z-index: 1;
}

.brand-copy { position: relative; z-index: 1; }
.brand-copy h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
}
.brand-copy p {
  font-size: 14px;
  color: var(--text-on-dark-muted);
  line-height: 1.6;
  max-width: 320px;
}

.brand-stats {
  margin-top: var(--sp-8);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.brand-stat-value {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.brand-stat-label {
  font-size: 11px;
  color: var(--text-on-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.login-form-wrap {
  display: grid;
  place-items: center;
  padding: var(--sp-8);
  background: #fff;
}
.login-form { width: 100%; max-width: 380px; }
.login-form h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.login-sub {
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
  font-size: 14px;
}

.alert {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 13px;
  margin-bottom: var(--sp-4);
  align-items: flex-start;
  line-height: 1.45;
}
.alert i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.alert-error { background: var(--danger-bg); color: var(--danger); border: 1px solid #FCA5A5; }

.field { margin-bottom: var(--sp-4); }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.field .input-wrap { position: relative; }
.field .input-wrap i {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 18px;
  pointer-events: none;
}
.field input[type="email"],
.field input[type="password"],
.field input[type="text"] {
  width: 100%;
  height: 42px;
  padding: 0 var(--sp-3) 0 40px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-primary);
  background: #fff;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus {
  outline: none;
  border-color: var(--brave-black);
  box-shadow: 0 0 0 3px rgba(25,25,25,0.08);
}

.field-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-6);
  font-size: 13px;
}
.remember { display: flex; align-items: center; gap: 6px; color: var(--text-secondary); cursor: pointer; }
.remember input { accent-color: var(--brave-black); cursor: pointer; }

.btn-primary {
  width: 100%;
  height: 44px;
  background: var(--brave-black);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background .15s;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0 var(--sp-4);
}
.btn-primary:hover { background: #2b2b2b; }
.btn-primary i { font-size: 16px; }

.login-foot {
  margin-top: var(--sp-8);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* =========================================================
   SHELL — SIDEBAR + TOPBAR
   ========================================================= */
.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  min-height: 100vh;
}

.sidebar {
  background: var(--bg-sidebar);
  color: var(--text-on-dark);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar-head {
  padding: var(--sp-5) var(--sp-5) var(--sp-4);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-cd-switch {
  margin: var(--sp-4) var(--sp-4) 0;
  padding: 10px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background .15s;
}
.sidebar-cd-switch:hover { background: rgba(255,255,255,0.08); }
.sidebar-cd-switch .label {
  font-size: 10px;
  color: var(--text-on-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
}
.sidebar-cd-switch .value {
  font-size: 13px;
  font-weight: 600;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sidebar-cd-switch .value::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--brave-lime);
  border-radius: 50%;
}
.sidebar-cd-switch i { color: var(--text-on-dark-muted); font-size: 16px; }

.nav-section { padding: var(--sp-5) 0 0; }
.nav-section-title {
  padding: 0 var(--sp-5) var(--sp-2);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-on-dark-muted);
  font-weight: 600;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px var(--sp-5);
  color: var(--text-on-dark-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  position: relative;
  transition: color .15s, background .15s;
}
.nav-item i { font-size: 18px; flex-shrink: 0; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,0.04); }
.nav-item.active {
  color: #fff;
  background: rgba(214,251,0,0.06);
}
.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--brave-lime);
}
.nav-item.active i { color: var(--brave-lime); }
.nav-item-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.sidebar-foot {
  margin-top: auto;
  padding: var(--sp-4) var(--sp-5);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brave-lime);
  color: var(--brave-black);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
  text-transform: uppercase;
}
.avatar-sm { width: 28px; height: 28px; font-size: 11px; }
.sidebar-foot-info { flex: 1; min-width: 0; }
.sidebar-foot-info .name {
  font-size: 13px; font-weight: 600; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sidebar-foot-info .role { font-size: 11px; color: var(--text-on-dark-muted); }
.logout-btn {
  color: var(--text-on-dark-muted);
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: all .15s;
  display: grid; place-items: center;
}
.logout-btn:hover { color: var(--brave-lime); background: rgba(255,255,255,0.05); }
.logout-btn i { font-size: 18px; }

/* Topbar */
.topbar {
  height: var(--topbar-height);
  background: var(--bg-topbar);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 var(--sp-6);
  gap: var(--sp-4);
  position: sticky;
  top: 0;
  z-index: 10;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb .sep { color: var(--gray-400); }
.breadcrumb .current { color: var(--text-primary); font-weight: 600; }

.topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.icon-btn {
  width: 34px; height: 34px;
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  color: var(--text-secondary);
  position: relative;
  transition: background .15s, color .15s;
}
.icon-btn:hover { background: var(--gray-100); color: var(--text-primary); }
.icon-btn i { font-size: 18px; }
.topbar-sep { width: 1px; height: 20px; background: var(--border); margin: 0 6px; }

/* Flash messages */
.flash {
  margin: var(--sp-4) var(--sp-6) 0;
  padding: 10px var(--sp-4);
  border-radius: var(--radius-md);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.flash-success { background: var(--success-bg); color: var(--success); }
.flash-error { background: var(--danger-bg); color: var(--danger); }
.flash-info { background: var(--info-bg); color: var(--info); }
.flash-warning { background: var(--warning-bg); color: var(--warning); }

.page { padding: var(--sp-6); }

.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-5);
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.page-head h1 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}
.page-head .subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* =========================================================
   CARDS
   ========================================================= */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.card-head {
  padding: var(--sp-4) var(--sp-4) var(--sp-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-body { padding: var(--sp-4); }

/* Status pills */
.status-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.status-pill::before { content: ''; width: 5px; height: 5px; border-radius: 50%; }
.status-pill.ok { background: var(--success-bg); color: var(--success); }
.status-pill.ok::before { background: var(--success); }
.status-pill.warn { background: var(--warning-bg); color: var(--warning); }
.status-pill.warn::before { background: var(--warning); }
.status-pill.err { background: var(--danger-bg); color: var(--danger); }
.status-pill.err::before { background: var(--danger); }
.status-pill.muted { background: var(--gray-100); color: var(--text-muted); }
.status-pill.muted::before { background: var(--text-muted); }

/* =========================================================
   DASHBOARD PLACEHOLDER — welcome
   ========================================================= */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
.welcome-card {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  grid-column: span 2;
  border: 1px solid var(--brave-black);
  position: relative;
  overflow: hidden;
}
.welcome-card::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(214,251,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.welcome-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  position: relative;
}
.welcome-card p {
  color: var(--text-secondary);
  max-width: 620px;
  font-size: 14px;
  position: relative;
}
.welcome-badge {
  width: 44px; height: 44px;
  background: var(--brave-lime);
  color: var(--brave-black);
  display: grid; place-items: center;
  border-radius: var(--radius-md);
  position: relative;
}
.welcome-badge i { font-size: 24px; }

.status-list {
  display: flex;
  flex-direction: column;
}
.status-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.status-row:last-child { border-bottom: none; }
.status-row > i:first-child { font-size: 20px; flex-shrink: 0; }
.status-content { flex: 1; min-width: 0; }
.status-name { font-weight: 600; font-size: 13.5px; }
.status-meta { font-size: 11.5px; color: var(--text-muted); margin-top: 1px; }

/* Info list (dt/dd) */
.info-list {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px 12px;
  font-size: 13px;
}
.info-list dt { color: var(--text-muted); font-weight: 500; }
.info-list dd { color: var(--text-primary); font-weight: 600; word-break: break-all; }

.hint {
  margin-top: var(--sp-4);
  padding: 10px 12px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  font-size: 12.5px;
  color: var(--text-secondary);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.45;
}
.hint i { color: var(--success); flex-shrink: 0; margin-top: 1px; font-size: 16px; }

/* Roadmap */
.roadmap {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.roadmap li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-left: 0;
}
.roadmap .num {
  width: 24px; height: 24px;
  background: var(--gray-100);
  color: var(--text-muted);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.roadmap .step-title { font-weight: 600; font-size: 13px; }
.roadmap .step-meta { font-size: 11.5px; color: var(--text-muted); margin-top: 1px; }
.roadmap li.done .num { background: var(--brave-black); color: var(--brave-lime); }
.roadmap li.done .step-title { color: var(--text-primary); }

@media (max-width: 900px) {
  .welcome-grid { grid-template-columns: 1fr; }
  .welcome-card { grid-column: auto; }
}

/* =========================================================
   PÁGINAS DE ERRO
   ========================================================= */
.error-page {
  max-width: 420px;
  margin: 80px auto;
  text-align: center;
  padding: var(--sp-8);
}
.error-page-full {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
.error-icon {
  width: 72px; height: 72px;
  background: var(--gray-100);
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto var(--sp-5);
  color: var(--text-secondary);
}
.error-icon i { font-size: 36px; }
.error-page h1 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-2);
}
.error-page p {
  color: var(--text-secondary);
  margin-bottom: var(--sp-5);
  font-size: 14px;
}
.error-code {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
}
.error-code code {
  font-family: ui-monospace, monospace;
  background: var(--gray-100);
  padding: 2px 6px;
  border-radius: 3px;
}

/* =========================================================
   RESPONSIVO — desktop-first, fallback básico pra mobile
   ========================================================= */
@media (max-width: 720px) {
  .login-page { grid-template-columns: 1fr; }
  .login-brand { display: none; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { display: none; }
}

/* FATIA_1_1_1_DASHBOARD_SINGLE */
.welcome-grid.welcome-grid-single {
  grid-template-columns: 1fr;
  max-width: 720px;
}

/* =========================================================
   FATIA_1_2_CSS_USERS_PROFILES
   Estilos da gestão de usuários, perfis, permissões, logs
   ========================================================= */

/* ---------- Tabelas ---------- */
.data-table {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-collapse: collapse;
  font-size: 13px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
}
.data-table thead th {
  text-align: left;
  padding: 10px var(--sp-4);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--gray-50);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.data-table tbody td {
  padding: 12px var(--sp-4);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.data-table tbody tr { transition: background .1s; }
.data-table tbody tr:hover { background: var(--gray-50); }
.data-table tbody tr:last-child td { border-bottom: none; }

.cell-user {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.cell-user:hover .name { color: var(--brave-black); }
.cell-user .avatar { width: 32px; height: 32px; font-size: 12px; }
.cell-user .name { font-weight: 600; font-size: 13.5px; color: var(--text-primary); transition: color .15s; }
.cell-user .mail { font-size: 11.5px; color: var(--text-muted); margin-top: 1px; }

.cell-num { font-variant-numeric: tabular-nums; font-weight: 500; }
.cell-date { font-size: 12.5px; color: var(--text-secondary); font-variant-numeric: tabular-nums; }

.perfil-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.row-action {
  width: 28px; height: 28px;
  border-radius: var(--radius-sm);
  display: inline-grid; place-items: center;
  color: var(--text-muted);
  transition: all .15s;
}
.row-action:hover { background: var(--gray-200); color: var(--text-primary); }

/* ---------- Filter bar ---------- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  flex-wrap: wrap;
}
.filter-search {
  position: relative;
  flex: 1;
  max-width: 320px;
  min-width: 200px;
}
.filter-search i {
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 15px;
  pointer-events: none;
}
.filter-search input {
  width: 100%;
  height: 34px;
  padding: 0 10px 0 32px;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-family: inherit;
  color: var(--text-primary);
}
.filter-search input:focus {
  outline: none;
  border-color: var(--gray-500);
  background: #fff;
}

.filter-select {
  height: 34px;
  padding: 0 var(--sp-3);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-family: inherit;
  color: var(--text-secondary);
  cursor: pointer;
}
.filter-select:focus { outline: none; border-color: var(--gray-500); }

.filter-btn {
  height: 34px;
  padding: 0 var(--sp-3);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all .15s;
}
.filter-btn:hover { border-color: var(--gray-500); color: var(--text-primary); }
.filter-btn i { font-size: 14px; }

/* ---------- Paginação ---------- */
.table-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-4);
  background: #fff;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  font-size: 13px;
  color: var(--text-muted);
}
.pagination { display: flex; gap: 2px; }
.pagination a, .pagination .current {
  min-width: 28px; height: 28px;
  padding: 0 6px;
  display: inline-grid; place-items: center;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all .15s;
}
.pagination a:hover { background: var(--gray-100); }
.pagination a.active, .pagination .current { background: var(--brave-black); color: #fff; }

/* ---------- Empty state ---------- */
.empty-state {
  background: var(--bg-card);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: var(--sp-10) var(--sp-6);
  text-align: center;
}
.empty-state i {
  font-size: 40px;
  color: var(--gray-400);
  margin-bottom: var(--sp-3);
  display: block;
}
.empty-state h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.empty-state p { color: var(--text-muted); font-size: 13.5px; }

/* ---------- Form grid ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-4);
}
@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; }
}
.form { padding: 0; }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--sp-4);
}
@media (max-width: 700px) {
  .form-row-2 { grid-template-columns: 1fr; }
}

.field select {
  width: 100%;
  height: 42px;
  padding: 0 var(--sp-3) 0 40px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-primary);
  background: #fff;
  font-family: inherit;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%236C757D' d='M10 12l-4-4h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.field select:focus {
  outline: none;
  border-color: var(--brave-black);
  box-shadow: 0 0 0 3px rgba(25,25,25,0.08);
}

.field input[type="text"],
.field input[type="email"],
.field input[type="password"] {
  width: 100%;
  height: 42px;
  padding: 0 var(--sp-3) 0 40px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-primary);
  background: #fff;
  font-family: inherit;
}
.field input:focus {
  outline: none;
  border-color: var(--brave-black);
  box-shadow: 0 0 0 3px rgba(25,25,25,0.08);
}
.field input[readonly] {
  background: var(--gray-100);
  color: var(--text-muted);
  cursor: not-allowed;
}

.hint-inline {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.check-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--text-primary);
}
.check-inline input { accent-color: var(--brave-black); cursor: pointer; }

.form-actions {
  margin-top: var(--sp-4);
  display: flex;
  gap: var(--sp-2);
  justify-content: flex-end;
}
.form-actions-sticky {
  position: sticky;
  bottom: 0;
  background: var(--bg-app);
  padding: var(--sp-3) 0;
  margin-top: var(--sp-4);
  z-index: 5;
}

.btn {
  height: 38px;
  padding: 0 var(--sp-4);
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .15s;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn i { font-size: 16px; }
.btn-sm { height: 32px; padding: 0 var(--sp-3); font-size: 12.5px; }
.btn-dark { background: var(--brave-black); color: #fff; }
.btn-dark:hover { background: #2b2b2b; }
.btn-ghost { background: #fff; border: 1px solid var(--border-strong); color: var(--text-secondary); }
.btn-ghost:hover { background: var(--gray-50); color: var(--text-primary); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #b91c1c; }

/* ---------- Action blocks (acordeão dentro da tela de edit) ---------- */
.action-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-2);
  overflow: hidden;
}
.action-block summary {
  padding: var(--sp-3);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  transition: background .15s;
}
.action-block summary::-webkit-details-marker { display: none; }
.action-block summary:hover { background: var(--gray-50); }
.action-block summary > i:first-child {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--gray-100);
  display: grid; place-items: center;
  color: var(--text-secondary);
  font-size: 15px;
}
.action-block summary > div { flex: 1; }
.action-block summary > i:last-child {
  transition: transform .15s;
  color: var(--text-muted);
}
.action-block[open] summary > i:last-child { transform: rotate(180deg); }
.action-title { font-weight: 600; color: var(--text-primary); }
.action-meta  { font-size: 11.5px; color: var(--text-muted); margin-top: 1px; }

.action-form {
  padding: var(--sp-3) var(--sp-4) var(--sp-4);
  border-top: 1px solid var(--border);
  background: var(--gray-50);
}
.action-form .field { margin-bottom: var(--sp-3); }
.action-form input { height: 36px !important; font-size: 13px; }

.action-danger summary > i:first-child {
  background: var(--danger-bg);
  color: var(--danger);
}

/* ---------- Card danger (zona de perigo) ---------- */
.card-danger { border-color: var(--danger); }

/* ---------- Perm tree (perfis) ---------- */
.perm-module {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-2);
  overflow: hidden;
}
.perm-module-head {
  padding: 10px var(--sp-3);
  background: var(--gray-50);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}
.perm-module-head i { color: var(--text-muted); font-size: 16px; }
.perm-module-toggle { cursor: pointer; }
.perm-module-toggle:hover { background: var(--gray-100); }
.perm-module-toggle input { accent-color: var(--brave-black); cursor: pointer; }
.perm-module-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  background: #fff;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.perm-rows { display: flex; flex-direction: column; }
.perm-rows-tree .perm-check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px var(--sp-3) 8px 36px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .1s;
}
.perm-rows-tree .perm-check:last-child { border-bottom: none; }
.perm-rows-tree .perm-check:hover { background: var(--gray-50); }
.perm-check input { accent-color: var(--brave-black); cursor: pointer; }
.perm-check-info .perm-desc { font-size: 13px; font-weight: 500; color: var(--text-primary); }
.perm-check-info .perm-code {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--text-muted);
  background: transparent;
  padding: 0;
  margin-top: 1px;
  display: block;
}

/* ---------- Perm rows (breakdown no edit de usuário) ---------- */
.perm-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--sp-3);
  align-items: center;
  padding: 10px var(--sp-3);
  border-bottom: 1px solid var(--border);
}
.perm-row:last-child { border-bottom: none; }
.perm-info .perm-desc {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}
.perm-info .perm-desc.perm-off {
  color: var(--text-muted);
  text-decoration: line-through;
}
.perm-info .perm-code {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--text-muted);
  background: transparent;
  padding: 0;
  display: block;
  margin-top: 1px;
}

.perm-tags { display: flex; gap: 4px; }
.perm-tag {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.perm-tag i { font-size: 11px; }
.tag-inherited { background: var(--gray-100); color: var(--text-secondary); }
.tag-grant     { background: #DCFCE7; color: #166534; }
.tag-deny      { background: #FEE2E2; color: #991B1B; }

.perm-btn {
  width: 28px; height: 28px;
  border-radius: var(--radius-sm);
  display: inline-grid; place-items: center;
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all .15s;
}
.perm-btn:hover { border-color: var(--brave-black); color: var(--brave-black); }
.perm-btn i { font-size: 14px; }
.perm-btn-warn:hover { border-color: var(--danger); color: var(--danger); }

/* Dot legendas */
.card-head-hint {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.card-head-hint .dot-grant, .card-head-hint .dot-deny {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 2px;
  margin: 0 2px;
}
.card-head-hint .dot-grant { background: #16A34A; }
.card-head-hint .dot-deny  { background: #DC2626; }

/* ---------- Profiles cards ---------- */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-4);
}
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  text-decoration: none;
  color: inherit;
  transition: all .15s;
  box-shadow: var(--shadow-xs);
}
.profile-card:hover {
  border-color: var(--brave-black);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.profile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.profile-icon {
  width: 40px; height: 40px;
  background: var(--brave-black);
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  color: var(--brave-lime);
}
.profile-icon i { font-size: 20px; }
.badge {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-system {
  background: var(--brave-lime);
  color: var(--brave-black);
}
.profile-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.profile-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}
.profile-stats {
  margin-top: auto;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--border);
  display: flex;
  gap: var(--sp-4);
  font-size: 12px;
  color: var(--text-muted);
}
.profile-stat { display: flex; align-items: center; gap: 4px; }
.profile-stat i { font-size: 14px; }
.profile-stat strong { color: var(--text-primary); }

/* ---------- Password change (forced) ---------- */
.pwd-forcar-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--sp-4);
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
}
.pwd-forcar-card {
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.pwd-forcar-head {
  padding: var(--sp-5);
  background: var(--brave-black);
  text-align: center;
}
.pwd-icon {
  width: 56px; height: 56px;
  background: var(--warning-bg);
  color: var(--warning);
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto var(--sp-4);
}
.pwd-icon i { font-size: 28px; }
.pwd-forcar-card h2 {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.pwd-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
  font-size: 13.5px;
  line-height: 1.5;
}
.link-muted {
  color: var(--text-muted);
  font-size: 12.5px;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.link-muted:hover { color: var(--text-primary); }

/* ---------- Logs ---------- */
.log-acao {
  font-family: ui-monospace, monospace;
  font-size: 11.5px;
  padding: 2px 6px;
  background: var(--gray-100);
  border-radius: 3px;
  color: var(--text-primary);
  font-weight: 500;
}
.log-user { font-weight: 600; font-size: 13px; }
.log-user-mail { font-size: 11.5px; color: var(--text-muted); }
.log-details {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.log-kv strong { color: var(--text-muted); font-weight: 500; }

/* ---------- Count pill (no card-title) ---------- */
.card-title .count-pill {
  font-size: 11px;
  background: var(--gray-100);
  color: var(--text-secondary);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ---------- Alert ---------- */
.alert {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 13px;
  align-items: flex-start;
  line-height: 1.45;
}
.alert i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.alert-error { background: var(--danger-bg); color: var(--danger); border: 1px solid #FCA5A5; }

/* =========================================================
   FATIA_1_3_1_CSS_INTEGRACOES_BLING
   ========================================================= */

/* ---------- Grid de cards na listagem ---------- */
.bling-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--sp-4);
}

.bling-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  text-decoration: none;
  color: inherit;
  transition: all .15s;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.bling-card:hover {
  border-color: var(--brave-black);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.bling-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bling-icon {
  width: 44px; height: 44px;
  background: var(--brave-black);
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  color: var(--brave-lime);
}
.bling-icon i { font-size: 22px; }

.bling-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.status-dot.status-ok    { background: var(--success); box-shadow: 0 0 0 3px rgba(22,163,74,0.15); }
.status-dot.status-warn  { background: var(--warning); box-shadow: 0 0 0 3px rgba(202,138,4,0.15); }
.status-dot.status-err   { background: var(--danger);  box-shadow: 0 0 0 3px rgba(220,38,38,0.15); }
.status-dot.status-muted { background: var(--gray-400); }

.bling-card.status-ok    { border-color: rgba(22,163,74,0.3); }
.bling-card.status-warn  { border-color: rgba(202,138,4,0.3); }
.bling-card.status-err   { border-color: rgba(220,38,38,0.3); }
.bling-card.status-muted { /* mantém border padrão */ }

.bling-card-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.bling-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-top: -8px;
}

.bling-card-foot {
  margin-top: auto;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bling-foot-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
}
.bling-card-hint {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
  font-style: italic;
}

.bling-card-arrow {
  position: absolute;
  bottom: var(--sp-3);
  right: var(--sp-3);
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: all .15s;
}
.bling-card:hover .bling-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.t-muted { color: var(--text-muted); font-size: 12.5px; }
.t-err   { color: var(--danger); font-weight: 500; }

/* ---------- Bling show ---------- */
.bling-show-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-4);
}
@media (max-width: 900px) {
  .bling-show-grid { grid-template-columns: 1fr; }
}

.bling-state {
  display: flex;
  gap: 14px;
  padding: var(--sp-4);
  border-radius: var(--radius-md);
  align-items: flex-start;
}
.bling-state i {
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}
.bling-state strong {
  display: block;
  font-size: 14.5px;
  margin-bottom: 4px;
}
.bling-state p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}
.state-ok    { background: var(--success-bg); border: 1px solid rgba(22,163,74,0.2); }
.state-ok i, .state-ok strong  { color: var(--success); }
.state-warn  { background: var(--warning-bg); border: 1px solid rgba(202,138,4,0.2); }
.state-warn i, .state-warn strong { color: var(--warning); }
.state-muted { background: var(--gray-50); border: 1px solid var(--border); }
.state-muted i, .state-muted strong { color: var(--text-secondary); }

.bling-token-info {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.info-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: var(--sp-3);
  font-size: 13px;
}
.info-label  { color: var(--text-muted); }
.info-value  { color: var(--text-primary); }
.info-value code {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  background: var(--gray-50);
  padding: 1px 6px;
  border-radius: 3px;
  border: 1px solid var(--border);
}

/* ---------- Action blocks no card de ações ---------- */
.bling-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border);
  margin: 0;
}
.bling-action:first-child { padding-top: 0; }
.bling-action:last-of-type { border-bottom: none; }

.bling-action .action-title {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
}
.bling-action .action-title i { font-size: 17px; color: var(--text-secondary); }
.bling-action .action-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
  margin-left: 25px;
}
.bling-action button { flex-shrink: 0; }

.bling-action-danger { padding-top: var(--sp-3); margin-top: var(--sp-2); border-top: 1px solid var(--border); }
.bling-action-danger .action-title i { color: var(--danger); }

/* ---------- Empty mini ---------- */
.empty-mini {
  text-align: center;
  padding: var(--sp-5) var(--sp-4);
  color: var(--text-muted);
}
.empty-mini i { font-size: 32px; opacity: 0.5; }
.empty-mini p { font-size: 13px; margin-top: var(--sp-2); }

/* ---------- Callback URL info ---------- */
.callback-info {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px dashed var(--border-strong);
}
.callback-label {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.callback-value {
  display: flex;
  gap: 6px;
  align-items: center;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
}
.callback-value code {
  flex: 1;
  font-family: ui-monospace, monospace;
  font-size: 11.5px;
  color: var(--text-primary);
  word-break: break-all;
}
.copy-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 11px;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.copy-btn:hover { background: #fff; color: var(--text-primary); }
.copy-btn i { font-size: 13px; }

/* ---------- Callback result page (standalone) ---------- */
.callback-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--sp-4);
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
}
.callback-card {
  width: 100%;
  max-width: 480px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.callback-head {
  padding: var(--sp-5);
  background: var(--brave-black);
  text-align: center;
}
.callback-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto var(--sp-4);
}
.callback-icon i { font-size: 38px; }
.callback-icon-success { background: var(--success-bg); color: var(--success); }
.callback-icon-error   { background: var(--danger-bg);  color: var(--danger); }

.callback-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-2);
}
.callback-message {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: var(--sp-5);
}
.callback-cd-tag {
  display: inline-flex;
  margin: 0 auto var(--sp-5);
  padding: 6px 14px;
  background: var(--brave-lime);
  color: var(--brave-black);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  align-items: center;
  gap: 6px;
  align-self: center;
}
.callback-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
}
.callback-actions .btn-primary {
  width: 100%;
  justify-content: center;
}
