/* ==================== 4. CONTEÚDO PRINCIPAL ==================== */
.main-content {
  flex: 1;
  padding: 24px 32px;
  overflow-y: auto;
  /* Apenas o conteúdo rola, o menu fica fixo */
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  /* Impede que o conteúdo estoure a tela */
}

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

.header-left {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.page-title {
  font-size: 32px;
  font-weight: 800;
  margin: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-action-top {
  background: transparent;
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--txt);
  transition: 0.2s;
  padding: 0;
}

.btn-action-top:hover {
  background: var(--card-hover);
}

.btn-nova-transacao {
  background: var(--accent);
  color: #fff;
  padding: 10px 24px;
  border-radius: 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto;
  font-family: var(--font-body);
  border: none;
}
