/* ══════════════════════════════════════════
   Tipos de Lançamento — CSS
══════════════════════════════════════════ */

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.cat-list { display: flex; flex-direction: column; gap: 8px; }

.cat-row {
  background: #fff;
  border: 1.5px solid #E8F5E9;
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: opacity .2s;
}
.cat-row.inativo { opacity: .55; }

.cat-nome { font-size: 15px; font-weight: 500; color: #1a3320; }
.cat-actions { display: flex; align-items: center; gap: 10px; }

.badge-ativo {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}
.badge-ativo.ativo   { background: #E8F5E9; color: #2D7A3A; }
.badge-ativo.inativo { background: #f5f5f5; color: #999; }

.btn-icon { background: none; border: none; cursor: pointer; font-size: 16px; padding: 4px; }

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #999;
  font-size: 14px;
  background: #fff;
  border-radius: 12px;
  border: 1.5px dashed #ddd;
}

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px); background: #323232; color: #fff; padding: 12px 24px; border-radius: 24px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; z-index: 9999; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { background: #c62828; }
