:root {
  /* Cores extraídas de DESIGN Inspiration (simplesagenda) */
  --gp-primary: #1570ef;
  --gp-primary-dark: #0b56c4;
  --gp-primary-light: #eaf2fe;
  --gp-ink: #0b1b33;
  --gp-ink2: #4c5b74;
  --gp-ink3: #8a97ab;
  --gp-linha: #e2e8f1;
  --gp-bg: #f8fafc;
  --gp-card-bg: #ffffff;
  --gp-navy: #061636;
  --gp-navy2: #0a2a66;

  /* Cores semânticas */
  --gp-verde: #16a34a;
  --gp-verde-bg: #dcfce7;
  --gp-verde-txt: #127a38;
  --gp-ambar: #f59e0b;
  --gp-ambar-bg: #fef3c7;
  --gp-ambar-txt: #78350f;
  --gp-vermelho: #e5484d;
  --gp-vermelho-bg: #fee2e2;
  --gp-vermelho-txt: #c42d33;
  --gp-teal: #0ea5a0;
  --gp-teal-bg: #ccfbf1;
  --gp-teal-txt: #0f766e;
  --gp-purple: #7c3aed;
  --gp-purple-bg: #ede9fe;
  --gp-purple-txt: #5b21b6;

  /* Bootstrap overrides */
  --bs-font-sans-serif: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-color: var(--gp-ink);
  --bs-body-bg: var(--gp-bg);
  --bs-primary: var(--gp-primary);
  --bs-primary-rgb: 21, 112, 239;
  --bs-link-color: var(--gp-primary);
  --bs-link-hover-color: var(--gp-primary-dark);
  --bs-border-color: var(--gp-linha);
  --bs-border-radius: 12px;
  --bs-border-radius-sm: 8px;
  --bs-border-radius-lg: 16px;
  --bs-border-radius-xl: 20px;
}

body {
  font-family: var(--bs-font-sans-serif);
  color: var(--gp-ink);
  background-color: var(--gp-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.app {
  background: var(--gp-bg);
  min-height: 100vh;
}

/* Botões Modernos */
.btn {
  font-weight: 600;
  border-radius: 10px;
  padding: 0.5rem 1rem;
  transition: all 0.2s cubic-bezier(.16,1,.3,1);
}
.btn-primary {
  --bs-btn-bg: var(--gp-primary);
  --bs-btn-border-color: var(--gp-primary);
  --bs-btn-hover-bg: var(--gp-primary-dark);
  --bs-btn-hover-border-color: var(--gp-primary-dark);
  box-shadow: 0 1px 2px rgba(16, 36, 80, 0.08);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(21, 112, 239, 0.25);
}
.btn-outline-primary {
  --bs-btn-color: var(--gp-primary);
  --bs-btn-border-color: var(--gp-primary);
  --bs-btn-hover-bg: var(--gp-primary);
  --bs-btn-hover-border-color: var(--gp-primary);
  --bs-btn-active-bg: var(--gp-primary-dark);
}
.btn-pill {
  border-radius: 999px;
  padding-left: 1.15rem;
  padding-right: 1.15rem;
}

/* Cards & Elevações */
.card {
  background-color: var(--gp-card-bg);
  border: 1px solid var(--gp-linha);
  border-radius: 16px;
  box-shadow: 0 1.5px 3px rgba(16,36,80,.04), 0 6px 18px -4px rgba(16,36,80,.04);
  transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s cubic-bezier(.16,1,.3,1);
}
.card-header {
  background: transparent;
  border-bottom: 1px solid var(--gp-linha);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gp-ink);
  padding: 1rem 1.25rem;
}
.card-body {
  padding: 1.25rem;
}

/* Stat Cards (KPIs) */
.stat-card {
  border-radius: 16px;
  border: 1px solid var(--gp-linha);
  background: #ffffff;
  position: relative;
  overflow: hidden;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), box-shadow .2s cubic-bezier(.16, 1, .3, 1);
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(16, 36, 80, 0.06), 0 16px 32px -8px rgba(16, 36, 80, 0.1);
  border-color: #cbd5e1;
}
.stat-card .stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gp-ink2);
  margin-bottom: 0.35rem;
}
.stat-card .stat-value {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--gp-ink);
}
.stat-card .stat-meta {
  font-size: 0.8rem;
  color: var(--gp-ink3);
  margin-top: 0.4rem;
}
.stat-card .stat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.stat-icon-wrap.primary { background: var(--gp-primary-light); color: var(--gp-primary); }
.stat-icon-wrap.success { background: var(--gp-verde-bg); color: var(--gp-verde); }
.stat-icon-wrap.warning { background: var(--gp-ambar-bg); color: var(--gp-ambar); }
.stat-icon-wrap.danger  { background: var(--gp-vermelho-bg); color: var(--gp-vermelho); }
.stat-icon-wrap.teal    { background: var(--gp-teal-bg); color: var(--gp-teal); }
.stat-icon-wrap.purple  { background: var(--gp-purple-bg); color: var(--gp-purple); }
.stat-icon-wrap.secondary { background: #f1f5f9; color: #64748b; border: 1px solid var(--gp-linha); }

/* Banner Hero no Dashboard */
.dashboard-hero {
  background: linear-gradient(135deg, #061636 0%, #0a2a66 60%, #1570ef 100%);
  border-radius: 20px;
  color: #ffffff;
  padding: 1.75rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(10, 42, 102, 0.3);
  margin-bottom: 1.5rem;
}
.dashboard-hero::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.dashboard-hero h1 {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}
.dashboard-hero .hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}
.dashboard-hero .btn-hero-action {
  background: #ffffff;
  color: var(--gp-navy);
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
  white-space: nowrap !important;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.dashboard-hero .btn-hero-action:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  color: var(--gp-primary-dark);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
.dashboard-hero .btn-hero-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
  white-space: nowrap !important;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.dashboard-hero .btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Barra de Busca Rápida no Hero */
.hero-search-wrap {
  position: relative;
  min-width: 250px;
  max-width: 360px;
  flex: 1 1 250px;
}
.hero-search-wrap .form-control.hero-search-input,
.hero-search-input {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px !important;
  padding: 0.65rem 1rem 0.65rem 2.85rem !important;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gp-ink);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
  width: 100%;
}
.hero-search-wrap .form-control.hero-search-input:focus,
.hero-search-input:focus {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.4);
  outline: none;
}
.hero-search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 1rem;
  pointer-events: none;
  z-index: 5;
}

/* Badges Modernas e Estilizadas */
.badge {
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}
.badge-soft-success {
  background: var(--gp-verde-bg) !important;
  color: var(--gp-verde-txt) !important;
  border: 1px solid rgba(22, 163, 74, 0.2);
}
.badge-soft-warning {
  background: var(--gp-ambar-bg) !important;
  color: var(--gp-ambar-txt) !important;
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.badge-soft-danger {
  background: var(--gp-vermelho-bg) !important;
  color: var(--gp-vermelho-txt) !important;
  border: 1px solid rgba(229, 72, 77, 0.2);
}
.badge-soft-primary {
  background: var(--gp-primary-light) !important;
  color: var(--gp-primary-dark) !important;
  border: 1px solid rgba(21, 112, 239, 0.2);
}
.badge-soft-secondary {
  background: #f1f5f9 !important;
  color: var(--gp-ink2) !important;
  border: 1px solid var(--gp-linha);
}

/* Tabelas Modernas */
.table {
  --bs-table-bg: transparent;
  color: var(--gp-ink);
}
.table > :not(caption) > * > * {
  vertical-align: middle;
  padding: 0.85rem 1rem;
  border-bottom-color: var(--gp-linha);
}
.table-hover tbody tr {
  transition: background-color 0.15s ease;
}
.table-hover tbody tr:hover {
  background-color: #f8fafc;
}
.table-hover tbody tr[data-href] {
  cursor: pointer;
}
.table thead th {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gp-ink2);
  background: #f8fafc;
  border-bottom: 1px solid var(--gp-linha);
}

/* Avatar com Iniciais */
.avatar-initials {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gp-primary-dark);
  background: var(--gp-primary-light);
  flex-shrink: 0;
}
.avatar-initials.pink   { background: #fce7f3; color: #be185d; }
.avatar-initials.green  { background: #dcfce7; color: #15803d; }
.avatar-initials.purple { background: #ede9fe; color: #6d28d9; }
.avatar-initials.amber  { background: #fef3c7; color: #b45309; }
.avatar-initials.teal   { background: #ccfbf1; color: #0f766e; }

/* Barra de Progresso Fina e Elegante */
.progress-thin {
  height: 6px;
  border-radius: 999px;
  background-color: #e2e8f1;
  overflow: hidden;
}
.progress-thin .progress-bar {
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(.16,1,.3,1);
}

/* Nav Tabs Modernas */
.nav-tabs-clean {
  border-bottom: 1px solid var(--gp-linha);
  gap: 0.5rem;
}
.nav-tabs-clean .nav-link {
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--gp-ink2);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
  background: transparent;
  transition: all 0.2s ease;
}
.nav-tabs-clean .nav-link:hover {
  color: var(--gp-primary);
}
.nav-tabs-clean .nav-link.active {
  color: var(--gp-primary);
  border-bottom-color: var(--gp-primary);
  background: transparent;
}

/* Legendas de Gráfico e Detalhes */
.chart-legend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed #f1f5f9;
}
.chart-legend-item:last-child {
  border-bottom: none;
}
.chart-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.5rem;
}

/* Títulos de Seção Legados */
.form-section-title {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gp-ink2);
  font-weight: 700;
  margin: 1.5rem 0 .75rem;
}
.form-section-title:first-child { margin-top: 0; }
dl.dados dt { font-weight: 600; color: var(--gp-ink2); font-size: .85rem; }
dl.dados dd { margin-bottom: .6rem; color: var(--gp-ink); }

/* Login */
body.guest {
  background: linear-gradient(135deg, #061636 0%, #0a2a66 60%, #1570ef 100%);
  min-height: 100vh;
}
.login-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.login-card {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.1);
}
.trial-card {
  width: 100%;
  max-width: 760px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.12);
  background-color: var(--gp-card-bg);
}
.trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--gp-primary-light);
  color: var(--gp-primary-dark);
}
.trial-badge.trial-badge-success {
  background: var(--gp-verde-bg);
  color: var(--gp-verde-txt);
}
.login-logo {
  font-size: 2.6rem;
  color: var(--gp-primary);
  line-height: 1;
  margin-bottom: .5rem;
}

/* Busca com autocomplete */
.ac-wrap { position: relative; }
.ac-list {
  position: absolute;
  z-index: 1050;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 280px;
  overflow-y: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(16, 36, 80, 0.15);
  border: 1px solid var(--gp-linha);
}

/* Page header */
.page-header {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.page-header h1 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gp-ink);
}

/* Barra de Acesso Assistido / Suporte */
.suporte-modo-bar {
  background: linear-gradient(90deg, #991b1b 0%, #dc2626 100%);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1070;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.app-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* Sidebar */
.app-sidebar {
  width: 270px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #061636 0%, #0b1b33 100%);
  color: #b9c6d8;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 1040;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.25s cubic-bezier(.16, 1, .3, 1), margin-left 0.25s cubic-bezier(.16, 1, .3, 1), width 0.25s ease;
}

@media (min-width: 992px) {
  body.sidebar-collapsed .app-sidebar {
    margin-left: -270px;
  }
}

.sidebar-header {
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.sidebar-brand:hover {
  color: #ffffff;
}
.sidebar-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.15rem;
  box-shadow: 0 4px 10px rgba(21, 112, 239, 0.4);
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 0 1.5rem;
}
.sidebar-nav::-webkit-scrollbar {
  width: 5px;
}
.sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}
.sidebar-nav::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

.sidebar-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  padding: 1.15rem 1.25rem 0.35rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  padding: 0.52rem 0.85rem;
  margin: 2px 10px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #b9c6d8;
  text-decoration: none;
  transition: all 0.15s ease;
  position: relative;
  background: transparent;
  border: none;
  width: calc(100% - 20px);
  text-align: left;
}
.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.sidebar-link.active {
  background: rgba(21, 112, 239, 0.22);
  color: #ffffff;
}
.sidebar-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3.5px;
  background: #1570ef;
  border-radius: 0 4px 4px 0;
}
.sidebar-icon {
  font-size: 1.15rem;
  width: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.65rem;
  color: #8a97ab;
  transition: color 0.15s ease;
}
.sidebar-link:hover .sidebar-icon,
.sidebar-link.active .sidebar-icon {
  color: #1570ef;
}

/* Submenu dropdown/collapse */
.sidebar-toggle-arrow {
  margin-left: auto;
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}
.sidebar-link[aria-expanded="true"] .sidebar-toggle-arrow {
  transform: rotate(90deg);
}
.sidebar-submenu {
  padding: 0.15rem 0 0.15rem 0.5rem;
}
.sidebar-submenu .sidebar-link {
  font-size: 0.825rem;
  font-weight: 500;
  padding: 0.42rem 0.75rem;
  margin: 1px 10px;
  color: #94a3b8;
}
.sidebar-submenu .sidebar-link:hover {
  color: #ffffff;
}
.sidebar-submenu .sidebar-link.active {
  color: #ffffff;
  font-weight: 600;
}
.sidebar-submenu .sidebar-link .sidebar-icon {
  font-size: 0.95rem;
  width: 20px;
  margin-right: 0.45rem;
}

/* Sidebar Footer (User Profile) */
.sidebar-footer {
  padding: 0.85rem 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.sidebar-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gp-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Topbar */
.app-topbar {
  height: 64px;
  background: #ffffff;
  border-bottom: 1px solid var(--gp-linha);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: 0 1px 3px rgba(16, 36, 80, 0.03);
}
.btn-sidebar-toggle {
  background: transparent;
  border: 1px solid var(--gp-linha);
  color: var(--gp-ink2);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.15s ease;
}
.btn-sidebar-toggle:hover {
  background: #f1f5f9;
  color: var(--gp-ink);
}

.topbar-unidade-select {
  min-width: 200px;
  max-width: 280px;
  font-size: 0.85rem;
  border-radius: 10px;
  font-weight: 500;
  background-color: #f8fafc;
}

/* App Content Area */
.app-content-wrapper {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--gp-bg);
}
.app-main-container {
  flex: 1;
  padding: 1.5rem 1.75rem 2.5rem;
  max-width: 1680px;
  width: 100%;
  margin: 0 auto;
}

/* Backdrop Mobile */
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 22, 54, 0.6);
  backdrop-filter: blur(3px);
  z-index: 1035;
}

@media (max-width: 991.98px) {
  .app-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    transform: translateX(-100%);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.3);
  }
  .app-sidebar.show {
    transform: translateX(0);
  }
  .sidebar-backdrop.show {
    display: block;
  }
  .app-main-container {
    padding: 1rem 1rem 2rem;
  }
}

/* ==========================================================================
   Formulários Modernos e Seções Temáticas (Etapa 3)
   ========================================================================== */

.form-card {
  border-radius: 16px;
  border: 1px solid var(--gp-linha);
  box-shadow: 0 1px 3px rgba(16, 36, 80, 0.03), 0 4px 12px -2px rgba(16, 36, 80, 0.03);
  background: #ffffff;
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-card:hover {
  border-color: #cbd5e1;
}

.form-card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--gp-linha);
  background: #fbfcfe;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-card-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gp-primary-light);
  color: var(--gp-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.form-card-icon.icon-danger {
  background: var(--gp-vermelho-bg);
  color: var(--gp-vermelho);
}

.form-card-icon.icon-warning {
  background: var(--gp-ambar-bg);
  color: var(--gp-ambar-txt);
}

.form-card-icon.icon-success {
  background: var(--gp-verde-bg);
  color: var(--gp-verde-txt);
}

.form-card-icon.icon-teal {
  background: var(--gp-teal-bg);
  color: var(--gp-teal-txt);
}

.form-card-icon.icon-purple {
  background: var(--gp-purple-bg);
  color: var(--gp-purple);
}

.form-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gp-ink);
  margin-bottom: 0.1rem;
}

.form-card-subtitle {
  font-size: 0.8rem;
  color: var(--gp-ink2);
  margin: 0;
}

.form-card-body {
  padding: 1.25rem;
}

/* Rótulos e inputs dos formulários */
.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gp-ink2);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.form-control, .form-select {
  border-radius: 10px;
  border-color: var(--gp-linha);
  padding: 0.5rem 0.8rem;
  font-size: 0.9rem;
  color: var(--gp-ink);
  font-weight: 500;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--gp-primary);
  box-shadow: 0 0 0 3px rgba(21, 112, 239, 0.15);
}

.form-control::placeholder {
  color: #94a3b8;
  font-size: 0.85rem;
}

.form-control:disabled, .form-control[readonly], .form-select:disabled {
  background-color: #f8fafc;
  border-color: #e2e8f0;
  color: var(--gp-ink2);
  opacity: 0.85;
  cursor: not-allowed;
}

.form-text {
  font-size: 0.775rem;
  color: var(--gp-ink3);
  margin-top: 0.3rem;
}

/* Barra de ação inferior (Sticky) */
.form-action-bar {
  position: sticky;
  bottom: 1rem;
  z-index: 1010;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--gp-linha);
  border-radius: 14px;
  padding: 0.85rem 1.25rem;
  box-shadow: 0 4px 20px -2px rgba(16, 36, 80, 0.08), 0 2px 6px -1px rgba(16, 36, 80, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.enter-dica {
  font-size: 0.8rem;
  color: var(--gp-ink3);
}

.enter-dica kbd {
  background: #f1f5f9;
  color: var(--gp-ink2);
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  padding: 0.15rem 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 1px 1px rgba(0,0,0,0.06);
}


